pub struct W(_);
Expand description
Register INT_ENA
writer
Implementations
sourceimpl W
impl W
sourcepub fn rx_int_ena(&mut self) -> RX_INT_ENA_W<'_, 0>
pub fn rx_int_ena(&mut self) -> RX_INT_ENA_W<'_, 0>
Bit 0 - Set this bit to 1 to enable receive interrupt.
sourcepub fn tx_int_ena(&mut self) -> TX_INT_ENA_W<'_, 1>
pub fn tx_int_ena(&mut self) -> TX_INT_ENA_W<'_, 1>
Bit 1 - Set this bit to 1 to enable transmit interrupt.
sourcepub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W<'_, 2>
pub fn err_warn_int_ena(&mut self) -> ERR_WARN_INT_ENA_W<'_, 2>
Bit 2 - Set this bit to 1 to enable error warning interrupt.
sourcepub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W<'_, 3>
pub fn overrun_int_ena(&mut self) -> OVERRUN_INT_ENA_W<'_, 3>
Bit 3 - Set this bit to 1 to enable data overrun interrupt.
sourcepub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W<'_, 5>
pub fn err_passive_int_ena(&mut self) -> ERR_PASSIVE_INT_ENA_W<'_, 5>
Bit 5 - Set this bit to 1 to enable error passive interrupt.
sourcepub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W<'_, 6>
pub fn arb_lost_int_ena(&mut self) -> ARB_LOST_INT_ENA_W<'_, 6>
Bit 6 - Set this bit to 1 to enable arbitration lost interrupt.
sourcepub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W<'_, 7>
pub fn bus_err_int_ena(&mut self) -> BUS_ERR_INT_ENA_W<'_, 7>
Bit 7 - Set this bit to 1 to enable error interrupt.
Methods from Deref<Target = W<INT_ENA_SPEC>>
Trait Implementations
sourceimpl From<W<INT_ENA_SPEC>> for W
impl From<W<INT_ENA_SPEC>> for W
sourcefn from(writer: W<INT_ENA_SPEC>) -> Self
fn from(writer: W<INT_ENA_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more