Type Alias esp32c3::twai0::int_ena::R

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

Register INT_ENA reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn rx_int_ena(&self) -> RX_INT_ENA_R

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

source

pub fn tx_int_ena(&self) -> TX_INT_ENA_R

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

source

pub fn err_warn_int_ena(&self) -> ERR_WARN_INT_ENA_R

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

source

pub fn overrun_int_ena(&self) -> OVERRUN_INT_ENA_R

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

source

pub fn err_passive_int_ena(&self) -> ERR_PASSIVE_INT_ENA_R

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

source

pub fn arb_lost_int_ena(&self) -> ARB_LOST_INT_ENA_R

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

source

pub fn bus_err_int_ena(&self) -> BUS_ERR_INT_ENA_R

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