trikRuntime
|
Performs platform-specific querying of current low power threshold that must be set as boot option. More...
#include <powerLevel.h>
Public Types | |
enum | Level { Level::sixVolt, Level::twelveVolt } |
Contains values indicating settings for power threshold. More... | |
Static Public Member Functions | |
static Level | currentLevel () |
Retuns currently selected voltage threshold level by querying GPIO pin 56. More... | |
Performs platform-specific querying of current low power threshold that must be set as boot option.
|
strong |
Contains values indicating settings for power threshold.
Default value for TRIK is 'twentyVolt' meaning that board will automatically switch off when power voltage is lower than 10V (or 9V on older boards).
Enumerator | |
---|---|
sixVolt |
Voltage settings for 6V scheme (used by VEX motors and other strange peripherals). Voltage settings for 12V scheme (default). |
twelveVolt |
|
static |
Retuns currently selected voltage threshold level by querying GPIO pin 56.