pub struct USB0 { /* private fields */ }

Implementations§

source§

impl USB0

source

pub unsafe fn steal() -> USB0

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 <USB0 as Deref>::Target = {0x60080000 as *const <esp32s3::USB0 as core::ops::Deref>::Target}

Pointer to the register block

source

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

Return the pointer to the register block

Methods from Deref<Target = RegisterBlock>§

source

pub fn gotgctl(&self) -> &Reg<GOTGCTL_SPEC>

0x00 -

source

pub fn gotgint(&self) -> &Reg<GOTGINT_SPEC>

0x04 -

source

pub fn gahbcfg(&self) -> &Reg<GAHBCFG_SPEC>

0x08 -

source

pub fn gusbcfg(&self) -> &Reg<GUSBCFG_SPEC>

0x0c -

source

pub fn grstctl(&self) -> &Reg<GRSTCTL_SPEC>

0x10 -

source

pub fn gintsts(&self) -> &Reg<GINTSTS_SPEC>

0x14 -

source

pub fn gintmsk(&self) -> &Reg<GINTMSK_SPEC>

0x18 -

source

pub fn grxstsr(&self) -> &Reg<GRXSTSR_SPEC>

0x1c -

source

pub fn grxstsp(&self) -> &Reg<GRXSTSP_SPEC>

0x20 -

source

pub fn grxfsiz(&self) -> &Reg<GRXFSIZ_SPEC>

0x24 -

source

pub fn gnptxfsiz(&self) -> &Reg<GNPTXFSIZ_SPEC>

0x28 -

source

pub fn gnptxsts(&self) -> &Reg<GNPTXSTS_SPEC>

0x2c -

source

pub fn gsnpsid(&self) -> &Reg<GSNPSID_SPEC>

0x40 -

source

pub fn ghwcfg1(&self) -> &Reg<GHWCFG1_SPEC>

0x44 -

source

pub fn ghwcfg2(&self) -> &Reg<GHWCFG2_SPEC>

0x48 -

source

pub fn ghwcfg3(&self) -> &Reg<GHWCFG3_SPEC>

0x4c -

source

pub fn ghwcfg4(&self) -> &Reg<GHWCFG4_SPEC>

0x50 -

source

pub fn gdfifocfg(&self) -> &Reg<GDFIFOCFG_SPEC>

0x5c -

source

pub fn hptxfsiz(&self) -> &Reg<HPTXFSIZ_SPEC>

0x100 -

source

pub fn dieptxf1(&self) -> &Reg<DIEPTXF1_SPEC>

0x104 -

source

pub fn dieptxf2(&self) -> &Reg<DIEPTXF2_SPEC>

0x108 -

source

pub fn dieptxf3(&self) -> &Reg<DIEPTXF3_SPEC>

0x10c -

source

pub fn dieptxf4(&self) -> &Reg<DIEPTXF4_SPEC>

0x110 -

source

pub fn hcfg(&self) -> &Reg<HCFG_SPEC>

0x400 -

source

pub fn hfir(&self) -> &Reg<HFIR_SPEC>

0x404 -

source

pub fn hfnum(&self) -> &Reg<HFNUM_SPEC>

0x408 -

source

pub fn hptxsts(&self) -> &Reg<HPTXSTS_SPEC>

0x410 -

source

pub fn haint(&self) -> &Reg<HAINT_SPEC>

0x414 -

source

pub fn haintmsk(&self) -> &Reg<HAINTMSK_SPEC>

0x418 -

source

pub fn hflbaddr(&self) -> &Reg<HFLBADDR_SPEC>

0x41c -

source

pub fn hprt(&self) -> &Reg<HPRT_SPEC>

0x440 -

source

pub fn hcchar0(&self) -> &Reg<HCCHAR0_SPEC>

0x500 -

source

pub fn hcint0(&self) -> &Reg<HCINT0_SPEC>

0x508 -

source

pub fn hcintmsk0(&self) -> &Reg<HCINTMSK0_SPEC>

0x50c -

source

pub fn hctsiz0(&self) -> &Reg<HCTSIZ0_SPEC>

0x510 -

source

pub fn hcdma0(&self) -> &Reg<HCDMA0_SPEC>

0x514 -

source

pub fn hcdmab0(&self) -> &Reg<HCDMAB0_SPEC>

0x51c -

source

pub fn hcchar1(&self) -> &Reg<HCCHAR1_SPEC>

0x520 -

source

pub fn hcint1(&self) -> &Reg<HCINT1_SPEC>

0x528 -

source

pub fn hcintmsk1(&self) -> &Reg<HCINTMSK1_SPEC>

0x52c -

source

pub fn hctsiz1(&self) -> &Reg<HCTSIZ1_SPEC>

0x530 -

source

pub fn hcdma1(&self) -> &Reg<HCDMA1_SPEC>

0x534 -

source

pub fn hcdmab1(&self) -> &Reg<HCDMAB1_SPEC>

0x53c -

source

pub fn hcchar2(&self) -> &Reg<HCCHAR2_SPEC>

0x540 -

source

pub fn hcint2(&self) -> &Reg<HCINT2_SPEC>

0x548 -

source

pub fn hcintmsk2(&self) -> &Reg<HCINTMSK2_SPEC>

0x54c -

source

pub fn hctsiz2(&self) -> &Reg<HCTSIZ2_SPEC>

0x550 -

source

pub fn hcdma2(&self) -> &Reg<HCDMA2_SPEC>

0x554 -

source

pub fn hcdmab2(&self) -> &Reg<HCDMAB2_SPEC>

0x55c -

source

pub fn hcchar3(&self) -> &Reg<HCCHAR3_SPEC>

0x560 -

source

pub fn hcint3(&self) -> &Reg<HCINT3_SPEC>

0x568 -

source

pub fn hcintmsk3(&self) -> &Reg<HCINTMSK3_SPEC>

0x56c -

source

pub fn hctsiz3(&self) -> &Reg<HCTSIZ3_SPEC>

0x570 -

source

pub fn hcdma3(&self) -> &Reg<HCDMA3_SPEC>

0x574 -

source

pub fn hcdmab3(&self) -> &Reg<HCDMAB3_SPEC>

0x57c -

source

pub fn hcchar4(&self) -> &Reg<HCCHAR4_SPEC>

0x580 -

source

pub fn hcint4(&self) -> &Reg<HCINT4_SPEC>

0x588 -

source

pub fn hcintmsk4(&self) -> &Reg<HCINTMSK4_SPEC>

0x58c -

source

pub fn hctsiz4(&self) -> &Reg<HCTSIZ4_SPEC>

0x590 -

source

pub fn hcdma4(&self) -> &Reg<HCDMA4_SPEC>

0x594 -

source

pub fn hcdmab4(&self) -> &Reg<HCDMAB4_SPEC>

0x59c -

source

pub fn hcchar5(&self) -> &Reg<HCCHAR5_SPEC>

0x5a0 -

source

pub fn hcint5(&self) -> &Reg<HCINT5_SPEC>

0x5a8 -

source

pub fn hcintmsk5(&self) -> &Reg<HCINTMSK5_SPEC>

0x5ac -

source

pub fn hctsiz5(&self) -> &Reg<HCTSIZ5_SPEC>

0x5b0 -

source

pub fn hcdma5(&self) -> &Reg<HCDMA5_SPEC>

0x5b4 -

source

pub fn hcdmab5(&self) -> &Reg<HCDMAB5_SPEC>

0x5bc -

source

pub fn hcchar6(&self) -> &Reg<HCCHAR6_SPEC>

0x5c0 -

source

pub fn hcint6(&self) -> &Reg<HCINT6_SPEC>

0x5c8 -

source

pub fn hcintmsk6(&self) -> &Reg<HCINTMSK6_SPEC>

0x5cc -

source

pub fn hctsiz6(&self) -> &Reg<HCTSIZ6_SPEC>

0x5d0 -

source

pub fn hcdma6(&self) -> &Reg<HCDMA6_SPEC>

0x5d4 -

source

pub fn hcdmab6(&self) -> &Reg<HCDMAB6_SPEC>

0x5dc -

source

pub fn hcchar7(&self) -> &Reg<HCCHAR7_SPEC>

0x5e0 -

source

pub fn hcint7(&self) -> &Reg<HCINT7_SPEC>

0x5e8 -

source

pub fn hcintmsk7(&self) -> &Reg<HCINTMSK7_SPEC>

0x5ec -

source

pub fn hctsiz7(&self) -> &Reg<HCTSIZ7_SPEC>

0x5f0 -

source

pub fn hcdma7(&self) -> &Reg<HCDMA7_SPEC>

0x5f4 -

source

pub fn hcdmab7(&self) -> &Reg<HCDMAB7_SPEC>

0x5fc -

source

pub fn dcfg(&self) -> &Reg<DCFG_SPEC>

0x800 -

source

pub fn dctl(&self) -> &Reg<DCTL_SPEC>

0x804 -

source

pub fn dsts(&self) -> &Reg<DSTS_SPEC>

0x808 -

source

pub fn diepmsk(&self) -> &Reg<DIEPMSK_SPEC>

0x810 -

source

pub fn doepmsk(&self) -> &Reg<DOEPMSK_SPEC>

0x814 -

source

pub fn daint(&self) -> &Reg<DAINT_SPEC>

0x818 -

source

pub fn daintmsk(&self) -> &Reg<DAINTMSK_SPEC>

0x81c -

source

pub fn dvbusdis(&self) -> &Reg<DVBUSDIS_SPEC>

0x828 -

source

pub fn dvbuspulse(&self) -> &Reg<DVBUSPULSE_SPEC>

0x82c -

source

pub fn dthrctl(&self) -> &Reg<DTHRCTL_SPEC>

0x830 -

source

pub fn diepempmsk(&self) -> &Reg<DIEPEMPMSK_SPEC>

0x834 -

source

pub fn diepctl0(&self) -> &Reg<DIEPCTL0_SPEC>

0x900 -

source

pub fn diepint0(&self) -> &Reg<DIEPINT0_SPEC>

0x908 -

source

pub fn dieptsiz0(&self) -> &Reg<DIEPTSIZ0_SPEC>

0x910 -

source

pub fn diepdma0(&self) -> &Reg<DIEPDMA0_SPEC>

0x914 -

source

pub fn dtxfsts0(&self) -> &Reg<DTXFSTS0_SPEC>

0x918 -

source

pub fn diepdmab0(&self) -> &Reg<DIEPDMAB0_SPEC>

0x91c -

source

pub fn diepctl1(&self) -> &Reg<DIEPCTL1_SPEC>

0x920 -

source

pub fn diepint1(&self) -> &Reg<DIEPINT1_SPEC>

0x928 -

source

pub fn dieptsiz1(&self) -> &Reg<DIEPTSIZ1_SPEC>

0x930 -

source

pub fn diepdma1(&self) -> &Reg<DIEPDMA1_SPEC>

0x934 -

source

pub fn dtxfsts1(&self) -> &Reg<DTXFSTS1_SPEC>

0x938 -

source

pub fn diepdmab1(&self) -> &Reg<DIEPDMAB1_SPEC>

0x93c -

source

pub fn diepctl2(&self) -> &Reg<DIEPCTL2_SPEC>

0x940 -

source

pub fn diepint2(&self) -> &Reg<DIEPINT2_SPEC>

0x948 -

source

pub fn dieptsiz2(&self) -> &Reg<DIEPTSIZ2_SPEC>

0x950 -

source

pub fn diepdma2(&self) -> &Reg<DIEPDMA2_SPEC>

0x954 -

source

pub fn dtxfsts2(&self) -> &Reg<DTXFSTS2_SPEC>

0x958 -

source

pub fn diepdmab2(&self) -> &Reg<DIEPDMAB2_SPEC>

0x95c -

source

pub fn diepctl3(&self) -> &Reg<DIEPCTL3_SPEC>

0x960 -

source

pub fn diepint3(&self) -> &Reg<DIEPINT3_SPEC>

0x968 -

source

pub fn dieptsiz3(&self) -> &Reg<DIEPTSIZ3_SPEC>

0x970 -

source

pub fn diepdma3(&self) -> &Reg<DIEPDMA3_SPEC>

0x974 -

source

pub fn dtxfsts3(&self) -> &Reg<DTXFSTS3_SPEC>

0x978 -

source

pub fn diepdmab3(&self) -> &Reg<DIEPDMAB3_SPEC>

0x97c -

source

pub fn diepctl4(&self) -> &Reg<DIEPCTL4_SPEC>

0x980 -

source

pub fn diepint4(&self) -> &Reg<DIEPINT4_SPEC>

0x988 -

source

pub fn dieptsiz4(&self) -> &Reg<DIEPTSIZ4_SPEC>

0x990 -

source

pub fn diepdma4(&self) -> &Reg<DIEPDMA4_SPEC>

0x994 -

source

pub fn dtxfsts4(&self) -> &Reg<DTXFSTS4_SPEC>

0x998 -

source

pub fn diepdmab4(&self) -> &Reg<DIEPDMAB4_SPEC>

0x99c -

source

pub fn diepctl5(&self) -> &Reg<DIEPCTL5_SPEC>

0x9a0 -

source

pub fn diepint5(&self) -> &Reg<DIEPINT5_SPEC>

0x9a8 -

source

pub fn dieptsiz5(&self) -> &Reg<DIEPTSIZ5_SPEC>

0x9b0 -

source

pub fn diepdma5(&self) -> &Reg<DIEPDMA5_SPEC>

0x9b4 -

source

pub fn dtxfsts5(&self) -> &Reg<DTXFSTS5_SPEC>

0x9b8 -

source

pub fn diepdmab5(&self) -> &Reg<DIEPDMAB5_SPEC>

0x9bc -

source

pub fn diepctl6(&self) -> &Reg<DIEPCTL6_SPEC>

0x9c0 -

source

pub fn diepint6(&self) -> &Reg<DIEPINT6_SPEC>

0x9c8 -

source

pub fn dieptsiz6(&self) -> &Reg<DIEPTSIZ6_SPEC>

0x9d0 -

source

pub fn diepdma6(&self) -> &Reg<DIEPDMA6_SPEC>

0x9d4 -

source

pub fn dtxfsts6(&self) -> &Reg<DTXFSTS6_SPEC>

0x9d8 -

source

pub fn diepdmab6(&self) -> &Reg<DIEPDMAB6_SPEC>

0x9dc -

source

pub fn doepctl0(&self) -> &Reg<DOEPCTL0_SPEC>

0xb00 -

source

pub fn doepint0(&self) -> &Reg<DOEPINT0_SPEC>

0xb08 -

source

pub fn doeptsiz0(&self) -> &Reg<DOEPTSIZ0_SPEC>

0xb10 -

source

pub fn doepdma0(&self) -> &Reg<DOEPDMA0_SPEC>

0xb14 -

source

pub fn doepdmab0(&self) -> &Reg<DOEPDMAB0_SPEC>

0xb1c -

source

pub fn doepctl1(&self) -> &Reg<DOEPCTL1_SPEC>

0xb20 -

source

pub fn doepint1(&self) -> &Reg<DOEPINT1_SPEC>

0xb28 -

source

pub fn doeptsiz1(&self) -> &Reg<DOEPTSIZ1_SPEC>

0xb30 -

source

pub fn doepdma1(&self) -> &Reg<DOEPDMA1_SPEC>

0xb34 -

source

pub fn doepdmab1(&self) -> &Reg<DOEPDMAB1_SPEC>

0xb3c -

source

pub fn doepctl2(&self) -> &Reg<DOEPCTL2_SPEC>

0xb40 -

source

pub fn doepint2(&self) -> &Reg<DOEPINT2_SPEC>

0xb48 -

source

pub fn doeptsiz2(&self) -> &Reg<DOEPTSIZ2_SPEC>

0xb50 -

source

pub fn doepdma2(&self) -> &Reg<DOEPDMA2_SPEC>

0xb54 -

source

pub fn doepdmab2(&self) -> &Reg<DOEPDMAB2_SPEC>

0xb5c -

source

pub fn doepctl3(&self) -> &Reg<DOEPCTL3_SPEC>

0xb60 -

source

pub fn doepint3(&self) -> &Reg<DOEPINT3_SPEC>

0xb68 -

source

pub fn doeptsiz3(&self) -> &Reg<DOEPTSIZ3_SPEC>

0xb70 -

source

pub fn doepdma3(&self) -> &Reg<DOEPDMA3_SPEC>

0xb74 -

source

pub fn doepdmab3(&self) -> &Reg<DOEPDMAB3_SPEC>

0xb7c -

source

pub fn doepctl4(&self) -> &Reg<DOEPCTL4_SPEC>

0xb80 -

source

pub fn doepint4(&self) -> &Reg<DOEPINT4_SPEC>

0xb88 -

source

pub fn doeptsiz4(&self) -> &Reg<DOEPTSIZ4_SPEC>

0xb90 -

source

pub fn doepdma4(&self) -> &Reg<DOEPDMA4_SPEC>

0xb94 -

source

pub fn doepdmab4(&self) -> &Reg<DOEPDMAB4_SPEC>

0xb9c -

source

pub fn doepctl5(&self) -> &Reg<DOEPCTL5_SPEC>

0xba0 -

source

pub fn doepint5(&self) -> &Reg<DOEPINT5_SPEC>

0xba8 -

source

pub fn doeptsiz5(&self) -> &Reg<DOEPTSIZ5_SPEC>

0xbb0 -

source

pub fn doepdma5(&self) -> &Reg<DOEPDMA5_SPEC>

0xbb4 -

source

pub fn doepdmab5(&self) -> &Reg<DOEPDMAB5_SPEC>

0xbbc -

source

pub fn doepctl6(&self) -> &Reg<DOEPCTL6_SPEC>

0xbc0 -

source

pub fn doepint6(&self) -> &Reg<DOEPINT6_SPEC>

0xbc8 -

source

pub fn doeptsiz6(&self) -> &Reg<DOEPTSIZ6_SPEC>

0xbd0 -

source

pub fn doepdma6(&self) -> &Reg<DOEPDMA6_SPEC>

0xbd4 -

source

pub fn doepdmab6(&self) -> &Reg<DOEPDMAB6_SPEC>

0xbdc -

source

pub fn pcgcctl(&self) -> &Reg<PCGCCTL_SPEC>

0xe00 -

Trait Implementations§

source§

impl Debug for USB0

source§

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

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

impl Deref for USB0

§

type Target = <USB0 as Deref>::Target

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl DerefMut for USB0

source§

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

Mutably dereferences the value.
source§

impl Peripheral for USB0

§

type P = USB0

Peripheral singleton type
source§

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

§

impl Send for USB0

§

impl Sync for USB0

§

impl Unpin for USB0

§

impl UnwindSafe for USB0

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.