pub struct W(_);
Expand description
Register INT_ENA
writer
Implementations§
§impl W
impl W
pub fn rx_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 0>
pub fn rx_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 0>
Bit 0 - Set this bit to 1 to enable receive interrupt.
pub fn tx_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 1>
pub fn tx_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 1>
Bit 1 - Set this bit to 1 to enable transmit interrupt.
pub fn err_warn_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
pub fn err_warn_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 2>
Bit 2 - Set this bit to 1 to enable error warning interrupt.
pub fn overrun_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 3>
pub fn overrun_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 3>
Bit 3 - Set this bit to 1 to enable data overrun interrupt.
pub fn err_passive_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 5>
pub fn err_passive_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 5>
Bit 5 - Set this bit to 1 to enable error passive interrupt.
pub fn arb_lost_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 6>
pub fn arb_lost_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 6>
Bit 6 - Set this bit to 1 to enable arbitration lost interrupt.
pub fn bus_err_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 7>
pub fn bus_err_int_ena(
&mut self
) -> BitWriterRaw<'_, u32, INT_ENA_SPEC, bool, BitM, 7>
Bit 7 - Set this bit to 1 to enable error interrupt.
Methods from Deref<Target = W<INT_ENA_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<INT_ENA_SPEC>> for W
impl From<W<INT_ENA_SPEC>> for W
§fn from(writer: W<INT_ENA_SPEC>) -> W
fn from(writer: W<INT_ENA_SPEC>) -> W
Converts to this type from the input type.