chunping_wang
驱动牛犊
驱动牛犊
  • 注册日期2002-05-15
  • 最后登录2002-06-12
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1040回复:0

USB REGISTER这各定义有没有问题

楼主#
更多 发布于:2002-05-17 10:51
如下这种定义会不会出现冲突(数据互相覆盖)
                ;Control Endpoint 0 buffer
0070=           Endpoint_0:             equ  70h        ; control endpoint
0070=           Endpoint0_Byte0:        equ  70h        ; Endpoint 0, byte 0
0071=           Endpoint0_Byte1:        equ  71h        ; Endpoint 0 byte 1
0072=           Endpoint0_Byte2:        equ  72h        ; Endpoint 0 byte 2
0073=           Endpoint0_Byte3:        equ  73h        ; Endpoint 0 byte 3
0074=           Endpoint0_Byte4:        equ  74h        ; Endpoint 0 byte 4
0075=           Endpoint0_Byte5:        equ  75h        ; Endpoint 0 byte 5
0076=           Endpoint0_Byte6:        equ  76h        ; Endpoint 0 byte 6
0077=           Endpoint0_Byte7:        equ  77h        ; Endpoint 0 byte 7
                
                
                ;Endpoint 0 SETUP packet bytes
0070=           bmRequestType:          equ  70h
0071=           bRequest:               equ  71h
0072=           wValue:                 equ  72h        ; default wValue (8 bits)
0073=           wValueHi:               equ  73h
0074=           wIndex:                 equ  74h        ; default wIndex (8 bits)
0075=           wIndexHi:               equ  75h
0076=           wLength:                equ  76h        ; default wLength (8 bits)
0077=           wLengthHi:              equ  77h
游客

返回顶部