void Axp192_SetPressPoweroffTime(Axp192_PoweroffTime_t time)
Sets how long the power button needs to be held to power off all components connected to the AXP192.
Definition: axp192.c:187
Axp192_PoweroffTime_t
List of possible durations the power button must be held to power off the Core2 for AWS IoT EduKit.
Definition: axp192.h:138
Sets how long the power button needs to be held to power off all components connected to the AXP192.
- Note
- The default is POWEROFF_6S (6 seconds).
- Parameters
-
| [in] | time | Desired time to hold the power button to turn off power. |