Type Alias W

Source
pub type W = W<INTERRUPT_ENABLE_SPEC>;
Expand description

Register INTERRUPT_ENABLE writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn ext_receive_int_ena( &mut self, ) -> EXT_RECEIVE_INT_ENA_W<'_, INTERRUPT_ENABLE_SPEC>

Bit 0 - 1: enabled, when the receive buffer status is ‘full’ the TWAI controller requests the respective interrupt. 0: disable

Source

pub fn ext_transmit_int_ena( &mut self, ) -> EXT_TRANSMIT_INT_ENA_W<'_, INTERRUPT_ENABLE_SPEC>

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

Source

pub fn ext_err_warning_int_ena( &mut self, ) -> EXT_ERR_WARNING_INT_ENA_W<'_, INTERRUPT_ENABLE_SPEC>

Bit 2 - 1: enabled, if the error or bus status change (see status register. Table 14), the TWAI controllerrequests the respective interrupt. 0: disable

Source

pub fn ext_data_overrun_int_ena( &mut self, ) -> EXT_DATA_OVERRUN_INT_ENA_W<'_, INTERRUPT_ENABLE_SPEC>

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

Source

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

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

Source

pub fn arbitration_lost_int_ena( &mut self, ) -> ARBITRATION_LOST_INT_ENA_W<'_, INTERRUPT_ENABLE_SPEC>

Bit 6 - 1: enabled, if the TWAI controller has lost arbitration, the respective interrupt is requested. 0: disable

Source

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

Bit 7 - 1: enabled, if an bus error has been detected, the TWAI controller requests the respective interrupt. 0: disable