![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Everything related to power management. More...
Functions | |
| void | configureWakeUp (RTC_GPIO wakeUpPin) |
| Initialize power management. | |
| void | configurePowerLatch (OutputGPIO latchPin, PowerLatchMode mode=PowerLatchMode::POWER_OPEN_DRAIN, uint32_t waitMs=5000) |
| Configure an external latch circuit for power on and off. | |
Everything related to power management.
| void power::configurePowerLatch | ( | OutputGPIO | latchPin, |
| PowerLatchMode | mode = PowerLatchMode::POWER_OPEN_DRAIN, | ||
| uint32_t | waitMs = 5000 ) |
Configure an external latch circuit for power on and off.
| latchPin | Output-capable GPIO that drives power on/off. |
| mode | Expected behaviour of latchPin to keep the power on or shutdown. |
| waitMs | A delay to wait for the shutdown to happen, in milliseconds. |