⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usb_otg_w2fc.h

📁 OMAP1030 处理器的ARM 侧硬件测试代码 OMAP1030 是TI的双核处理器
💻 H
📖 第 1 页 / 共 5 页
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -