Type Alias W

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

Register INT_ENA writer

Aliased Type§

pub 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 brp_div(&mut self) -> BRP_DIV_W<'_, INT_ENA_SPEC>

Bit 4 - THIS IS NOT AN INTERRUPT. brp_div will prescale BRP by 2. Only available on ESP32 Revision 2 or later. Reserved otherwise

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.