pub struct UHCI1 { /* private fields */ }

Implementations§

source§

impl UHCI1

source

pub unsafe fn steal() -> UHCI1

Unsafely create an instance of this peripheral out of thin air.

§Safety

You must ensure that you’re only using one instance of this type at a time.

source

pub const PTR: *const <UHCI1 as Deref>::Target = {0x3ff4c000 as *const <esp32::UHCI1 as core::ops::Deref>::Target}

Pointer to the register block

source

pub const fn ptr() -> *const <UHCI1 as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn conf0(&self) -> &Reg<CONF0_SPEC>

0x00 -

source

pub fn int_raw(&self) -> &Reg<INT_RAW_SPEC>

0x04 -

source

pub fn int_st(&self) -> &Reg<INT_ST_SPEC>

0x08 -

source

pub fn int_ena(&self) -> &Reg<INT_ENA_SPEC>

0x0c -

source

pub fn int_clr(&self) -> &Reg<INT_CLR_SPEC>

0x10 -

source

pub fn dma_out_status(&self) -> &Reg<DMA_OUT_STATUS_SPEC>

0x14 -

source

pub fn dma_out_push(&self) -> &Reg<DMA_OUT_PUSH_SPEC>

0x18 -

source

pub fn dma_in_status(&self) -> &Reg<DMA_IN_STATUS_SPEC>

0x1c -

source

pub fn dma_in_pop(&self) -> &Reg<DMA_IN_POP_SPEC>

0x20 -

0x24 -

0x28 -

source

pub fn conf1(&self) -> &Reg<CONF1_SPEC>

0x2c -

source

pub fn state0(&self) -> &Reg<STATE0_SPEC>

0x30 -

source

pub fn state1(&self) -> &Reg<STATE1_SPEC>

0x34 -

source

pub fn dma_out_eof_des_addr(&self) -> &Reg<DMA_OUT_EOF_DES_ADDR_SPEC>

0x38 -

source

pub fn dma_in_suc_eof_des_addr(&self) -> &Reg<DMA_IN_SUC_EOF_DES_ADDR_SPEC>

0x3c -

source

pub fn dma_in_err_eof_des_addr(&self) -> &Reg<DMA_IN_ERR_EOF_DES_ADDR_SPEC>

0x40 -

source

pub fn dma_out_eof_bfr_des_addr(&self) -> &Reg<DMA_OUT_EOF_BFR_DES_ADDR_SPEC>

0x44 -

source

pub fn ahb_test(&self) -> &Reg<AHB_TEST_SPEC>

0x48 -

source

pub fn dma_in_dscr(&self) -> &Reg<DMA_IN_DSCR_SPEC>

0x4c -

source

pub fn dma_in_dscr_bf0(&self) -> &Reg<DMA_IN_DSCR_BF0_SPEC>

0x50 -

source

pub fn dma_in_dscr_bf1(&self) -> &Reg<DMA_IN_DSCR_BF1_SPEC>

0x54 -

source

pub fn dma_out_dscr(&self) -> &Reg<DMA_OUT_DSCR_SPEC>

0x58 -

source

pub fn dma_out_dscr_bf0(&self) -> &Reg<DMA_OUT_DSCR_BF0_SPEC>

0x5c -

source

pub fn dma_out_dscr_bf1(&self) -> &Reg<DMA_OUT_DSCR_BF1_SPEC>

0x60 -

source

pub fn escape_conf(&self) -> &Reg<ESCAPE_CONF_SPEC>

0x64 -

source

pub fn hung_conf(&self) -> &Reg<HUNG_CONF_SPEC>

0x68 -

source

pub fn ack_num(&self) -> &Reg<ACK_NUM_SPEC>

0x6c -

source

pub fn rx_head(&self) -> &Reg<RX_HEAD_SPEC>

0x70 -

source

pub fn quick_sent(&self) -> &Reg<QUICK_SENT_SPEC>

0x74 -

source

pub fn q0_word0(&self) -> &Reg<Q0_WORD0_SPEC>

0x78 -

source

pub fn q0_word1(&self) -> &Reg<Q0_WORD1_SPEC>

0x7c -

source

pub fn q1_word0(&self) -> &Reg<Q1_WORD0_SPEC>

0x80 -

source

pub fn q1_word1(&self) -> &Reg<Q1_WORD1_SPEC>

0x84 -

source

pub fn q2_word0(&self) -> &Reg<Q2_WORD0_SPEC>

0x88 -

source

pub fn q2_word1(&self) -> &Reg<Q2_WORD1_SPEC>

0x8c -

source

pub fn q3_word0(&self) -> &Reg<Q3_WORD0_SPEC>

0x90 -

source

pub fn q3_word1(&self) -> &Reg<Q3_WORD1_SPEC>

0x94 -

source

pub fn q4_word0(&self) -> &Reg<Q4_WORD0_SPEC>

0x98 -

source

pub fn q4_word1(&self) -> &Reg<Q4_WORD1_SPEC>

0x9c -

source

pub fn q5_word0(&self) -> &Reg<Q5_WORD0_SPEC>

0xa0 -

source

pub fn q5_word1(&self) -> &Reg<Q5_WORD1_SPEC>

0xa4 -

source

pub fn q6_word0(&self) -> &Reg<Q6_WORD0_SPEC>

0xa8 -

source

pub fn q6_word1(&self) -> &Reg<Q6_WORD1_SPEC>

0xac -

source

pub fn esc_conf0(&self) -> &Reg<ESC_CONF0_SPEC>

0xb0 -

source

pub fn esc_conf1(&self) -> &Reg<ESC_CONF1_SPEC>

0xb4 -

source

pub fn esc_conf2(&self) -> &Reg<ESC_CONF2_SPEC>

0xb8 -

source

pub fn esc_conf3(&self) -> &Reg<ESC_CONF3_SPEC>

0xbc -

source

pub fn pkt_thres(&self) -> &Reg<PKT_THRES_SPEC>

0xc0 -

source

pub fn date(&self) -> &Reg<DATE_SPEC>

0xfc -

Trait Implementations§

source§

impl Debug for UHCI1

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Deref for UHCI1

§

type Target = <UHCI1 as Deref>::Target

The resulting type after dereferencing.
source§

fn deref(&self) -> &<UHCI1 as Deref>::Target

Dereferences the value.
source§

impl DerefMut for UHCI1

source§

fn deref_mut(&mut self) -> &mut <UHCI1 as Deref>::Target

Mutably dereferences the value.
source§

impl Peripheral for UHCI1

§

type P = UHCI1

Peripheral singleton type
source§

unsafe fn clone_unchecked(&mut self) -> <UHCI1 as Peripheral>::P

Unsafely clone (duplicate) a peripheral singleton. Read more
source§

fn into_ref<'a>(self) -> PeripheralRef<'a, Self::P>
where Self: 'a,

Convert a value into a PeripheralRef. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for UHCI1

§

impl Send for UHCI1

§

impl Sync for UHCI1

§

impl Unpin for UHCI1

§

impl UnwindSafe for UHCI1

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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.