|
|
|
@ -1,6 +1,6 @@ |
|
|
|
|
;********************************************************************************
|
|
|
|
|
; SOUBOR : INI_BITS_USB.S
|
|
|
|
|
; AUTOR : Petr Dousa, Ondrej Hruska
|
|
|
|
|
; SOUBOR : INI_USB.S
|
|
|
|
|
; AUTOR : Ondrej Hruska
|
|
|
|
|
; DATUM : 10/2015
|
|
|
|
|
; POPIS : Bitove masky ridicich registru pro USB
|
|
|
|
|
;
|
|
|
|
@ -16,7 +16,21 @@ |
|
|
|
|
;*
|
|
|
|
|
;****************************************************************************
|
|
|
|
|
|
|
|
|
|
; TODO where are the registers??
|
|
|
|
|
USB_EP0R EQU (_USB + 0x00) ;USB endpoint n register
|
|
|
|
|
USB_EP1R EQU (_USB + 0x04) |
|
|
|
|
USB_EP2R EQU (_USB + 0x08) |
|
|
|
|
USB_EP3R EQU (_USB + 0x0C) |
|
|
|
|
USB_EP4R EQU (_USB + 0x10) |
|
|
|
|
USB_EP5R EQU (_USB + 0x14) |
|
|
|
|
USB_EP6R EQU (_USB + 0x18) |
|
|
|
|
USB_EP7R EQU (_USB + 0x1C) |
|
|
|
|
|
|
|
|
|
USB_CNTR EQU (_USB + 0x40) ;USB control register
|
|
|
|
|
USB_ISTR EQU (_USB + 0x44) ;USB interrupt status register
|
|
|
|
|
USB_FNR EQU (_USB + 0x48) ;USB frame number register
|
|
|
|
|
USB_DADDR EQU (_USB + 0x4C) ;USB device address
|
|
|
|
|
USB_BTABLE EQU (_USB + 0x50) ;Buffer descriptor table (pointer to user's buffer description table)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;****************************************************************************
|
|
|
|
|