Type Alias esp32c3::twai0::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rx_int_ena(&mut self) -> RX_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 0 - Set this bit to 1 to enable receive interrupt.

source

pub fn tx_int_ena(&mut self) -> TX_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 1 - Set this bit to 1 to enable transmit interrupt.

source

pub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 2 - Set this bit to 1 to enable error warning interrupt.

source

pub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 3 - Set this bit to 1 to enable data overrun interrupt.

source

pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 5 - Set this bit to 1 to enable error passive interrupt.

source

pub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 6 - Set this bit to 1 to enable arbitration lost interrupt.

source

pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W<'_, INT_ENA_SPEC>

Bit 7 - Set this bit to 1 to enable error interrupt.