2 * Copyright (C) 2015 Czech Technical University in Prague
5 * - Michal Sojka <sojkam1@fel.cvut.cz>
7 * This document contains proprietary information belonging to Czech
8 * Technical University in Prague. Passing on and copying of this
9 * document, and communication of its contents is not permitted
10 * without prior written authorization.
14 #ifndef _TMS570_RPP_PORT_DEF_H
15 #define _TMS570_RPP_PORT_DEF_H
40 #define PORT_ADC_CHANNELS 12
42 static double port_adc_lsb2volts(uint16_t lsb)
44 return ((double)lsb + 0.0)*2.5/4095*10;
47 #endif /* ifndef _TMS570_RPP_PORT_DEF_H */