RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 39 fields pub hcfg: Reg<HCFG_SPEC>, pub hfir: Reg<HFIR_SPEC>, pub hfnum: Reg<HFNUM_SPEC>, pub hptxsts: Reg<HPTXSTS_SPEC>, pub haint: Reg<HAINT_SPEC>, pub haintmsk: Reg<HAINTMSK_SPEC>, pub hprt: Reg<HPRT_SPEC>, pub hcchar0: Reg<HCCHAR0_SPEC>, pub hcint0: Reg<HCINT0_SPEC>, pub hcintmsk0: Reg<HCINTMSK0_SPEC>, pub hctsiz0: Reg<HCTSIZ0_SPEC>, pub hcchar1: Reg<HCCHAR1_SPEC>, pub hcint1: Reg<HCINT1_SPEC>, pub hcintmsk1: Reg<HCINTMSK1_SPEC>, pub hctsiz1: Reg<HCTSIZ1_SPEC>, pub hcchar2: Reg<HCCHAR2_SPEC>, pub hcint2: Reg<HCINT2_SPEC>, pub hcintmsk2: Reg<HCINTMSK2_SPEC>, pub hctsiz2: Reg<HCTSIZ2_SPEC>, pub hcchar3: Reg<HCCHAR3_SPEC>, pub hcint3: Reg<HCINT3_SPEC>, pub hcintmsk3: Reg<HCINTMSK3_SPEC>, pub hctsiz3: Reg<HCTSIZ3_SPEC>, pub hcchar4: Reg<HCCHAR4_SPEC>, pub hcint4: Reg<HCINT4_SPEC>, pub hcintmsk4: Reg<HCINTMSK4_SPEC>, pub hctsiz4: Reg<HCTSIZ4_SPEC>, pub hcchar5: Reg<HCCHAR5_SPEC>, pub hcint5: Reg<HCINT5_SPEC>, pub hcintmsk5: Reg<HCINTMSK5_SPEC>, pub hctsiz5: Reg<HCTSIZ5_SPEC>, pub hcchar6: Reg<HCCHAR6_SPEC>, pub hcint6: Reg<HCINT6_SPEC>, pub hcintmsk6: Reg<HCINTMSK6_SPEC>, pub hctsiz6: Reg<HCTSIZ6_SPEC>, pub hcchar7: Reg<HCCHAR7_SPEC>, pub hcint7: Reg<HCINT7_SPEC>, pub hcintmsk7: Reg<HCINTMSK7_SPEC>, pub hctsiz7: Reg<HCTSIZ7_SPEC>, /* private fields */
}
Expand description

Register block

Fields§

§hcfg: Reg<HCFG_SPEC>

0x00 - OTG_FS host configuration register (OTG_FS_HCFG)

§hfir: Reg<HFIR_SPEC>

0x04 - OTG_FS Host frame interval register

§hfnum: Reg<HFNUM_SPEC>

0x08 - OTG_FS host frame number/frame time remaining register (OTG_FS_HFNUM)

§hptxsts: Reg<HPTXSTS_SPEC>

0x10 - OTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)

§haint: Reg<HAINT_SPEC>

0x14 - OTG_FS Host all channels interrupt register

§haintmsk: Reg<HAINTMSK_SPEC>

0x18 - OTG_FS host all channels interrupt mask register

§hprt: Reg<HPRT_SPEC>

0x40 - OTG_FS host port control and status register (OTG_FS_HPRT)

§hcchar0: Reg<HCCHAR0_SPEC>

0x100 - OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)

§hcint0: Reg<HCINT0_SPEC>

0x108 - OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)

§hcintmsk0: Reg<HCINTMSK0_SPEC>

0x10c - OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)

§hctsiz0: Reg<HCTSIZ0_SPEC>

0x110 - OTG_FS host channel-0 transfer size register

§hcchar1: Reg<HCCHAR1_SPEC>

0x120 - OTG_FS host channel-1 characteristics register (OTG_FS_HCCHAR1)

§hcint1: Reg<HCINT1_SPEC>

0x128 - OTG_FS host channel-1 interrupt register (OTG_FS_HCINT1)

§hcintmsk1: Reg<HCINTMSK1_SPEC>

0x12c - OTG_FS host channel-1 mask register (OTG_FS_HCINTMSK1)

§hctsiz1: Reg<HCTSIZ1_SPEC>

0x130 - OTG_FS host channel-1 transfer size register

§hcchar2: Reg<HCCHAR2_SPEC>

0x140 - OTG_FS host channel-2 characteristics register (OTG_FS_HCCHAR2)

§hcint2: Reg<HCINT2_SPEC>

0x148 - OTG_FS host channel-2 interrupt register (OTG_FS_HCINT2)

§hcintmsk2: Reg<HCINTMSK2_SPEC>

0x14c - OTG_FS host channel-2 mask register (OTG_FS_HCINTMSK2)

§hctsiz2: Reg<HCTSIZ2_SPEC>

0x150 - OTG_FS host channel-2 transfer size register

§hcchar3: Reg<HCCHAR3_SPEC>

0x160 - OTG_FS host channel-3 characteristics register (OTG_FS_HCCHAR3)

§hcint3: Reg<HCINT3_SPEC>

0x168 - OTG_FS host channel-3 interrupt register (OTG_FS_HCINT3)

§hcintmsk3: Reg<HCINTMSK3_SPEC>

0x16c - OTG_FS host channel-3 mask register (OTG_FS_HCINTMSK3)

§hctsiz3: Reg<HCTSIZ3_SPEC>

0x170 - OTG_FS host channel-3 transfer size register

§hcchar4: Reg<HCCHAR4_SPEC>

0x180 - OTG_FS host channel-4 characteristics register (OTG_FS_HCCHAR4)

§hcint4: Reg<HCINT4_SPEC>

0x188 - OTG_FS host channel-4 interrupt register (OTG_FS_HCINT4)

§hcintmsk4: Reg<HCINTMSK4_SPEC>

0x18c - OTG_FS host channel-4 mask register (OTG_FS_HCINTMSK4)

§hctsiz4: Reg<HCTSIZ4_SPEC>

0x190 - OTG_FS host channel-x transfer size register

§hcchar5: Reg<HCCHAR5_SPEC>

0x1a0 - OTG_FS host channel-5 characteristics register (OTG_FS_HCCHAR5)

§hcint5: Reg<HCINT5_SPEC>

0x1a8 - OTG_FS host channel-5 interrupt register (OTG_FS_HCINT5)

§hcintmsk5: Reg<HCINTMSK5_SPEC>

0x1ac - OTG_FS host channel-5 mask register (OTG_FS_HCINTMSK5)

§hctsiz5: Reg<HCTSIZ5_SPEC>

0x1b0 - OTG_FS host channel-5 transfer size register

§hcchar6: Reg<HCCHAR6_SPEC>

0x1c0 - OTG_FS host channel-6 characteristics register (OTG_FS_HCCHAR6)

§hcint6: Reg<HCINT6_SPEC>

0x1c8 - OTG_FS host channel-6 interrupt register (OTG_FS_HCINT6)

§hcintmsk6: Reg<HCINTMSK6_SPEC>

0x1cc - OTG_FS host channel-6 mask register (OTG_FS_HCINTMSK6)

§hctsiz6: Reg<HCTSIZ6_SPEC>

0x1d0 - OTG_FS host channel-6 transfer size register

§hcchar7: Reg<HCCHAR7_SPEC>

0x1e0 - OTG_FS host channel-7 characteristics register (OTG_FS_HCCHAR7)

§hcint7: Reg<HCINT7_SPEC>

0x1e8 - OTG_FS host channel-7 interrupt register (OTG_FS_HCINT7)

§hcintmsk7: Reg<HCINTMSK7_SPEC>

0x1ec - OTG_FS host channel-7 mask register (OTG_FS_HCINTMSK7)

§hctsiz7: Reg<HCTSIZ7_SPEC>

0x1f0 - OTG_FS host channel-7 transfer size register

Auto Trait Implementations§

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

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.