drivers: serial: stm32 restore uart after lowpower
This adds a function to control the uart device during lowpower modes Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
parent
930df38e23
commit
3c18bcbf77
2 changed files with 68 additions and 1 deletions
|
@ -69,6 +69,9 @@ struct uart_stm32_data {
|
|||
uint8_t *rx_next_buffer;
|
||||
size_t rx_next_buffer_len;
|
||||
#endif
|
||||
#ifdef CONFIG_PM_DEVICE
|
||||
uint32_t pm_state;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* ZEPHYR_DRIVERS_SERIAL_UART_STM32_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue