![]() |
Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
|
Host Mode Registers
These registers must be programmed every time the USB OTG Controller changes to Host mode.
Data Structures | |
struct | ALT_USB_HOST_s |
struct | ALT_USB_HOST_raw_s |
Typedefs | |
typedef struct ALT_USB_HOST_s | ALT_USB_HOST_t |
typedef struct ALT_USB_HOST_raw_s | ALT_USB_HOST_raw_t |
struct ALT_USB_HOST_s |
WARNING: The C register and register group struct declarations are provided for convenience and illustrative purposes. They should, however, be used with caution as the C language standard provides no guarantees about the alignment or atomicity of device memory accesses. The recommended practice for writing hardware drivers is to use the SoCAL access macros and alt_read_word() and alt_write_word() functions.
The struct declaration for register group ALT_USB_HOST.
struct ALT_USB_HOST_raw_s |
The struct declaration for the raw register contents of register group ALT_USB_HOST.
Data Fields | ||
---|---|---|
volatile uint32_t | hcfg | ALT_USB_HOST_HCFG |
volatile uint32_t | hfir | ALT_USB_HOST_HFIR |
volatile uint32_t | hfnum | ALT_USB_HOST_HFNUM |
volatile uint32_t | _pad_0xc_0xf | UNDEFINED |
volatile uint32_t | hptxsts | ALT_USB_HOST_HPTXSTS |
volatile uint32_t | haint | ALT_USB_HOST_HAINT |
volatile uint32_t | haintmsk | ALT_USB_HOST_HAINTMSK |
volatile uint32_t | hflbaddr | ALT_USB_HOST_HFLBADDR |
volatile uint32_t | _pad_0x20_0x3f | UNDEFINED |
volatile uint32_t | hprt | ALT_USB_HOST_HPRT |
volatile uint32_t | _pad_0x44_0xff | UNDEFINED |
volatile uint32_t | hcchar0 | ALT_USB_HOST_HCCHAR0 |
volatile uint32_t | hcsplt0 | ALT_USB_HOST_HCSPLT0 |
volatile uint32_t | hcint0 | ALT_USB_HOST_HCINT0 |
volatile uint32_t | hcintmsk0 | ALT_USB_HOST_HCINTMSK0 |
volatile uint32_t | hctsiz0 | ALT_USB_HOST_HCTSIZ0 |
volatile uint32_t | hcdma0 | ALT_USB_HOST_HCDMA0 |
volatile uint32_t | hcdmab0 | ALT_USB_HOST_HCDMAB0 |
volatile uint32_t | _pad_0x11c_0x11f | UNDEFINED |
volatile uint32_t | hcchar1 | ALT_USB_HOST_HCCHAR1 |
volatile uint32_t | hcsplt1 | ALT_USB_HOST_HCSPLT1 |
volatile uint32_t | hcint1 | ALT_USB_HOST_HCINT1 |
volatile uint32_t | hcintmsk1 | ALT_USB_HOST_HCINTMSK1 |
volatile uint32_t | hctsiz1 | ALT_USB_HOST_HCTSIZ1 |
volatile uint32_t | hcdma1 | ALT_USB_HOST_HCDMA1 |
volatile uint32_t | hcdmab1 | ALT_USB_HOST_HCDMAB1 |
volatile uint32_t | _pad_0x13c_0x13f | UNDEFINED |
volatile uint32_t | hcchar2 | ALT_USB_HOST_HCCHAR2 |
volatile uint32_t | hcsplt2 | ALT_USB_HOST_HCSPLT2 |
volatile uint32_t | hcint2 | ALT_USB_HOST_HCINT2 |
volatile uint32_t | hcintmsk2 | ALT_USB_HOST_HCINTMSK2 |
volatile uint32_t | hctsiz2 | ALT_USB_HOST_HCTSIZ2 |
volatile uint32_t | hcdma2 | ALT_USB_HOST_HCDMA2 |
volatile uint32_t | hcdmab2 | ALT_USB_HOST_HCDMAB2 |
volatile uint32_t | _pad_0x15c_0x15f | UNDEFINED |
volatile uint32_t | hcchar3 | ALT_USB_HOST_HCCHAR3 |
volatile uint32_t | hcsplt3 | ALT_USB_HOST_HCSPLT3 |
volatile uint32_t | hcint3 | ALT_USB_HOST_HCINT3 |
volatile uint32_t | hcintmsk3 | ALT_USB_HOST_HCINTMSK3 |
volatile uint32_t | hctsiz3 | ALT_USB_HOST_HCTSIZ3 |
volatile uint32_t | hcdma3 | ALT_USB_HOST_HCDMA3 |
volatile uint32_t | hcdmab3 | ALT_USB_HOST_HCDMAB3 |
volatile uint32_t | _pad_0x17c_0x17f | UNDEFINED |
volatile uint32_t | hcchar4 | ALT_USB_HOST_HCCHAR4 |
volatile uint32_t | hcsplt4 | ALT_USB_HOST_HCSPLT4 |
volatile uint32_t | hcint4 | ALT_USB_HOST_HCINT4 |
volatile uint32_t | hcintmsk4 | ALT_USB_HOST_HCINTMSK4 |
volatile uint32_t | hctsiz4 | ALT_USB_HOST_HCTSIZ4 |
volatile uint32_t | hcdma4 | ALT_USB_HOST_HCDMA4 |
volatile uint32_t | hcdmab4 | ALT_USB_HOST_HCDMAB4 |
volatile uint32_t | _pad_0x19c_0x19f | UNDEFINED |
volatile uint32_t | hcchar5 | ALT_USB_HOST_HCCHAR5 |
volatile uint32_t | hcsplt5 | ALT_USB_HOST_HCSPLT5 |
volatile uint32_t | hcint5 | ALT_USB_HOST_HCINT5 |
volatile uint32_t | hcintmsk5 | ALT_USB_HOST_HCINTMSK5 |
volatile uint32_t | hctsiz5 | ALT_USB_HOST_HCTSIZ5 |
volatile uint32_t | hcdma5 | ALT_USB_HOST_HCDMA5 |
volatile uint32_t | hcdmab5 | ALT_USB_HOST_HCDMAB5 |
volatile uint32_t | _pad_0x1bc_0x1bf | UNDEFINED |
volatile uint32_t | hcchar6 | ALT_USB_HOST_HCCHAR6 |
volatile uint32_t | hcsplt6 | ALT_USB_HOST_HCSPLT6 |
volatile uint32_t | hcint6 | ALT_USB_HOST_HCINT6 |
volatile uint32_t | hcintmsk6 | ALT_USB_HOST_HCINTMSK6 |
volatile uint32_t | hctsiz6 | ALT_USB_HOST_HCTSIZ6 |
volatile uint32_t | hcdma6 | ALT_USB_HOST_HCDMA6 |
volatile uint32_t | hcdmab6 | ALT_USB_HOST_HCDMAB6 |
volatile uint32_t | _pad_0x1dc_0x1df | UNDEFINED |
volatile uint32_t | hcchar7 | ALT_USB_HOST_HCCHAR7 |
volatile uint32_t | hcsplt7 | ALT_USB_HOST_HCSPLT7 |
volatile uint32_t | hcint7 | ALT_USB_HOST_HCINT7 |
volatile uint32_t | hcintmsk7 | ALT_USB_HOST_HCINTMSK7 |
volatile uint32_t | hctsiz7 | ALT_USB_HOST_HCTSIZ7 |
volatile uint32_t | hcdma7 | ALT_USB_HOST_HCDMA7 |
volatile uint32_t | hcdmab7 | ALT_USB_HOST_HCDMAB7 |
volatile uint32_t | _pad_0x1fc_0x1ff | UNDEFINED |
volatile uint32_t | hcchar8 | ALT_USB_HOST_HCCHAR8 |
volatile uint32_t | hcsplt8 | ALT_USB_HOST_HCSPLT8 |
volatile uint32_t | hcint8 | ALT_USB_HOST_HCINT8 |
volatile uint32_t | hcintmsk8 | ALT_USB_HOST_HCINTMSK8 |
volatile uint32_t | hctsiz8 | ALT_USB_HOST_HCTSIZ8 |
volatile uint32_t | hcdma8 | ALT_USB_HOST_HCDMA8 |
volatile uint32_t | hcdmab8 | ALT_USB_HOST_HCDMAB8 |
volatile uint32_t | _pad_0x21c_0x21f | UNDEFINED |
volatile uint32_t | hcchar9 | ALT_USB_HOST_HCCHAR9 |
volatile uint32_t | hcsplt9 | ALT_USB_HOST_HCSPLT9 |
volatile uint32_t | hcint9 | ALT_USB_HOST_HCINT9 |
volatile uint32_t | hcintmsk9 | ALT_USB_HOST_HCINTMSK9 |
volatile uint32_t | hctsiz9 | ALT_USB_HOST_HCTSIZ9 |
volatile uint32_t | hcdma9 | ALT_USB_HOST_HCDMA9 |
volatile uint32_t | hcdmab9 | ALT_USB_HOST_HCDMAB9 |
volatile uint32_t | _pad_0x23c_0x23f | UNDEFINED |
volatile uint32_t | hcchar10 | ALT_USB_HOST_HCCHAR10 |
volatile uint32_t | hcsplt10 | ALT_USB_HOST_HCSPLT10 |
volatile uint32_t | hcint10 | ALT_USB_HOST_HCINT10 |
volatile uint32_t | hcintmsk10 | ALT_USB_HOST_HCINTMSK10 |
volatile uint32_t | hctsiz10 | ALT_USB_HOST_HCTSIZ10 |
volatile uint32_t | hcdma10 | ALT_USB_HOST_HCDMA10 |
volatile uint32_t | hcdmab10 | ALT_USB_HOST_HCDMAB10 |
volatile uint32_t | _pad_0x25c_0x25f | UNDEFINED |
volatile uint32_t | hcchar11 | ALT_USB_HOST_HCCHAR11 |
volatile uint32_t | HCSPLT11 | ALT_USB_HOST_HCSPLT11 |
volatile uint32_t | hcint11 | ALT_USB_HOST_HCINT11 |
volatile uint32_t | hcintmsk11 | ALT_USB_HOST_HCINTMSK11 |
volatile uint32_t | hctsiz11 | ALT_USB_HOST_HCTSIZ11 |
volatile uint32_t | hcdma11 | ALT_USB_HOST_HCDMA11 |
volatile uint32_t | hcdmab11 | ALT_USB_HOST_HCDMAB11 |
volatile uint32_t | _pad_0x27c_0x27f | UNDEFINED |
volatile uint32_t | hcchar12 | ALT_USB_HOST_HCCHAR12 |
volatile uint32_t | hcsplt12 | ALT_USB_HOST_HCSPLT12 |
volatile uint32_t | hcint12 | ALT_USB_HOST_HCINT12 |
volatile uint32_t | hcintmsk12 | ALT_USB_HOST_HCINTMSK12 |
volatile uint32_t | hctsiz12 | ALT_USB_HOST_HCTSIZ12 |
volatile uint32_t | hcdma12 | ALT_USB_HOST_HCDMA12 |
volatile uint32_t | hcdmab12 | ALT_USB_HOST_HCDMAB12 |
volatile uint32_t | _pad_0x29c_0x29f | UNDEFINED |
volatile uint32_t | hcchar13 | ALT_USB_HOST_HCCHAR13 |
volatile uint32_t | hcsplt13 | ALT_USB_HOST_HCSPLT13 |
volatile uint32_t | hcint13 | ALT_USB_HOST_HCINT13 |
volatile uint32_t | hcintmsk13 | ALT_USB_HOST_HCINTMSK13 |
volatile uint32_t | hctsiz13 | ALT_USB_HOST_HCTSIZ13 |
volatile uint32_t | hcdma13 | ALT_USB_HOST_HCDMA13 |
volatile uint32_t | hcdmab13 | ALT_USB_HOST_HCDMAB13 |
volatile uint32_t | _pad_0x2bc_0x2bf | UNDEFINED |
volatile uint32_t | hcchar14 | ALT_USB_HOST_HCCHAR14 |
volatile uint32_t | hcsplt14 | ALT_USB_HOST_HCSPLT14 |
volatile uint32_t | hcint14 | ALT_USB_HOST_HCINT14 |
volatile uint32_t | hcintmsk14 | ALT_USB_HOST_HCINTMSK14 |
volatile uint32_t | hctsiz14 | ALT_USB_HOST_HCTSIZ14 |
volatile uint32_t | hcdma14 | ALT_USB_HOST_HCDMA14 |
volatile uint32_t | hcdmab14 | ALT_USB_HOST_HCDMAB14 |
volatile uint32_t | _pad_0x2dc_0x2df | UNDEFINED |
volatile uint32_t | hcchar15 | ALT_USB_HOST_HCCHAR15 |
volatile uint32_t | hcsplt15 | ALT_USB_HOST_HCSPLT15 |
volatile uint32_t | hcint15 | ALT_USB_HOST_HCINT15 |
volatile uint32_t | hcintmsk15 | ALT_USB_HOST_HCINTMSK15 |
volatile uint32_t | hctsiz15 | ALT_USB_HOST_HCTSIZ15 |
volatile uint32_t | hcdma15 | ALT_USB_HOST_HCDMA15 |
volatile uint32_t | hcdmab15 | ALT_USB_HOST_HCDMAB15 |
typedef struct ALT_USB_HOST_s ALT_USB_HOST_t |
The typedef declaration for register group ALT_USB_HOST.
typedef struct ALT_USB_HOST_raw_s ALT_USB_HOST_raw_t |
The typedef declaration for the raw register contents of register group ALT_USB_HOST.