Home
last modified time | relevance | path

Searched refs:vpoti (Results 1 – 3 of 3) sorted by relevance

/loramac-node-latest/src/boards/SKiM881AXL/
Dboard.c208 uint16_t vpoti = 0; in BoardGetPotiLevel() local
211 vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 ); in BoardGetPotiLevel()
214 if( vpoti >= POTI_MAX_LEVEL ) in BoardGetPotiLevel()
218 else if( vpoti <= POTI_MIN_LEVEL ) in BoardGetPotiLevel()
225 potiLevel = ( ( vpoti - POTI_MIN_LEVEL ) * 100 ) / POTI_MAX_LEVEL; in BoardGetPotiLevel()
/loramac-node-latest/src/boards/SKiM980A/
Dboard.c216 uint16_t vpoti = 0; in BoardGetPotiLevel() local
219 vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 ); in BoardGetPotiLevel()
222 if( vpoti >= POTI_MAX_LEVEL ) in BoardGetPotiLevel()
226 else if( vpoti <= POTI_MIN_LEVEL ) in BoardGetPotiLevel()
233 potiLevel = ( ( vpoti - POTI_MIN_LEVEL ) * 100 ) / POTI_MAX_LEVEL; in BoardGetPotiLevel()
/loramac-node-latest/src/boards/SKiM880B/
Dboard.c216 uint16_t vpoti = 0; in BoardGetPotiLevel() local
219 vpoti = AdcReadChannel( &Adc , ADC_CHANNEL_3 ); in BoardGetPotiLevel()
222 if( vpoti >= POTI_MAX_LEVEL ) in BoardGetPotiLevel()
226 else if( vpoti <= POTI_MIN_LEVEL ) in BoardGetPotiLevel()
233 potiLevel = ( ( vpoti - POTI_MIN_LEVEL ) * 100 ) / POTI_MAX_LEVEL; in BoardGetPotiLevel()