Type Alias esp32h2::twai0::interrupt_enable::R
source · pub type R = R<INTERRUPT_ENABLE_SPEC>;
Expand description
Register INTERRUPT_ENABLE
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn ext_receive_int_ena(&self) -> EXT_RECEIVE_INT_ENA_R
pub fn ext_receive_int_ena(&self) -> EXT_RECEIVE_INT_ENA_R
Bit 0 - 1: enabled, when the receive buffer status is ‘full’ the TWAI controller requests the respective interrupt. 0: disable
sourcepub fn ext_transmit_int_ena(&self) -> EXT_TRANSMIT_INT_ENA_R
pub fn ext_transmit_int_ena(&self) -> EXT_TRANSMIT_INT_ENA_R
Bit 1 - 1: enabled, when a message has been successfully transmitted or the transmit buffer is accessible again (e.g. after an abort transmission command), the TWAI controller requests the respective interrupt. 0: disable
sourcepub fn ext_err_warning_int_ena(&self) -> EXT_ERR_WARNING_INT_ENA_R
pub fn ext_err_warning_int_ena(&self) -> EXT_ERR_WARNING_INT_ENA_R
Bit 2 - 1: enabled, if the error or bus status change (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable
sourcepub fn ext_data_overrun_int_ena(&self) -> EXT_DATA_OVERRUN_INT_ENA_R
pub fn ext_data_overrun_int_ena(&self) -> EXT_DATA_OVERRUN_INT_ENA_R
Bit 3 - 1: enabled, if the data overrun status bit is set (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable
sourcepub fn err_passive_int_ena(&self) -> ERR_PASSIVE_INT_ENA_R
pub fn err_passive_int_ena(&self) -> ERR_PASSIVE_INT_ENA_R
Bit 5 - 1: enabled, if the error status of the TWAI controller changes from error active to error passive or vice versa, the respective interrupt is requested. 0: disable
sourcepub fn arbitration_lost_int_ena(&self) -> ARBITRATION_LOST_INT_ENA_R
pub fn arbitration_lost_int_ena(&self) -> ARBITRATION_LOST_INT_ENA_R
Bit 6 - 1: enabled, if the TWAI controller has lost arbitration, the respective interrupt is requested. 0: disable
sourcepub fn bus_err_int_ena(&self) -> BUS_ERR_INT_ENA_R
pub fn bus_err_int_ena(&self) -> BUS_ERR_INT_ENA_R
Bit 7 - 1: enabled, if an bus error has been detected, the TWAI controller requests the respective interrupt. 0: disable
sourcepub fn idle_int_ena(&self) -> IDLE_INT_ENA_R
pub fn idle_int_ena(&self) -> IDLE_INT_ENA_R
Bit 8 - 1: enabled, if state of TWAI become IDLE, the TWAI controller requests the respective interrupt. 0: disable