Module esp32_hal::pac::twai::mode

Expand description

Mode Register

Structs

Mode Register
Register MODE reader
Register MODE writer

Type Definitions

Field LISTEN_ONLY_MODE reader - 1: Listen only mode. In this mode the nodes will only receive messages from the bus, without generating the acknowledge signal nor updating the RX error counter.
Field LISTEN_ONLY_MODE writer - 1: Listen only mode. In this mode the nodes will only receive messages from the bus, without generating the acknowledge signal nor updating the RX error counter.
Field RESET_MODE reader - This bit is used to configure the operating mode of the TWAI Controller. 1: Reset mode; 0: Operating mode.
Field RESET_MODE writer - This bit is used to configure the operating mode of the TWAI Controller. 1: Reset mode; 0: Operating mode.
Field RX_FILTER_MODE reader - This bit is used to configure the filter mode. 0: Dual filter mode; 1: Single filter mode.
Field RX_FILTER_MODE writer - This bit is used to configure the filter mode. 0: Dual filter mode; 1: Single filter mode.
Field SELF_TEST_MODE reader - 1: Self test mode. In this mode the TX nodes can perform a successful transmission without receiving the acknowledge signal. This mode is often used to test a single node with the self reception request command.
Field SELF_TEST_MODE writer - 1: Self test mode. In this mode the TX nodes can perform a successful transmission without receiving the acknowledge signal. This mode is often used to test a single node with the self reception request command.