Struct esp32::uart0::int_raw::R

source ·
pub struct R(_);
Expand description

Register INT_RAW reader

Implementations§

source§

impl R

source

pub fn rxfifo_full_int_raw(&self) -> RXFIFO_FULL_INT_RAW_R

Bit 0 - This interrupt raw bit turns to high level when receiver receives more data than (rx_flow_thrhd_h3 rx_flow_thrhd).

source

pub fn txfifo_empty_int_raw(&self) -> TXFIFO_EMPTY_INT_RAW_R

Bit 1 - This interrupt raw bit turns to high level when the amount of data in transmitter’s fifo is less than ((tx_mem_cnttxfifo_cnt) .

source

pub fn parity_err_int_raw(&self) -> PARITY_ERR_INT_RAW_R

Bit 2 - This interrupt raw bit turns to high level when receiver detects the parity error of data.

source

pub fn frm_err_int_raw(&self) -> FRM_ERR_INT_RAW_R

Bit 3 - This interrupt raw bit turns to high level when receiver detects data’s frame error .

source

pub fn rxfifo_ovf_int_raw(&self) -> RXFIFO_OVF_INT_RAW_R

Bit 4 - This interrupt raw bit turns to high level when receiver receives more data than the fifo can store.

source

pub fn dsr_chg_int_raw(&self) -> DSR_CHG_INT_RAW_R

Bit 5 - This interrupt raw bit turns to high level when receiver detects the edge change of dsrn signal.

source

pub fn cts_chg_int_raw(&self) -> CTS_CHG_INT_RAW_R

Bit 6 - This interrupt raw bit turns to high level when receiver detects the edge change of ctsn signal.

source

pub fn brk_det_int_raw(&self) -> BRK_DET_INT_RAW_R

Bit 7 - This interrupt raw bit turns to high level when receiver detects the 0 after the stop bit.

source

pub fn rxfifo_tout_int_raw(&self) -> RXFIFO_TOUT_INT_RAW_R

Bit 8 - This interrupt raw bit turns to high level when receiver takes more time than rx_tout_thrhd to receive a byte.

source

pub fn sw_xon_int_raw(&self) -> SW_XON_INT_RAW_R

Bit 9 - This interrupt raw bit turns to high level when receiver receives xoff char with uart_sw_flow_con_en is set to 1.

source

pub fn sw_xoff_int_raw(&self) -> SW_XOFF_INT_RAW_R

Bit 10 - This interrupt raw bit turns to high level when receiver receives xon char with uart_sw_flow_con_en is set to 1.

source

pub fn glitch_det_int_raw(&self) -> GLITCH_DET_INT_RAW_R

Bit 11 - This interrupt raw bit turns to high level when receiver detects the start bit.

source

pub fn tx_brk_done_int_raw(&self) -> TX_BRK_DONE_INT_RAW_R

Bit 12 - This interrupt raw bit turns to high level when transmitter completes sendding 0 after all the datas in transmitter’s fifo are send.

source

pub fn tx_brk_idle_done_int_raw(&self) -> TX_BRK_IDLE_DONE_INT_RAW_R

Bit 13 - This interrupt raw bit turns to high level when transmitter has kept the shortest duration after the last data has been send.

source

pub fn tx_done_int_raw(&self) -> TX_DONE_INT_RAW_R

Bit 14 - This interrupt raw bit turns to high level when transmitter has send all the data in fifo.

source

pub fn rs485_parity_err_int_raw(&self) -> RS485_PARITY_ERR_INT_RAW_R

Bit 15 - This interrupt raw bit turns to high level when rs485 detects the parity error.

source

pub fn rs485_frm_err_int_raw(&self) -> RS485_FRM_ERR_INT_RAW_R

Bit 16 - This interrupt raw bit turns to high level when rs485 detects the data frame error.

source

pub fn rs485_clash_int_raw(&self) -> RS485_CLASH_INT_RAW_R

Bit 17 - This interrupt raw bit turns to high level when rs485 detects the clash between transmitter and receiver.

source

pub fn at_cmd_char_det_int_raw(&self) -> AT_CMD_CHAR_DET_INT_RAW_R

Bit 18 - This interrupt raw bit turns to high level when receiver detects the configured at_cmd chars.

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

source

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

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<INT_RAW_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<INT_RAW_SPEC>> for R

source§

fn from(reader: R<INT_RAW_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,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

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.
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.
source§

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

Performs the conversion.