usb_otg_w2fc.h
来自「OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI」· C头文件 代码 · 共 870 行 · 第 1/5 页
H
870 行
#define USB_OTG_W2FC_DATA_8_3_DATA_RES_VAL 0x0000
//R/W
#define USB_OTG_W2FC_DATA_16_0 REG16(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_DATA_OFFSET*coeff16_arm+0)
#define USB_OTG_W2FC_DATA_16_0_DATA_POS 0
#define USB_OTG_W2FC_DATA_16_0_DATA_NUMB 16
#define USB_OTG_W2FC_DATA_16_0_DATA_RES_VAL 0x0000
//R/W
#define USB_OTG_W2FC_DATA_16_2 REG16(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_DATA_OFFSET*coeff16_arm+2)
#define USB_OTG_W2FC_DATA_16_2_DATA_POS 0
#define USB_OTG_W2FC_DATA_16_2_DATA_NUMB 16
#define USB_OTG_W2FC_DATA_16_2_DATA_RES_VAL 0x0000
//R/W
#define USB_OTG_W2FC_DATA_32 REG32(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_DATA_OFFSET*coeff32_arm)
#define USB_OTG_W2FC_DATA_32_DATA_POS 0
#define USB_OTG_W2FC_DATA_32_DATA_NUMB 16
#define USB_OTG_W2FC_DATA_32_DATA_RES_VAL 0x0000
//R/W
//USB_OTG_W2FC_CTRL
//-------------------
#define USB_OTG_W2FC_CTRL_8_0 REG8(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_CTRL_OFFSET*coeff8_arm+0)
#define USB_OTG_W2FC_CTRL_8_0_CLR_HALT_POS 7
#define USB_OTG_W2FC_CTRL_8_0_CLR_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_0_CLR_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_0_SET_HALT_POS 6
#define USB_OTG_W2FC_CTRL_8_0_SET_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_0_SET_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_0_SET_FIFO_EN_POS 2
#define USB_OTG_W2FC_CTRL_8_0_SET_FIFO_EN_NUMB 1
#define USB_OTG_W2FC_CTRL_8_0_SET_FIFO_EN_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_0_CLR_EP_POS 1
#define USB_OTG_W2FC_CTRL_8_0_CLR_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_0_CLR_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_0_RESET_EP_POS 0
#define USB_OTG_W2FC_CTRL_8_0_RESET_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_0_RESET_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_1 REG8(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_CTRL_OFFSET*coeff8_arm+1)
#define USB_OTG_W2FC_CTRL_8_1_CLR_HALT_POS 7
#define USB_OTG_W2FC_CTRL_8_1_CLR_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_1_CLR_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_1_SET_HALT_POS 6
#define USB_OTG_W2FC_CTRL_8_1_SET_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_1_SET_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_1_SET_FIFO_EN_POS 2
#define USB_OTG_W2FC_CTRL_8_1_SET_FIFO_EN_NUMB 1
#define USB_OTG_W2FC_CTRL_8_1_SET_FIFO_EN_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_1_CLR_EP_POS 1
#define USB_OTG_W2FC_CTRL_8_1_CLR_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_1_CLR_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_1_RESET_EP_POS 0
#define USB_OTG_W2FC_CTRL_8_1_RESET_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_1_RESET_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_2 REG8(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_CTRL_OFFSET*coeff8_arm+2)
#define USB_OTG_W2FC_CTRL_8_2_CLR_HALT_POS 7
#define USB_OTG_W2FC_CTRL_8_2_CLR_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_2_CLR_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_2_SET_HALT_POS 6
#define USB_OTG_W2FC_CTRL_8_2_SET_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_2_SET_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_2_SET_FIFO_EN_POS 2
#define USB_OTG_W2FC_CTRL_8_2_SET_FIFO_EN_NUMB 1
#define USB_OTG_W2FC_CTRL_8_2_SET_FIFO_EN_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_2_CLR_EP_POS 1
#define USB_OTG_W2FC_CTRL_8_2_CLR_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_2_CLR_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_2_RESET_EP_POS 0
#define USB_OTG_W2FC_CTRL_8_2_RESET_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_2_RESET_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_3 REG8(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_CTRL_OFFSET*coeff8_arm+3)
#define USB_OTG_W2FC_CTRL_8_3_CLR_HALT_POS 7
#define USB_OTG_W2FC_CTRL_8_3_CLR_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_3_CLR_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_3_SET_HALT_POS 6
#define USB_OTG_W2FC_CTRL_8_3_SET_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_8_3_SET_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_3_SET_FIFO_EN_POS 2
#define USB_OTG_W2FC_CTRL_8_3_SET_FIFO_EN_NUMB 1
#define USB_OTG_W2FC_CTRL_8_3_SET_FIFO_EN_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_3_CLR_EP_POS 1
#define USB_OTG_W2FC_CTRL_8_3_CLR_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_3_CLR_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_8_3_RESET_EP_POS 0
#define USB_OTG_W2FC_CTRL_8_3_RESET_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_8_3_RESET_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_16_0 REG16(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_CTRL_OFFSET*coeff16_arm+0)
#define USB_OTG_W2FC_CTRL_16_0_CLR_HALT_POS 7
#define USB_OTG_W2FC_CTRL_16_0_CLR_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_16_0_CLR_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_16_0_SET_HALT_POS 6
#define USB_OTG_W2FC_CTRL_16_0_SET_HALT_NUMB 1
#define USB_OTG_W2FC_CTRL_16_0_SET_HALT_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_16_0_SET_FIFO_EN_POS 2
#define USB_OTG_W2FC_CTRL_16_0_SET_FIFO_EN_NUMB 1
#define USB_OTG_W2FC_CTRL_16_0_SET_FIFO_EN_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_16_0_CLR_EP_POS 1
#define USB_OTG_W2FC_CTRL_16_0_CLR_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_16_0_CLR_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_16_0_RESET_EP_POS 0
#define USB_OTG_W2FC_CTRL_16_0_RESET_EP_NUMB 1
#define USB_OTG_W2FC_CTRL_16_0_RESET_EP_RES_VAL 0x0
//W
#define USB_OTG_W2FC_CTRL_16_2 REG16(USB_OTG_W2FC_BASE_ADDR_ARM+USB_OTG_W2FC_CTRL_OFFSET*coeff16_arm+2)
#define USB_OTG_W2FC_CTRL_16_2_CLR_HALT_POS 7
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?