Struct esp32::uhci0::int_raw::R

source ·
pub struct R(_);
Expand description

Register INT_RAW reader

Implementations§

source§

impl R

source

pub fn rx_start_int_raw(&self) -> RX_START_INT_RAW_R

Bit 0 - when a separator char has been send it will produce uhci_rx_start_int interrupt.

source

pub fn tx_start_int_raw(&self) -> TX_START_INT_RAW_R

Bit 1 - when DMA detects a separator char it will produce uhci_tx_start_int interrupt.

source

pub fn rx_hung_int_raw(&self) -> RX_HUNG_INT_RAW_R

Bit 2 - when DMA takes a lot of time to receive a data it will produce uhci_rx_hung_int interrupt.

source

pub fn tx_hung_int_raw(&self) -> TX_HUNG_INT_RAW_R

Bit 3 - when DMA takes a lot of time to read a data from RAM it will produce uhci_tx_hung_int interrupt.

source

pub fn in_done_int_raw(&self) -> IN_DONE_INT_RAW_R

Bit 4 - when a in link descriptor has been completed it will produce uhci_in_done_int interrupt.

source

pub fn in_suc_eof_int_raw(&self) -> IN_SUC_EOF_INT_RAW_R

Bit 5 - when a data packet has been received it will produce uhci_in_suc_eof_int interrupt.

source

pub fn in_err_eof_int_raw(&self) -> IN_ERR_EOF_INT_RAW_R

Bit 6 - when there are some errors about eof in in link descriptor it will produce uhci_in_err_eof_int interrupt.

source

pub fn out_done_int_raw(&self) -> OUT_DONE_INT_RAW_R

Bit 7 - when a out link descriptor is completed it will produce uhci_out_done_int interrupt.

source

pub fn out_eof_int_raw(&self) -> OUT_EOF_INT_RAW_R

Bit 8 - when the current descriptor’s eof bit is 1 it will produce uhci_out_eof_int interrupt.

source

pub fn in_dscr_err_int_raw(&self) -> IN_DSCR_ERR_INT_RAW_R

Bit 9 - when there are some errors about the out link descriptor it will produce uhci_in_dscr_err_int interrupt.

source

pub fn out_dscr_err_int_raw(&self) -> OUT_DSCR_ERR_INT_RAW_R

Bit 10 - when there are some errors about the in link descriptor it will produce uhci_out_dscr_err_int interrupt.

source

pub fn in_dscr_empty_int_raw(&self) -> IN_DSCR_EMPTY_INT_RAW_R

Bit 11 - when there are not enough in links for DMA it will produce uhci_in_dscr_err_int interrupt.

Bit 12 - when there are some errors about eof in outlink descriptor it will produce uhci_outlink_eof_err_int interrupt.

source

pub fn out_total_eof_int_raw(&self) -> OUT_TOTAL_EOF_INT_RAW_R

Bit 13 - When all data have been send it will produce uhci_out_total_eof_int interrupt.

source

pub fn send_s_q_int_raw(&self) -> SEND_S_Q_INT_RAW_R

Bit 14 - When use single send registers to send a short packets it will produce this interrupt when dma has send the short packet.

source

pub fn send_a_q_int_raw(&self) -> SEND_A_Q_INT_RAW_R

Bit 15 - When use always_send registers to send a series of short packets it will produce this interrupt when dma has send the short packet.

source

pub fn dma_infifo_full_wm_int_raw(&self) -> DMA_INFIFO_FULL_WM_INT_RAW_R

Bit 16

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,

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.