Struct esp32::i2c0::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 - The raw interrupt status bit for rxfifo full when use apb fifo access.

source

pub fn txfifo_empty_int_raw(&self) -> TXFIFO_EMPTY_INT_RAW_R

Bit 1 - The raw interrupt status bit for txfifo empty when use apb fifo access.

source

pub fn rxfifo_ovf_int_raw(&self) -> RXFIFO_OVF_INT_RAW_R

Bit 2 - The raw interrupt status bit for receiving data overflow when use apb fifo access.

source

pub fn end_detect_int_raw(&self) -> END_DETECT_INT_RAW_R

Bit 3 - The raw interrupt status bit for end_detect_int interrupt. when I2C deals with the END command it will produce end_detect_int interrupt.

source

pub fn slave_tran_comp_int_raw(&self) -> SLAVE_TRAN_COMP_INT_RAW_R

Bit 4 - The raw interrupt status bit for slave_tran_comp_int interrupt. when I2C Slave detectsthe STOP bit it will produce slave_tran_comp_int interrupt.

source

pub fn arbitration_lost_int_raw(&self) -> ARBITRATION_LOST_INT_RAW_R

Bit 5 - The raw interrupt status bit for arbitration_lost_int interrupt.when I2C lost the usage right of I2C BUS it will produce arbitration_lost_int interrupt.

source

pub fn master_tran_comp_int_raw(&self) -> MASTER_TRAN_COMP_INT_RAW_R

Bit 6 - The raw interrupt status bit for master_tra_comp_int interrupt. when I2C Master sends or receives a byte it will produce master_tran_comp_int interrupt.

source

pub fn trans_complete_int_raw(&self) -> TRANS_COMPLETE_INT_RAW_R

Bit 7 - The raw interrupt status bit for trans_complete_int interrupt. when I2C Master finished STOP command it will produce trans_complete_int interrupt.

source

pub fn time_out_int_raw(&self) -> TIME_OUT_INT_RAW_R

Bit 8 - The raw interrupt status bit for time_out_int interrupt. when I2C takes a lot of time to receive a data it will produce time_out_int interrupt.

source

pub fn trans_start_int_raw(&self) -> TRANS_START_INT_RAW_R

Bit 9 - The raw interrupt status bit for trans_start_int interrupt. when I2C sends the START bit it will produce trans_start_int interrupt.

source

pub fn ack_err_int_raw(&self) -> ACK_ERR_INT_RAW_R

Bit 10 - The raw interrupt status bit for ack_err_int interrupt. when I2C receives a wrong ACK bit it will produce ack_err_int interrupt..

source

pub fn rx_rec_full_int_raw(&self) -> RX_REC_FULL_INT_RAW_R

Bit 11 - The raw interrupt status bit for rx_rec_full_int interrupt. when I2C receives more data than nonfifo_rx_thres it will produce rx_rec_full_int interrupt.

source

pub fn tx_send_empty_int_raw(&self) -> TX_SEND_EMPTY_INT_RAW_R

Bit 12 - The raw interrupt status bit for tx_send_empty_int interrupt.when I2C sends more data than nonfifo_tx_thres it will produce tx_send_empty_int interrupt..

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.