Nut/OS  5.0.5
API Reference
otgd_fs_regs.h File Reference
Include dependency graph for otgd_fs_regs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _USB_OTG_common_regs
struct  _USB_OTG_dev_regs
struct  _USB_OTG_dev_in_ep_regs
struct  _USB_OTG_dev_out_ep_regs
struct  _USB_OTG_host_regs
struct  _USB_OTG_hc_regs
struct  USB_OTG_core_regs
union  _USB_OTG_OTG_ctl_data
union  _USB_OTG_OTG_int_data
union  _USB_OTG_ahb_cfg_data
union  _USB_OTG_usb_cfg_data
union  _USB_OTG_rst_ctl_data
union  _USB_OTG_int_msk_data
union  _USB_OTG_int_sts_data
union  _USB_OTG_dev_rx_sts_data
union  _USB_OTG_host_rx_sts_data
union  _USB_OTG_fifo_size_data
union  _USB_OTG_np_tx_sts_data
union  _USB_OTG_dev_tx_fifo_sts_data
union  _USB_OTG_i2c_ctl_data
union  _USB_OTG_gpio_data
union  _USB_OTG_hw_cfg1_data
union  _USB_OTG_hw_cfg2_data
union  _USB_OTG_hw_cfg3_data
union  _USB_OTG_hw_cfg4_data
union  _USB_OTG_dev_cfg_data
union  _USB_OTG_dev_ctl_data
union  _USB_OTG_dev_sts_data
union  _USB_OTG_dev_in_ep_int_data
union  _USB_OTG_dev_out_ep_int_data
union  _USB_OTG_dev_all_int_data
union  _USB_OTG_token_qr1_data
union  _USB_OTG_dev_thr_ctl_data
union  _USB_OTG_dev_ep_ctl_data
union  _USB_OTG_dev_ep_txfer_siz_data
union  _USB_OTG_dev_ep_txfer_size0_data
union  _USB_OTG_host_cfg_data
union  _USB_OTG_Host_frm_intrvl_data
union  _USB_OTG_host_frm_nbr_data
union  _USB_OTG_host_perio_tx_sts_data
union  _USB_OTG_hprt0_data
union  _USB_OTG_host_all_int_data
union  _USB_OTG_host_all_int_msk_data
union  _USB_OTG_hc_char_data
union  _USB_OTG_hc_splt_data
union  _USB_OTG_hc_int_data
union  _USB_OTG_hc_txfer_siz_data
union  _USB_OTG_hc_int_msk_data
union  _USB_OTG_host_pcgcctl_data

Defines

#define __IO   volatile
#define USB_OTG_FS1_BASE_ADDR   0x50000000
#define USB_OTG_CORE_GLOBAL_REGS_OFFSET   0x000
#define USB_OTG_DEV_GLOBAL_REG_OFFSET   0x800
#define USB_OTG_DEV_IN_EP_REG_OFFSET   0x900
#define USB_OTG_EP_REG_OFFSET   0x20
#define USB_OTG_DEV_OUT_EP_REG_OFFSET   0xB00
#define USB_OTG_HOST_GLOBAL_REG_OFFSET   0x400
#define USB_OTG_HOST_PORT_REGS_OFFSET   0x440
#define USB_OTG_HOST_CHAN_REGS_OFFSET   0x500
#define USB_OTG_CHAN_REGS_OFFSET   0x20
#define USB_OTG_PCGCCTL_OFFSET   0xE00
#define USB_OTG_DATA_FIFO_OFFSET   0x1000
#define USB_OTG_DATA_FIFO_SIZE   0x1000
#define MAX_PERIO_FIFOS   8
#define MAX_TX_FIFOS   4
#define MAX_EPS_CHANNELS   8
#define HFNUM_MAX_FRNUM   0x3FFF

Typedefs

typedef struct _USB_OTG_common_regs USB_OTG_common_regs
typedef struct _USB_OTG_dev_regs USB_OTG_dev_regs
typedef struct
_USB_OTG_dev_in_ep_regs 
USB_OTG_dev_in_ep_regs
typedef struct
_USB_OTG_dev_out_ep_regs 
USB_OTG_dev_out_ep_regs
typedef struct _USB_OTG_host_regs USB_OTG_host_regs
typedef struct _USB_OTG_hc_regs USB_OTG_hc_regs
typedef struct USB_OTG_core_regs USB_OTG_CORE_REGS
typedef struct USB_OTG_core_regspUSB_OTG_CORE_REGS
typedef union _USB_OTG_OTG_ctl_data USB_OTG_OTG_ctl_data
typedef union _USB_OTG_OTG_int_data USB_OTG_OTG_int_data
typedef union _USB_OTG_ahb_cfg_data USB_OTG_ahb_cfg_data
typedef union _USB_OTG_usb_cfg_data USB_OTG_usb_cfg_data
typedef union _USB_OTG_rst_ctl_data USB_OTG_rst_ctl_data
typedef union _USB_OTG_int_msk_data USB_OTG_int_msk_data
typedef union _USB_OTG_int_sts_data USB_OTG_int_sts_data
typedef union
_USB_OTG_dev_rx_sts_data 
USB_OTG_dev_rx_sts_data
typedef union
_USB_OTG_host_rx_sts_data 
USB_OTG_host_rx_sts_data
typedef union
_USB_OTG_fifo_size_data 
USB_OTG_fifo_size_data
typedef union
_USB_OTG_np_tx_sts_data 
USB_OTG_np_tx_sts_data
typedef union
_USB_OTG_dev_tx_fifo_sts_data 
USB_OTG_dev_tx_fifo_sts_data
typedef union _USB_OTG_i2c_ctl_data USB_OTG_i2c_ctl_data
typedef union _USB_OTG_gpio_data USB_OTG_gpio_data
typedef union _USB_OTG_hw_cfg1_data USB_OTG_hw_cfg1_data
typedef union _USB_OTG_hw_cfg2_data USB_OTG_hw_cfg2_data
typedef union _USB_OTG_hw_cfg3_data USB_OTG_hw_cfg3_data
typedef union _USB_OTG_hw_cfg4_data USB_OTG_hw_cfg4_data
typedef union _USB_OTG_dev_cfg_data USB_OTG_dev_cfg_data
typedef union _USB_OTG_dev_ctl_data USB_OTG_dev_ctl_data
typedef union _USB_OTG_dev_sts_data USB_OTG_dev_sts_data
typedef union
_USB_OTG_dev_in_ep_int_data 
USB_OTG_dev_in_ep_int_data
typedef union
_USB_OTG_dev_in_ep_int_data 
USB_OTG_dev_in_ep_msk_data
typedef union
_USB_OTG_dev_out_ep_int_data 
USB_OTG_dev_out_ep_int_data
typedef union
_USB_OTG_dev_out_ep_int_data 
USB_OTG_dev_out_ep_msk_data
typedef union
_USB_OTG_dev_all_int_data 
USB_OTG_dev_all_int_data
typedef union
_USB_OTG_token_qr1_data 
USB_OTG_token_qr1_data
typedef union
_USB_OTG_dev_thr_ctl_data 
USB_OTG_dev_thr_ctl_data
typedef union
_USB_OTG_dev_ep_ctl_data 
USB_OTG_dev_ep_ctl_data
typedef union
_USB_OTG_dev_ep_txfer_siz_data 
USB_OTG_dev_ep_txfer_siz_data
typedef union
_USB_OTG_dev_ep_txfer_size0_data 
USB_OTG_dev_ep_txfer_size0_data
typedef union
_USB_OTG_host_cfg_data 
USB_OTG_host_cfg_data
typedef union
_USB_OTG_Host_frm_intrvl_data 
USB_OTG_Host_frm_intrvl_data
typedef union
_USB_OTG_host_frm_nbr_data 
USB_OTG_host_frm_nbr_data
typedef union
_USB_OTG_host_perio_tx_sts_data 
USB_OTG_host_perio_tx_sts_data
typedef union _USB_OTG_hprt0_data USB_OTG_hprt0_data
typedef union
_USB_OTG_host_all_int_data 
USB_OTG_host_all_int_data
typedef union
_USB_OTG_host_all_int_msk_data 
USB_OTG_host_all_int_msk_data
typedef union _USB_OTG_hc_char_data USB_OTG_hc_char_data
typedef union _USB_OTG_hc_splt_data USB_OTG_hc_splt_data
typedef union _USB_OTG_hc_int_data USB_OTG_hc_int_data
typedef union
_USB_OTG_hc_txfer_siz_data 
USB_OTG_hc_txfer_siz_data
typedef union
_USB_OTG_hc_int_msk_data 
USB_OTG_hc_int_msk_data
typedef union
_USB_OTG_host_pcgcctl_data 
USB_OTG_host_pcgcctl_data

Define Documentation

#define __IO   volatile
#define USB_OTG_FS1_BASE_ADDR   0x50000000

Referenced by OTG_DEV_Init().

#define USB_OTG_CORE_GLOBAL_REGS_OFFSET   0x000

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_DEV_GLOBAL_REG_OFFSET   0x800

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_DEV_IN_EP_REG_OFFSET   0x900

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_EP_REG_OFFSET   0x20

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_DEV_OUT_EP_REG_OFFSET   0xB00

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_HOST_GLOBAL_REG_OFFSET   0x400

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_HOST_PORT_REGS_OFFSET   0x440

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_HOST_CHAN_REGS_OFFSET   0x500

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_CHAN_REGS_OFFSET   0x20

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_PCGCCTL_OFFSET   0xE00

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_DATA_FIFO_OFFSET   0x1000

Referenced by OTGD_FS_SetAddress().

#define USB_OTG_DATA_FIFO_SIZE   0x1000

Referenced by OTGD_FS_SetAddress().

#define MAX_PERIO_FIFOS   8
#define MAX_TX_FIFOS   4
#define MAX_EPS_CHANNELS   8

Referenced by OTGD_FS_SetAddress().

#define HFNUM_MAX_FRNUM   0x3FFF

Typedef Documentation