Home
last modified time | relevance | path

Searched refs:BATTERY_MIN_LEVEL (Results 1 – 7 of 7) sorted by relevance

/loramac-node-latest/src/boards/SKiM881AXL/
Dboard.c254 #define BATTERY_MIN_LEVEL 2400 // mV macro
296 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
298 …batteryLevel = ( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_… in BoardGetBatteryLevel()
300 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()
/loramac-node-latest/src/boards/SKiM980A/
Dboard.c262 #define BATTERY_MIN_LEVEL 2400 // mV macro
304 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
306 …batteryLevel = ( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_… in BoardGetBatteryLevel()
308 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()
/loramac-node-latest/src/boards/NucleoL073/
Dboard.c261 #define BATTERY_MIN_LEVEL 2400 // mV macro
310 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
313 …( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_MIN_LEVEL ) ) +… in BoardGetBatteryLevel()
315 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()
/loramac-node-latest/src/boards/NucleoL152/
Dboard.c261 #define BATTERY_MIN_LEVEL 2400 // mV macro
310 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
313 …( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_MIN_LEVEL ) ) +… in BoardGetBatteryLevel()
315 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()
/loramac-node-latest/src/boards/SKiM880B/
Dboard.c262 #define BATTERY_MIN_LEVEL 2400 // mV macro
304 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
306 …batteryLevel = ( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_… in BoardGetBatteryLevel()
308 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()
/loramac-node-latest/src/boards/NAMote72/
Dboard.c283 #define BATTERY_MIN_LEVEL 1900 // mV macro
338 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
340 …batteryLevel = ( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_… in BoardGetBatteryLevel()
342 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()
/loramac-node-latest/src/boards/NucleoL476/
Dboard.c268 #define BATTERY_MIN_LEVEL 2400 // mV macro
317 else if( ( BatteryVoltage > BATTERY_MIN_LEVEL ) && ( BatteryVoltage < BATTERY_MAX_LEVEL ) ) in BoardGetBatteryLevel()
320 …( ( 253 * ( BatteryVoltage - BATTERY_MIN_LEVEL ) ) / ( BATTERY_MAX_LEVEL - BATTERY_MIN_LEVEL ) ) +… in BoardGetBatteryLevel()
322 … else if( ( BatteryVoltage > BATTERY_SHUTDOWN_LEVEL ) && ( BatteryVoltage <= BATTERY_MIN_LEVEL ) ) in BoardGetBatteryLevel()