mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(driver_twai): new driver sleep retention support
This commit is contained in:
@@ -35,6 +35,7 @@ typedef struct {
|
||||
uint32_t enable_loopback: 1; /**< The TWAI controller receive back frames what it send out */
|
||||
uint32_t enable_listen_only: 1; /**< The TWAI controller will not influence the bus (No transmissions or acknowledgments) but can receive messages */
|
||||
uint32_t no_receive_rtr: 1; /**< Don't receive remote frames */
|
||||
uint32_t sleep_allow_pd: 1; /**< Allow power down during sleep to save power, driver will backup/restore the TWAI registers to guarantee the peripheral features. */
|
||||
} flags; /**< Misc configuration flags */
|
||||
} twai_onchip_node_config_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user