[][src]Struct lpc55_pac::usbhsh::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub caplength_chipid: CAPLENGTH_CHIPID,
    pub hcsparams: HCSPARAMS,
    pub fladj_frindex: FLADJ_FRINDEX,
    pub atlptd: ATLPTD,
    pub isoptd: ISOPTD,
    pub intptd: INTPTD,
    pub datapayload: DATAPAYLOAD,
    pub usbcmd: USBCMD,
    pub usbsts: USBSTS,
    pub usbintr: USBINTR,
    pub portsc1: PORTSC1,
    pub atlptdd: ATLPTDD,
    pub atlptds: ATLPTDS,
    pub isoptdd: ISOPTDD,
    pub isoptds: ISOPTDS,
    pub intptdd: INTPTDD,
    pub intptds: INTPTDS,
    pub lastptd: LASTPTD,
    pub portmode: PORTMODE,
    // some fields omitted
}

Register block

Fields

caplength_chipid: CAPLENGTH_CHIPID

0x00 - This register contains the offset value towards the start of the operational register space and the version number of the IP block

hcsparams: HCSPARAMS

0x04 - Host Controller Structural Parameters

fladj_frindex: FLADJ_FRINDEX

0x0c - Frame Length Adjustment

atlptd: ATLPTD

0x10 - Memory base address where ATL PTD0 is stored

isoptd: ISOPTD

0x14 - Memory base address where ISO PTD0 is stored

intptd: INTPTD

0x18 - Memory base address where INT PTD0 is stored

datapayload: DATAPAYLOAD

0x1c - Memory base address that indicates the start of the data payload buffers

usbcmd: USBCMD

0x20 - USB Command register

usbsts: USBSTS

0x24 - USB Interrupt Status register

usbintr: USBINTR

0x28 - USB Interrupt Enable register

portsc1: PORTSC1

0x2c - Port Status and Control register

atlptdd: ATLPTDD

0x30 - Done map for each ATL PTD

atlptds: ATLPTDS

0x34 - Skip map for each ATL PTD

isoptdd: ISOPTDD

0x38 - Done map for each ISO PTD

isoptds: ISOPTDS

0x3c - Skip map for each ISO PTD

intptdd: INTPTDD

0x40 - Done map for each INT PTD

intptds: INTPTDS

0x44 - Skip map for each INT PTD

lastptd: LASTPTD

0x48 - Marks the last PTD in the list for ISO, INT and ATL

portmode: PORTMODE

0x50 - Controls the port if it is attached to the host block or the device block

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.