pub struct Uart1WakeupSource { /* private fields */ }
unstable
only.Expand description
UART1 wakeup source
The chip can be woken up by reverting RXD for multiple cycles until the number of rising edges is equal to or greater than the given value.
Note that the character which triggers wakeup (and any characters before it) will not be received by the UART after wakeup. This means that the external device typically needs to send an extra character to trigger wakeup before sending the data.
After waking-up from UART, you should send some extra data through the UART port in Active mode, so that the internal wakeup indication signal can be cleared. Otherwise, the next UART wake-up would trigger with two less rising edges than the configured threshold value.
Wakeup from light sleep takes some time, so not every character sent to the UART can be received by the application.
This wakeup source can be used to wake up from light sleep only.