Type Alias esp32c3::twai0::cmd::W

source ·
pub type W = W<CMD_SPEC>;
Expand description

Register CMD writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn tx_req(&mut self) -> TX_REQ_W<'_, CMD_SPEC>

Bit 0 - Set the bit to 1 to allow the driving nodes start transmission.

source

pub fn abort_tx(&mut self) -> ABORT_TX_W<'_, CMD_SPEC>

Bit 1 - Set the bit to 1 to cancel a pending transmission request.

source

pub fn release_buf(&mut self) -> RELEASE_BUF_W<'_, CMD_SPEC>

Bit 2 - Set the bit to 1 to release the RX buffer.

source

pub fn clr_overrun(&mut self) -> CLR_OVERRUN_W<'_, CMD_SPEC>

Bit 3 - Set the bit to 1 to clear the data overrun status bit.

source

pub fn self_rx_req(&mut self) -> SELF_RX_REQ_W<'_, CMD_SPEC>

Bit 4 - Self reception request command. Set the bit to 1 to allow a message be transmitted and received simultaneously.