Struct esp32c3_hal::pac::twai::int_ena::R
pub struct R(_);
Expand description
Register INT_ENA
reader
Implementations
impl R
impl R
pub fn rx_int_ena(&self) -> BitReaderRaw<bool>
pub fn rx_int_ena(&self) -> BitReaderRaw<bool>
Bit 0 - Set this bit to 1 to enable receive interrupt.
pub fn tx_int_ena(&self) -> BitReaderRaw<bool>
pub fn tx_int_ena(&self) -> BitReaderRaw<bool>
Bit 1 - Set this bit to 1 to enable transmit interrupt.
pub fn err_warn_int_ena(&self) -> BitReaderRaw<bool>
pub fn err_warn_int_ena(&self) -> BitReaderRaw<bool>
Bit 2 - Set this bit to 1 to enable error warning interrupt.
pub fn overrun_int_ena(&self) -> BitReaderRaw<bool>
pub fn overrun_int_ena(&self) -> BitReaderRaw<bool>
Bit 3 - Set this bit to 1 to enable data overrun interrupt.
pub fn err_passive_int_ena(&self) -> BitReaderRaw<bool>
pub fn err_passive_int_ena(&self) -> BitReaderRaw<bool>
Bit 5 - Set this bit to 1 to enable error passive interrupt.
pub fn arb_lost_int_ena(&self) -> BitReaderRaw<bool>
pub fn arb_lost_int_ena(&self) -> BitReaderRaw<bool>
Bit 6 - Set this bit to 1 to enable arbitration lost interrupt.
pub fn bus_err_int_ena(&self) -> BitReaderRaw<bool>
pub fn bus_err_int_ena(&self) -> BitReaderRaw<bool>
Bit 7 - Set this bit to 1 to enable error interrupt.
Methods from Deref<Target = R<INT_ENA_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<INT_ENA_SPEC>> for R
impl From<R<INT_ENA_SPEC>> for R
fn from(reader: R<INT_ENA_SPEC>) -> R
fn from(reader: R<INT_ENA_SPEC>) -> R
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