Struct esp32s2::uart0::int_ena::R

source ·
pub struct R(_);
Expand description

Register INT_ENA reader

Implementations§

source§

impl R

source

pub fn rxfifo_full_int_ena(&self) -> RXFIFO_FULL_INT_ENA_R

Bit 0 - This is the enable bit for UART_RXFIFO_FULL_INT.

source

pub fn txfifo_empty_int_ena(&self) -> TXFIFO_EMPTY_INT_ENA_R

Bit 1 - This is the enable bit for UART_TXFIFO_EMPTY_INT.

source

pub fn parity_err_int_ena(&self) -> PARITY_ERR_INT_ENA_R

Bit 2 - This is the enable bit for UART_PARITY_ERR_INT.

source

pub fn frm_err_int_ena(&self) -> FRM_ERR_INT_ENA_R

Bit 3 - This is the enable bit for UART_FRM_ERR_INT.

source

pub fn rxfifo_ovf_int_ena(&self) -> RXFIFO_OVF_INT_ENA_R

Bit 4 - This is the enable bit for UART_RXFIFO_OVF_INT.

source

pub fn dsr_chg_int_ena(&self) -> DSR_CHG_INT_ENA_R

Bit 5 - This is the enable bit for UART_DSR_CHG_INT.

source

pub fn cts_chg_int_ena(&self) -> CTS_CHG_INT_ENA_R

Bit 6 - This is the enable bit for UART_CTS_CHG_INT.

source

pub fn brk_det_int_ena(&self) -> BRK_DET_INT_ENA_R

Bit 7 - This is the enable bit for UART_BRK_DET_INT.

source

pub fn rxfifo_tout_int_ena(&self) -> RXFIFO_TOUT_INT_ENA_R

Bit 8 - This is the enable bit for UART_RXFIFO_TOUT_INT.

source

pub fn sw_xon_int_ena(&self) -> SW_XON_INT_ENA_R

Bit 9 - This is the enable bit for UART_SW_XON_INT.

source

pub fn sw_xoff_int_ena(&self) -> SW_XOFF_INT_ENA_R

Bit 10 - This is the enable bit for UART_SW_XOFF_INT.

source

pub fn glitch_det_int_ena(&self) -> GLITCH_DET_INT_ENA_R

Bit 11 - This is the enable bit for UART_GLITCH_DET_INT.

source

pub fn tx_brk_done_int_ena(&self) -> TX_BRK_DONE_INT_ENA_R

Bit 12 - This is the enable bit for UART_TX_BRK_DONE_INT.

source

pub fn tx_brk_idle_done_int_ena(&self) -> TX_BRK_IDLE_DONE_INT_ENA_R

Bit 13 - This is the enable bit for UART_TX_BRK_IDLE_DONE_INT.

source

pub fn tx_done_int_ena(&self) -> TX_DONE_INT_ENA_R

Bit 14 - This is the enable bit for UART_TX_DONE_INT.

source

pub fn rs485_parity_err_int_ena(&self) -> RS485_PARITY_ERR_INT_ENA_R

Bit 15 - This is the enable bit for UART_RS485_PARITY_ERR_INT.

source

pub fn rs485_frm_err_int_ena(&self) -> RS485_FRM_ERR_INT_ENA_R

Bit 16 - This is the enable bit for UART_RS485_PARITY_ERR_INT.

source

pub fn rs485_clash_int_ena(&self) -> RS485_CLASH_INT_ENA_R

Bit 17 - This is the enable bit for UART_RS485_CLASH_INT.

source

pub fn at_cmd_char_det_int_ena(&self) -> AT_CMD_CHAR_DET_INT_ENA_R

Bit 18 - This is the enable bit for UART_AT_CMD_CHAR_DET_INT.

source

pub fn wakeup_int_ena(&self) -> WAKEUP_INT_ENA_R

Bit 19 - This is the enable bit for UART_WAKEUP_INT.

Methods from Deref<Target = R<INT_ENA_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<INT_ENA_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<INT_ENA_SPEC>> for R

source§

fn from(reader: R<INT_ENA_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.