Struct UHCI0

Source
pub struct UHCI0 { /* private fields */ }

Implementations§

Source§

impl UHCI0

Source

pub const PTR: *const <UHCI0 as Deref>::Target = {0x60005000 as *const <esp32c6::UHCI0 as core::ops::Deref>::Target}

Pointer to the register block

Source

pub unsafe fn steal() -> UHCI0

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 fn ptr() -> *const <UHCI0 as Deref>::Target

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

Source

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

0x00 - UHCI Configuration Register0

Source

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

0x04 - UHCI Interrupt Raw Register

Source

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

0x08 - UHCI Interrupt Status Register

Source

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

0x0c - UHCI Interrupt Enable Register

Source

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

0x10 - UHCI Interrupt Clear Register

Source

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

0x14 - UHCI Configuration Register1

Source

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

0x18 - UHCI Receive Status Register

Source

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

0x1c - UHCI Transmit Status Register

Source

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

0x20 - UHCI Escapes Configuration Register0

Source

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

0x24 - UHCI Hung Configuration Register0

Source

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

0x28 - UHCI Ack Value Configuration Register0

Source

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

0x2c - UHCI Head Register

Source

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

0x30 - UCHI Quick send Register

Source

pub fn reg_q0_word0(&self) -> &Reg<REG_Q0_WORD0_SPEC>

0x34 - UHCI Q0_WORD0 Quick Send Register

Source

pub fn reg_q0_word1(&self) -> &Reg<REG_Q0_WORD1_SPEC>

0x38 - UHCI Q0_WORD1 Quick Send Register

Source

pub fn reg_q1_word0(&self) -> &Reg<REG_Q1_WORD0_SPEC>

0x3c - UHCI Q1_WORD0 Quick Send Register

Source

pub fn reg_q1_word1(&self) -> &Reg<REG_Q1_WORD1_SPEC>

0x40 - UHCI Q1_WORD1 Quick Send Register

Source

pub fn reg_q2_word0(&self) -> &Reg<REG_Q2_WORD0_SPEC>

0x44 - UHCI Q2_WORD0 Quick Send Register

Source

pub fn reg_q2_word1(&self) -> &Reg<REG_Q2_WORD1_SPEC>

0x48 - UHCI Q2_WORD1 Quick Send Register

Source

pub fn reg_q3_word0(&self) -> &Reg<REG_Q3_WORD0_SPEC>

0x4c - UHCI Q3_WORD0 Quick Send Register

Source

pub fn reg_q3_word1(&self) -> &Reg<REG_Q3_WORD1_SPEC>

0x50 - UHCI Q3_WORD1 Quick Send Register

Source

pub fn reg_q4_word0(&self) -> &Reg<REG_Q4_WORD0_SPEC>

0x54 - UHCI Q4_WORD0 Quick Send Register

Source

pub fn reg_q4_word1(&self) -> &Reg<REG_Q4_WORD1_SPEC>

0x58 - UHCI Q4_WORD1 Quick Send Register

Source

pub fn reg_q5_word0(&self) -> &Reg<REG_Q5_WORD0_SPEC>

0x5c - UHCI Q5_WORD0 Quick Send Register

Source

pub fn reg_q5_word1(&self) -> &Reg<REG_Q5_WORD1_SPEC>

0x60 - UHCI Q5_WORD1 Quick Send Register

Source

pub fn reg_q6_word0(&self) -> &Reg<REG_Q6_WORD0_SPEC>

0x64 - UHCI Q6_WORD0 Quick Send Register

Source

pub fn reg_q6_word1(&self) -> &Reg<REG_Q6_WORD1_SPEC>

0x68 - UHCI Q6_WORD1 Quick Send Register

Source

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

0x6c - UHCI Escapes Sequence Configuration Register0

Source

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

0x70 - UHCI Escapes Sequence Configuration Register1

Source

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

0x74 - UHCI Escapes Sequence Configuration Register2

Source

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

0x78 - UHCI Escapes Sequence Configuration Register3

Source

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

0x7c - UCHI Packet Length Configuration Register

Source

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

0x80 - UHCI Version Register

Trait Implementations§

Source§

impl Debug for UHCI0

Source§

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

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

impl Deref for UHCI0

Source§

type Target = <UHCI0 as Deref>::Target

The resulting type after dereferencing.
Source§

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

Dereferences the value.
Source§

impl DerefMut for UHCI0

Source§

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

Mutably dereferences the value.
Source§

impl Peripheral for UHCI0

Source§

type P = UHCI0

Peripheral singleton type
Source§

unsafe fn clone_unchecked(&mut self) -> <UHCI0 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 Freeze for UHCI0

§

impl RefUnwindSafe for UHCI0

§

impl Send for UHCI0

§

impl Sync for UHCI0

§

impl Unpin for UHCI0

§

impl UnwindSafe for UHCI0

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

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>,

Source§

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.