Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
Register Group : Global Registers - ALT_USB_GLOB

Description

Global Registers

These registers are available in both Host and Device modes, and do not need to be reprogrammed when switching between these modes.

Members

 Register : OTG Control and Status Register - gotgctl
 
 Register : OTG Interrupt Register - gotgint
 
 Register : AHB Configuration Register - gahbcfg
 
 Register : USB Configuration Registe - gusbcfg
 
 Register : Reset Register - grstctl
 
 Register : Interrupt Register - gintsts
 
 Register : Interrupt Mask Register - gintmsk
 
 Register : Receive Status Debug Read Register - grxstsr
 
 Register : Receive Status Read Pop Register - grxstsp
 
 Register : Receive FIFO Size Register - grxfsiz
 
 Register : Non-periodic Transmit FIFO Size Register - gnptxfsiz
 
 Register : Non-periodic Transmit FIFO Queue Status Register - gnptxsts
 
 Register : PHY Vendor Control Register - gpvndctl
 
 Register : General Purpose Input Output Register - ggpio
 
 Register : User ID Register - guid
 
 Register : Synopsys ID Register - gsnpsid
 
 Register : User HW Config1 Register - ghwcfg1
 
 Register : User HW Config2 Register - ghwcfg2
 
 Register : User HW Config3 Register - ghwcfg3
 
 Register : User HW Config4 Register - ghwcfg4
 
 Register : DFIFO Software Config Register - gdfifocfg
 
 Register : Host Periodic Transmit FIFO Size Register - hptxfsiz
 
 Register : Device IN Endpoint Transmit FIFO Size Register 1 - dieptxf1
 
 Register : Device IN Endpoint Transmit FIFO Size Register 2 - dieptxf2
 
 Register : Device IN Endpoint Transmit FIFO Size Register 3 - dieptxf3
 
 Register : Device IN Endpoint Transmit FIFO Size Register 4 - dieptxf4
 
 Register : Device IN Endpoint Transmit FIFO Size Register 5 - dieptxf5
 
 Register : Device IN Endpoint Transmit FIFO Size Register 6 - dieptxf6
 
 Register : Device IN Endpoint Transmit FIFO Size Register 7 - dieptxf7
 
 Register : Device IN Endpoint Transmit FIFO Size Register 8 - dieptxf8
 
 Register : Device IN Endpoint Transmit FIFO Size Register 9 - dieptxf9
 
 Register : Device IN Endpoint Transmit FIFO Size Register 10 - dieptxf10
 
 Register : Device IN Endpoint Transmit FIFO Size Register 11 - dieptxf11
 
 Register : Device IN Endpoint Transmit FIFO Size Register 12 - dieptxf12
 
 Register : Device IN Endpoint Transmit FIFO Size Register 13 - dieptxf13
 
 Register : Device IN Endpoint Transmit FIFO Size Register 14 - dieptxf14
 
 Register : Device IN Endpoint Transmit FIFO Size Register 15 - dieptxf15
 

Data Structures

struct  ALT_USB_GLOB_s
 
struct  ALT_USB_GLOB_raw_s
 

Typedefs

typedef struct ALT_USB_GLOB_s ALT_USB_GLOB_t
 
typedef struct ALT_USB_GLOB_raw_s ALT_USB_GLOB_raw_t
 

Data Structure Documentation

struct ALT_USB_GLOB_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_GLOB.

Data Fields
volatile ALT_USB_GLOB_GOTGCTL_t gotgctl ALT_USB_GLOB_GOTGCTL
volatile ALT_USB_GLOB_GOTGINT_t gotgint ALT_USB_GLOB_GOTGINT
volatile ALT_USB_GLOB_GAHBCFG_t gahbcfg ALT_USB_GLOB_GAHBCFG
volatile ALT_USB_GLOB_GUSBCFG_t gusbcfg ALT_USB_GLOB_GUSBCFG
volatile ALT_USB_GLOB_GRSTCTL_t grstctl ALT_USB_GLOB_GRSTCTL
volatile ALT_USB_GLOB_GINTSTS_t gintsts ALT_USB_GLOB_GINTSTS
volatile ALT_USB_GLOB_GINTMSK_t gintmsk ALT_USB_GLOB_GINTMSK
volatile ALT_USB_GLOB_GRXSTSR_t grxstsr ALT_USB_GLOB_GRXSTSR
volatile ALT_USB_GLOB_GRXSTSP_t grxstsp ALT_USB_GLOB_GRXSTSP
volatile ALT_USB_GLOB_GRXFSIZ_t grxfsiz ALT_USB_GLOB_GRXFSIZ
volatile ALT_USB_GLOB_GNPTXFSIZ_t gnptxfsiz ALT_USB_GLOB_GNPTXFSIZ
volatile ALT_USB_GLOB_GNPTXSTS_t gnptxsts ALT_USB_GLOB_GNPTXSTS
volatile uint32_t _pad_0x30_0x33 UNDEFINED
volatile ALT_USB_GLOB_GPVNDCTL_t gpvndctl ALT_USB_GLOB_GPVNDCTL
volatile ALT_USB_GLOB_GGPIO_t ggpio ALT_USB_GLOB_GGPIO
volatile ALT_USB_GLOB_GUID_t guid ALT_USB_GLOB_GUID
volatile ALT_USB_GLOB_GSNPSID_t gsnpsid ALT_USB_GLOB_GSNPSID
volatile ALT_USB_GLOB_GHWCFG1_t ghwcfg1 ALT_USB_GLOB_GHWCFG1
volatile ALT_USB_GLOB_GHWCFG2_t ghwcfg2 ALT_USB_GLOB_GHWCFG2
volatile ALT_USB_GLOB_GHWCFG3_t ghwcfg3 ALT_USB_GLOB_GHWCFG3
volatile ALT_USB_GLOB_GHWCFG4_t ghwcfg4 ALT_USB_GLOB_GHWCFG4
volatile uint32_t _pad_0x54_0x5b UNDEFINED
volatile ALT_USB_GLOB_GDFIFOCFG_t gdfifocfg ALT_USB_GLOB_GDFIFOCFG
volatile uint32_t _pad_0x60_0xff UNDEFINED
volatile ALT_USB_GLOB_HPTXFSIZ_t hptxfsiz ALT_USB_GLOB_HPTXFSIZ
volatile ALT_USB_GLOB_DIEPTXF1_t dieptxf1 ALT_USB_GLOB_DIEPTXF1
volatile ALT_USB_GLOB_DIEPTXF2_t dieptxf2 ALT_USB_GLOB_DIEPTXF2
volatile ALT_USB_GLOB_DIEPTXF3_t dieptxf3 ALT_USB_GLOB_DIEPTXF3
volatile ALT_USB_GLOB_DIEPTXF4_t dieptxf4 ALT_USB_GLOB_DIEPTXF4
volatile ALT_USB_GLOB_DIEPTXF5_t dieptxf5 ALT_USB_GLOB_DIEPTXF5
volatile ALT_USB_GLOB_DIEPTXF6_t dieptxf6 ALT_USB_GLOB_DIEPTXF6
volatile ALT_USB_GLOB_DIEPTXF7_t dieptxf7 ALT_USB_GLOB_DIEPTXF7
volatile ALT_USB_GLOB_DIEPTXF8_t dieptxf8 ALT_USB_GLOB_DIEPTXF8
volatile ALT_USB_GLOB_DIEPTXF9_t dieptxf9 ALT_USB_GLOB_DIEPTXF9
volatile ALT_USB_GLOB_DIEPTXF10_t dieptxf10 ALT_USB_GLOB_DIEPTXF10
volatile ALT_USB_GLOB_DIEPTXF11_t dieptxf11 ALT_USB_GLOB_DIEPTXF11
volatile ALT_USB_GLOB_DIEPTXF12_t dieptxf12 ALT_USB_GLOB_DIEPTXF12
volatile ALT_USB_GLOB_DIEPTXF13_t dieptxf13 ALT_USB_GLOB_DIEPTXF13
volatile ALT_USB_GLOB_DIEPTXF14_t dieptxf14 ALT_USB_GLOB_DIEPTXF14
volatile ALT_USB_GLOB_DIEPTXF15_t dieptxf15 ALT_USB_GLOB_DIEPTXF15
struct ALT_USB_GLOB_raw_s

The struct declaration for the raw register contents of register group ALT_USB_GLOB.

Data Fields
volatile uint32_t gotgctl ALT_USB_GLOB_GOTGCTL
volatile uint32_t gotgint ALT_USB_GLOB_GOTGINT
volatile uint32_t gahbcfg ALT_USB_GLOB_GAHBCFG
volatile uint32_t gusbcfg ALT_USB_GLOB_GUSBCFG
volatile uint32_t grstctl ALT_USB_GLOB_GRSTCTL
volatile uint32_t gintsts ALT_USB_GLOB_GINTSTS
volatile uint32_t gintmsk ALT_USB_GLOB_GINTMSK
volatile uint32_t grxstsr ALT_USB_GLOB_GRXSTSR
volatile uint32_t grxstsp ALT_USB_GLOB_GRXSTSP
volatile uint32_t grxfsiz ALT_USB_GLOB_GRXFSIZ
volatile uint32_t gnptxfsiz ALT_USB_GLOB_GNPTXFSIZ
volatile uint32_t gnptxsts ALT_USB_GLOB_GNPTXSTS
volatile uint32_t _pad_0x30_0x33 UNDEFINED
volatile uint32_t gpvndctl ALT_USB_GLOB_GPVNDCTL
volatile uint32_t ggpio ALT_USB_GLOB_GGPIO
volatile uint32_t guid ALT_USB_GLOB_GUID
volatile uint32_t gsnpsid ALT_USB_GLOB_GSNPSID
volatile uint32_t ghwcfg1 ALT_USB_GLOB_GHWCFG1
volatile uint32_t ghwcfg2 ALT_USB_GLOB_GHWCFG2
volatile uint32_t ghwcfg3 ALT_USB_GLOB_GHWCFG3
volatile uint32_t ghwcfg4 ALT_USB_GLOB_GHWCFG4
volatile uint32_t _pad_0x54_0x5b UNDEFINED
volatile uint32_t gdfifocfg ALT_USB_GLOB_GDFIFOCFG
volatile uint32_t _pad_0x60_0xff UNDEFINED
volatile uint32_t hptxfsiz ALT_USB_GLOB_HPTXFSIZ
volatile uint32_t dieptxf1 ALT_USB_GLOB_DIEPTXF1
volatile uint32_t dieptxf2 ALT_USB_GLOB_DIEPTXF2
volatile uint32_t dieptxf3 ALT_USB_GLOB_DIEPTXF3
volatile uint32_t dieptxf4 ALT_USB_GLOB_DIEPTXF4
volatile uint32_t dieptxf5 ALT_USB_GLOB_DIEPTXF5
volatile uint32_t dieptxf6 ALT_USB_GLOB_DIEPTXF6
volatile uint32_t dieptxf7 ALT_USB_GLOB_DIEPTXF7
volatile uint32_t dieptxf8 ALT_USB_GLOB_DIEPTXF8
volatile uint32_t dieptxf9 ALT_USB_GLOB_DIEPTXF9
volatile uint32_t dieptxf10 ALT_USB_GLOB_DIEPTXF10
volatile uint32_t dieptxf11 ALT_USB_GLOB_DIEPTXF11
volatile uint32_t dieptxf12 ALT_USB_GLOB_DIEPTXF12
volatile uint32_t dieptxf13 ALT_USB_GLOB_DIEPTXF13
volatile uint32_t dieptxf14 ALT_USB_GLOB_DIEPTXF14
volatile uint32_t dieptxf15 ALT_USB_GLOB_DIEPTXF15

Typedef Documentation

The typedef declaration for register group ALT_USB_GLOB.

The typedef declaration for the raw register contents of register group ALT_USB_GLOB.