|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
Wake source descriptor. More...
#include <pm.h>
Data Fields | ||
| ove_pm_wake_type_t | type | |
| union { | ||
| struct { | ||
| unsigned int port | ||
| unsigned int pin | ||
| ove_gpio_irq_mode_t edge | ||
| } gpio | ||
| struct { | ||
| uint32_t timeout_ms | ||
| } timer | ||
| struct { | ||
| unsigned int instance | ||
| } uart | ||
| struct { | ||
| uint32_t alarm_ms | ||
| } rtc | ||
| }; | ||
Wake source descriptor.
| ove_pm_wake_type_t ove_pm_wake_src::type |
Type of wake source.
| struct { ... } ove_pm_wake_src::gpio |
GPIO wake config.
| struct { ... } ove_pm_wake_src::timer |
Timer wake config.
| struct { ... } ove_pm_wake_src::uart |
UART wake config.
| struct { ... } ove_pm_wake_src::rtc |
RTC wake config.