935 lines
25 KiB
YAML
935 lines
25 KiB
YAML
---
|
|
block/OTG_FS:
|
|
description: USB on the go full speed
|
|
items:
|
|
- name: OTG_FS_GOTGCTL
|
|
description: OTG_FS control and status register (OTG_FS_GOTGCTL)
|
|
byte_offset: 0
|
|
fieldset: OTG_FS_GOTGCTL
|
|
- name: OTG_FS_GOTGINT
|
|
description: OTG_FS interrupt register (OTG_FS_GOTGINT)
|
|
byte_offset: 4
|
|
fieldset: OTG_FS_GOTGINT
|
|
- name: OTG_FS_GAHBCFG
|
|
description: OTG_FS AHB configuration register (OTG_FS_GAHBCFG)
|
|
byte_offset: 8
|
|
fieldset: OTG_FS_GAHBCFG
|
|
- name: OTG_FS_GUSBCFG
|
|
description: OTG_FS USB configuration register (OTG_FS_GUSBCFG)
|
|
byte_offset: 12
|
|
fieldset: OTG_FS_GUSBCFG
|
|
- name: OTG_FS_GRSTCTL
|
|
description: OTG_FS reset register (OTG_FS_GRSTCTL)
|
|
byte_offset: 16
|
|
fieldset: OTG_FS_GRSTCTL
|
|
- name: OTG_FS_GINTSTS
|
|
description: OTG_FS core interrupt register (OTG_FS_GINTSTS)
|
|
byte_offset: 20
|
|
fieldset: OTG_FS_GINTSTS
|
|
- name: OTG_FS_GINTMSK
|
|
description: OTG_FS interrupt mask register (OTG_FS_GINTMSK)
|
|
byte_offset: 24
|
|
fieldset: OTG_FS_GINTMSK
|
|
- name: OTG_FS_GRXSTSR_Device
|
|
description: OTG_FS Receive status debug read(Device mode)
|
|
byte_offset: 28
|
|
access: Read
|
|
fieldset: OTG_FS_GRXSTSR_Device
|
|
- name: OTG_FS_GRXSTSR_Host
|
|
description: OTG_FS Receive status debug read(Host mode)
|
|
byte_offset: 28
|
|
access: Read
|
|
fieldset: OTG_FS_GRXSTSR_Host
|
|
- name: OTG_FS_GRXSTSP_Device
|
|
description: OTG status read and pop register (Device mode)
|
|
byte_offset: 32
|
|
access: Read
|
|
fieldset: OTG_FS_GRXSTSP_Device
|
|
- name: OTG_FS_GRXSTSP_Host
|
|
description: OTG status read and pop register (Host mode)
|
|
byte_offset: 32
|
|
access: Read
|
|
fieldset: OTG_FS_GRXSTSP_Host
|
|
- name: OTG_FS_GRXFSIZ
|
|
description: OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)
|
|
byte_offset: 36
|
|
fieldset: OTG_FS_GRXFSIZ
|
|
- name: OTG_FS_DIEPTXF0_Device
|
|
description: OTG_FS Endpoint 0 Transmit FIFO size
|
|
byte_offset: 40
|
|
fieldset: OTG_FS_DIEPTXF0_Device
|
|
- name: OTG_FS_HNPTXFSIZ_Host
|
|
description: OTG_FS Host non-periodic transmit FIFO size register
|
|
byte_offset: 40
|
|
fieldset: OTG_FS_HNPTXFSIZ_Host
|
|
- name: OTG_FS_HNPTXSTS
|
|
description: OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)
|
|
byte_offset: 44
|
|
access: Read
|
|
fieldset: OTG_FS_HNPTXSTS
|
|
- name: OTG_FS_GI2CCTL
|
|
description: OTG I2C access register
|
|
byte_offset: 48
|
|
fieldset: OTG_FS_GI2CCTL
|
|
- name: OTG_FS_GCCFG
|
|
description: OTG_FS general core configuration register (OTG_FS_GCCFG)
|
|
byte_offset: 56
|
|
fieldset: OTG_FS_GCCFG
|
|
- name: OTG_FS_CID
|
|
description: core ID register
|
|
byte_offset: 60
|
|
fieldset: OTG_FS_CID
|
|
- name: OTG_FS_GLPMCFG
|
|
description: OTG core LPM configuration register
|
|
byte_offset: 84
|
|
fieldset: OTG_FS_GLPMCFG
|
|
- name: OTG_FS_GPWRDN
|
|
description: OTG power down register
|
|
byte_offset: 88
|
|
fieldset: OTG_FS_GPWRDN
|
|
- name: OTG_FS_GADPCTL
|
|
description: "OTG ADP timer, control and status register"
|
|
byte_offset: 96
|
|
fieldset: OTG_FS_GADPCTL
|
|
- name: OTG_FS_HPTXFSIZ
|
|
description: OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)
|
|
byte_offset: 256
|
|
fieldset: OTG_FS_HPTXFSIZ
|
|
- name: OTG_FS_DIEPTXF1
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF1)
|
|
byte_offset: 260
|
|
fieldset: OTG_FS_DIEPTXF1
|
|
- name: OTG_FS_DIEPTXF2
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
|
|
byte_offset: 264
|
|
fieldset: OTG_FS_DIEPTXF2
|
|
- name: OTG_FS_DIEPTXF3
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)
|
|
byte_offset: 268
|
|
fieldset: OTG_FS_DIEPTXF3
|
|
- name: OTG_FS_DIEPTXF4
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)
|
|
byte_offset: 272
|
|
fieldset: OTG_FS_DIEPTXF4
|
|
- name: OTG_FS_DIEPTXF5
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)
|
|
byte_offset: 276
|
|
fieldset: OTG_FS_DIEPTXF5
|
|
fieldset/OTG_FS_CID:
|
|
description: core ID register
|
|
fields:
|
|
- name: PRODUCT_ID
|
|
description: Product ID field
|
|
bit_offset: 0
|
|
bit_size: 32
|
|
fieldset/OTG_FS_DIEPTXF0_Device:
|
|
description: OTG_FS Endpoint 0 Transmit FIFO size
|
|
fields:
|
|
- name: TX0FSA
|
|
description: Endpoint 0 transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: TX0FD
|
|
description: Endpoint 0 TxFIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_DIEPTXF1:
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF1)
|
|
fields:
|
|
- name: INEPTXSA
|
|
description: IN endpoint FIFO2 transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: INEPTXFD
|
|
description: IN endpoint TxFIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_DIEPTXF2:
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
|
|
fields:
|
|
- name: INEPTXSA
|
|
description: IN endpoint FIFO3 transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: INEPTXFD
|
|
description: IN endpoint TxFIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_DIEPTXF3:
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)
|
|
fields:
|
|
- name: INEPTXSA
|
|
description: IN endpoint FIFO4 transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: INEPTXFD
|
|
description: IN endpoint TxFIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_DIEPTXF4:
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)
|
|
fields:
|
|
- name: INEPTXSA
|
|
description: IN endpoint FIFOx transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: INEPTXFD
|
|
description: IN endpoint Tx FIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_DIEPTXF5:
|
|
description: OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)
|
|
fields:
|
|
- name: INEPTXSA
|
|
description: IN endpoint FIFOx transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: INEPTXFD
|
|
description: IN endpoint Tx FIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_GADPCTL:
|
|
description: "OTG ADP timer, control and status register"
|
|
fields:
|
|
- name: PRBDSCHG
|
|
description: Probe discharge
|
|
bit_offset: 0
|
|
bit_size: 2
|
|
- name: PRBDELTA
|
|
description: Probe delta
|
|
bit_offset: 2
|
|
bit_size: 2
|
|
- name: PRBPER
|
|
description: Probe period
|
|
bit_offset: 4
|
|
bit_size: 2
|
|
- name: RTIM
|
|
description: Ramp time
|
|
bit_offset: 6
|
|
bit_size: 11
|
|
- name: ENAPRB
|
|
description: Enable probe
|
|
bit_offset: 17
|
|
bit_size: 1
|
|
- name: ENASNS
|
|
description: Enable sense
|
|
bit_offset: 18
|
|
bit_size: 1
|
|
- name: ADPRST
|
|
description: ADP reset
|
|
bit_offset: 19
|
|
bit_size: 1
|
|
- name: ADPEN
|
|
description: ADP enable
|
|
bit_offset: 20
|
|
bit_size: 1
|
|
- name: ADPPRBIF
|
|
description: ADP probe interrupt flag
|
|
bit_offset: 21
|
|
bit_size: 1
|
|
- name: ADPSNSIF
|
|
description: ADP sense interrupt flag
|
|
bit_offset: 22
|
|
bit_size: 1
|
|
- name: ADPTOIF
|
|
description: ADP timeout interrupt flag
|
|
bit_offset: 23
|
|
bit_size: 1
|
|
- name: ADPPRBIM
|
|
description: ADP probe interrupt mask
|
|
bit_offset: 24
|
|
bit_size: 1
|
|
- name: ADPSNSIM
|
|
description: ADP sense interrupt mask
|
|
bit_offset: 25
|
|
bit_size: 1
|
|
- name: ADPTOIM
|
|
description: ADP timeout interrupt mask
|
|
bit_offset: 26
|
|
bit_size: 1
|
|
- name: AR
|
|
description: Access request
|
|
bit_offset: 27
|
|
bit_size: 2
|
|
fieldset/OTG_FS_GAHBCFG:
|
|
description: OTG_FS AHB configuration register (OTG_FS_GAHBCFG)
|
|
fields:
|
|
- name: GINT
|
|
description: Global interrupt mask
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: TXFELVL
|
|
description: TxFIFO empty level
|
|
bit_offset: 7
|
|
bit_size: 1
|
|
- name: PTXFELVL
|
|
description: Periodic TxFIFO empty level
|
|
bit_offset: 8
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GCCFG:
|
|
description: OTG_FS general core configuration register (OTG_FS_GCCFG)
|
|
fields:
|
|
- name: DCDET
|
|
description: Data contact detection (DCD) status
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: PDET
|
|
description: Primary detection (PD) status
|
|
bit_offset: 1
|
|
bit_size: 1
|
|
- name: SDET
|
|
description: Secondary detection (SD) status
|
|
bit_offset: 2
|
|
bit_size: 1
|
|
- name: PS2DET
|
|
description: DM pull-up detection status
|
|
bit_offset: 3
|
|
bit_size: 1
|
|
- name: PWRDWN
|
|
description: Power down
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
- name: BCDEN
|
|
description: Battery charging detector (BCD) enable
|
|
bit_offset: 17
|
|
bit_size: 1
|
|
- name: DCDEN
|
|
description: Data contact detection (DCD) mode enable
|
|
bit_offset: 18
|
|
bit_size: 1
|
|
- name: PDEN
|
|
description: Primary detection (PD) mode enable
|
|
bit_offset: 19
|
|
bit_size: 1
|
|
- name: SDEN
|
|
description: Secondary detection (SD) mode enable
|
|
bit_offset: 20
|
|
bit_size: 1
|
|
- name: VBDEN
|
|
description: USB VBUS detection enable
|
|
bit_offset: 21
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GI2CCTL:
|
|
description: OTG I2C access register
|
|
fields:
|
|
- name: RWDATA
|
|
description: I2C Read/Write Data
|
|
bit_offset: 0
|
|
bit_size: 8
|
|
- name: REGADDR
|
|
description: I2C Register Address
|
|
bit_offset: 8
|
|
bit_size: 8
|
|
- name: ADDR
|
|
description: I2C Address
|
|
bit_offset: 16
|
|
bit_size: 7
|
|
- name: I2CEN
|
|
description: I2C Enable
|
|
bit_offset: 23
|
|
bit_size: 1
|
|
- name: ACK
|
|
description: I2C ACK
|
|
bit_offset: 24
|
|
bit_size: 1
|
|
- name: I2CDEVADR
|
|
description: I2C Device Address
|
|
bit_offset: 26
|
|
bit_size: 2
|
|
- name: I2CDATSE0
|
|
description: I2C DatSe0 USB mode
|
|
bit_offset: 28
|
|
bit_size: 1
|
|
- name: RW
|
|
description: Read/Write Indicator
|
|
bit_offset: 30
|
|
bit_size: 1
|
|
- name: BSYDNE
|
|
description: I2C Busy/Done
|
|
bit_offset: 31
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GINTMSK:
|
|
description: OTG_FS interrupt mask register (OTG_FS_GINTMSK)
|
|
fields:
|
|
- name: MMISM
|
|
description: Mode mismatch interrupt mask
|
|
bit_offset: 1
|
|
bit_size: 1
|
|
- name: OTGINT
|
|
description: OTG interrupt mask
|
|
bit_offset: 2
|
|
bit_size: 1
|
|
- name: SOFM
|
|
description: Start of frame mask
|
|
bit_offset: 3
|
|
bit_size: 1
|
|
- name: RXFLVLM
|
|
description: Receive FIFO non-empty mask
|
|
bit_offset: 4
|
|
bit_size: 1
|
|
- name: NPTXFEM
|
|
description: Non-periodic TxFIFO empty mask
|
|
bit_offset: 5
|
|
bit_size: 1
|
|
- name: GINAKEFFM
|
|
description: Global non-periodic IN NAK effective mask
|
|
bit_offset: 6
|
|
bit_size: 1
|
|
- name: GONAKEFFM
|
|
description: Global OUT NAK effective mask
|
|
bit_offset: 7
|
|
bit_size: 1
|
|
- name: ESUSPM
|
|
description: Early suspend mask
|
|
bit_offset: 10
|
|
bit_size: 1
|
|
- name: USBSUSPM
|
|
description: USB suspend mask
|
|
bit_offset: 11
|
|
bit_size: 1
|
|
- name: USBRST
|
|
description: USB reset mask
|
|
bit_offset: 12
|
|
bit_size: 1
|
|
- name: ENUMDNEM
|
|
description: Enumeration done mask
|
|
bit_offset: 13
|
|
bit_size: 1
|
|
- name: ISOODRPM
|
|
description: Isochronous OUT packet dropped interrupt mask
|
|
bit_offset: 14
|
|
bit_size: 1
|
|
- name: EOPFM
|
|
description: End of periodic frame interrupt mask
|
|
bit_offset: 15
|
|
bit_size: 1
|
|
- name: IEPINT
|
|
description: IN endpoints interrupt mask
|
|
bit_offset: 18
|
|
bit_size: 1
|
|
- name: OEPINT
|
|
description: OUT endpoints interrupt mask
|
|
bit_offset: 19
|
|
bit_size: 1
|
|
- name: IISOIXFRM
|
|
description: Incomplete isochronous IN transfer mask
|
|
bit_offset: 20
|
|
bit_size: 1
|
|
- name: IPXFRM_IISOOXFRM
|
|
description: Incomplete periodic transfer mask(Host mode)/Incomplete isochronous OUT transfer mask(Device mode)
|
|
bit_offset: 21
|
|
bit_size: 1
|
|
- name: RSTDETM
|
|
description: Reset detected interrupt mask
|
|
bit_offset: 23
|
|
bit_size: 1
|
|
- name: PRTIM
|
|
description: Host port interrupt mask
|
|
bit_offset: 24
|
|
bit_size: 1
|
|
- name: HCIM
|
|
description: Host channels interrupt mask
|
|
bit_offset: 25
|
|
bit_size: 1
|
|
- name: PTXFEM
|
|
description: Periodic TxFIFO empty mask
|
|
bit_offset: 26
|
|
bit_size: 1
|
|
- name: LPMIN
|
|
description: LPM interrupt mask
|
|
bit_offset: 27
|
|
bit_size: 1
|
|
- name: CIDSCHGM
|
|
description: Connector ID status change mask
|
|
bit_offset: 28
|
|
bit_size: 1
|
|
- name: DISCINT
|
|
description: Disconnect detected interrupt mask
|
|
bit_offset: 29
|
|
bit_size: 1
|
|
- name: SRQIM
|
|
description: Session request/new session detected interrupt mask
|
|
bit_offset: 30
|
|
bit_size: 1
|
|
- name: WUIM
|
|
description: Resume/remote wakeup detected interrupt mask
|
|
bit_offset: 31
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GINTSTS:
|
|
description: OTG_FS core interrupt register (OTG_FS_GINTSTS)
|
|
fields:
|
|
- name: CMOD
|
|
description: Current mode of operation
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: MMIS
|
|
description: Mode mismatch interrupt
|
|
bit_offset: 1
|
|
bit_size: 1
|
|
- name: OTGINT
|
|
description: OTG interrupt
|
|
bit_offset: 2
|
|
bit_size: 1
|
|
- name: SOF
|
|
description: Start of frame
|
|
bit_offset: 3
|
|
bit_size: 1
|
|
- name: RXFLVL
|
|
description: RxFIFO non-empty
|
|
bit_offset: 4
|
|
bit_size: 1
|
|
- name: NPTXFE
|
|
description: Non-periodic TxFIFO empty
|
|
bit_offset: 5
|
|
bit_size: 1
|
|
- name: GINAKEFF
|
|
description: Global IN non-periodic NAK effective
|
|
bit_offset: 6
|
|
bit_size: 1
|
|
- name: GOUTNAKEFF
|
|
description: Global OUT NAK effective
|
|
bit_offset: 7
|
|
bit_size: 1
|
|
- name: ESUSP
|
|
description: Early suspend
|
|
bit_offset: 10
|
|
bit_size: 1
|
|
- name: USBSUSP
|
|
description: USB suspend
|
|
bit_offset: 11
|
|
bit_size: 1
|
|
- name: USBRST
|
|
description: USB reset
|
|
bit_offset: 12
|
|
bit_size: 1
|
|
- name: ENUMDNE
|
|
description: Enumeration done
|
|
bit_offset: 13
|
|
bit_size: 1
|
|
- name: ISOODRP
|
|
description: Isochronous OUT packet dropped interrupt
|
|
bit_offset: 14
|
|
bit_size: 1
|
|
- name: EOPF
|
|
description: End of periodic frame interrupt
|
|
bit_offset: 15
|
|
bit_size: 1
|
|
- name: IEPINT
|
|
description: IN endpoint interrupt
|
|
bit_offset: 18
|
|
bit_size: 1
|
|
- name: OEPINT
|
|
description: OUT endpoint interrupt
|
|
bit_offset: 19
|
|
bit_size: 1
|
|
- name: IISOIXFR
|
|
description: Incomplete isochronous IN transfer
|
|
bit_offset: 20
|
|
bit_size: 1
|
|
- name: IPXFR_INCOMPISOOUT
|
|
description: Incomplete periodic transfer(Host mode)/Incomplete isochronous OUT transfer(Device mode)
|
|
bit_offset: 21
|
|
bit_size: 1
|
|
- name: RSTDET
|
|
description: Reset detected interrupt
|
|
bit_offset: 23
|
|
bit_size: 1
|
|
- name: HPRTINT
|
|
description: Host port interrupt
|
|
bit_offset: 24
|
|
bit_size: 1
|
|
- name: HCINT
|
|
description: Host channels interrupt
|
|
bit_offset: 25
|
|
bit_size: 1
|
|
- name: PTXFE
|
|
description: Periodic TxFIFO empty
|
|
bit_offset: 26
|
|
bit_size: 1
|
|
- name: CIDSCHG
|
|
description: Connector ID status change
|
|
bit_offset: 28
|
|
bit_size: 1
|
|
- name: DISCINT
|
|
description: Disconnect detected interrupt
|
|
bit_offset: 29
|
|
bit_size: 1
|
|
- name: SRQINT
|
|
description: Session request/new session detected interrupt
|
|
bit_offset: 30
|
|
bit_size: 1
|
|
- name: WKUPINT
|
|
description: Resume/remote wakeup detected interrupt
|
|
bit_offset: 31
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GLPMCFG:
|
|
description: OTG core LPM configuration register
|
|
fields:
|
|
- name: LPMEN
|
|
description: LPM support enable
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: LPMACK
|
|
description: LPM token acknowledge enable
|
|
bit_offset: 1
|
|
bit_size: 1
|
|
- name: BESL
|
|
description: Best effort service latency
|
|
bit_offset: 2
|
|
bit_size: 4
|
|
- name: REMWAKE
|
|
description: bRemoteWake value
|
|
bit_offset: 6
|
|
bit_size: 1
|
|
- name: L1SSEN
|
|
description: L1 Shallow Sleep enable
|
|
bit_offset: 7
|
|
bit_size: 1
|
|
- name: BESLTHRS
|
|
description: BESL threshold
|
|
bit_offset: 8
|
|
bit_size: 4
|
|
- name: L1DSEN
|
|
description: L1 deep sleep enable
|
|
bit_offset: 12
|
|
bit_size: 1
|
|
- name: LPMRST
|
|
description: LPM response
|
|
bit_offset: 13
|
|
bit_size: 2
|
|
- name: SLPSTS
|
|
description: Port sleep status
|
|
bit_offset: 15
|
|
bit_size: 1
|
|
- name: L1RSMOK
|
|
description: Sleep State Resume OK
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
- name: LPMCHIDX
|
|
description: LPM Channel Index
|
|
bit_offset: 17
|
|
bit_size: 4
|
|
- name: LPMRCNT
|
|
description: LPM retry count
|
|
bit_offset: 21
|
|
bit_size: 3
|
|
- name: SNDLPM
|
|
description: Send LPM transaction
|
|
bit_offset: 24
|
|
bit_size: 1
|
|
- name: LPMRCNTSTS
|
|
description: LPM retry count status
|
|
bit_offset: 25
|
|
bit_size: 3
|
|
- name: ENBESL
|
|
description: Enable best effort service latency
|
|
bit_offset: 28
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GOTGCTL:
|
|
description: OTG_FS control and status register (OTG_FS_GOTGCTL)
|
|
fields:
|
|
- name: SRQSCS
|
|
description: Session request success
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: SRQ
|
|
description: Session request
|
|
bit_offset: 1
|
|
bit_size: 1
|
|
- name: VBVALOEN
|
|
description: VBUS valid override enable
|
|
bit_offset: 2
|
|
bit_size: 1
|
|
- name: VBVALOVAL
|
|
description: VBUS valid override value
|
|
bit_offset: 3
|
|
bit_size: 1
|
|
- name: AVALOEN
|
|
description: A-peripheral session valid override enable
|
|
bit_offset: 4
|
|
bit_size: 1
|
|
- name: AVALOVAL
|
|
description: A-peripheral session valid override value
|
|
bit_offset: 5
|
|
bit_size: 1
|
|
- name: BVALOEN
|
|
description: B-peripheral session valid override enable
|
|
bit_offset: 6
|
|
bit_size: 1
|
|
- name: BVALOVAL
|
|
description: B-peripheral session valid override value
|
|
bit_offset: 7
|
|
bit_size: 1
|
|
- name: HNGSCS
|
|
description: Host negotiation success
|
|
bit_offset: 8
|
|
bit_size: 1
|
|
- name: HNPRQ
|
|
description: HNP request
|
|
bit_offset: 9
|
|
bit_size: 1
|
|
- name: HSHNPEN
|
|
description: Host set HNP enable
|
|
bit_offset: 10
|
|
bit_size: 1
|
|
- name: DHNPEN
|
|
description: Device HNP enabled
|
|
bit_offset: 11
|
|
bit_size: 1
|
|
- name: EHEN
|
|
description: Embedded host enable
|
|
bit_offset: 12
|
|
bit_size: 1
|
|
- name: CIDSTS
|
|
description: Connector ID status
|
|
bit_offset: 16
|
|
bit_size: 1
|
|
- name: DBCT
|
|
description: Long/short debounce time
|
|
bit_offset: 17
|
|
bit_size: 1
|
|
- name: ASVLD
|
|
description: A-session valid
|
|
bit_offset: 18
|
|
bit_size: 1
|
|
- name: BSVLD
|
|
description: B-session valid
|
|
bit_offset: 19
|
|
bit_size: 1
|
|
- name: OTGVER
|
|
description: OTG version
|
|
bit_offset: 20
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GOTGINT:
|
|
description: OTG_FS interrupt register (OTG_FS_GOTGINT)
|
|
fields:
|
|
- name: SEDET
|
|
description: Session end detected
|
|
bit_offset: 2
|
|
bit_size: 1
|
|
- name: SRSSCHG
|
|
description: Session request success status change
|
|
bit_offset: 8
|
|
bit_size: 1
|
|
- name: HNSSCHG
|
|
description: Host negotiation success status change
|
|
bit_offset: 9
|
|
bit_size: 1
|
|
- name: HNGDET
|
|
description: Host negotiation detected
|
|
bit_offset: 17
|
|
bit_size: 1
|
|
- name: ADTOCHG
|
|
description: A-device timeout change
|
|
bit_offset: 18
|
|
bit_size: 1
|
|
- name: DBCDNE
|
|
description: Debounce done
|
|
bit_offset: 19
|
|
bit_size: 1
|
|
- name: IDCHNG
|
|
description: ID input pin changed
|
|
bit_offset: 20
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GPWRDN:
|
|
description: OTG power down register
|
|
fields:
|
|
- name: ADPMEN
|
|
description: ADP module enable
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: ADPIF
|
|
description: ADP interrupt flag
|
|
bit_offset: 23
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GRSTCTL:
|
|
description: OTG_FS reset register (OTG_FS_GRSTCTL)
|
|
fields:
|
|
- name: CSRST
|
|
description: Core soft reset
|
|
bit_offset: 0
|
|
bit_size: 1
|
|
- name: HSRST
|
|
description: HCLK soft reset
|
|
bit_offset: 1
|
|
bit_size: 1
|
|
- name: FCRST
|
|
description: Host frame counter reset
|
|
bit_offset: 2
|
|
bit_size: 1
|
|
- name: RXFFLSH
|
|
description: RxFIFO flush
|
|
bit_offset: 4
|
|
bit_size: 1
|
|
- name: TXFFLSH
|
|
description: TxFIFO flush
|
|
bit_offset: 5
|
|
bit_size: 1
|
|
- name: TXFNUM
|
|
description: TxFIFO number
|
|
bit_offset: 6
|
|
bit_size: 5
|
|
- name: AHBIDL
|
|
description: AHB master idle
|
|
bit_offset: 31
|
|
bit_size: 1
|
|
fieldset/OTG_FS_GRXFSIZ:
|
|
description: OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)
|
|
fields:
|
|
- name: RXFD
|
|
description: RxFIFO depth
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
fieldset/OTG_FS_GRXSTSP_Device:
|
|
description: OTG status read and pop register (Device mode)
|
|
fields:
|
|
- name: EPNUM
|
|
description: Endpoint number
|
|
bit_offset: 0
|
|
bit_size: 4
|
|
- name: BCNT
|
|
description: Byte count
|
|
bit_offset: 4
|
|
bit_size: 11
|
|
- name: DPID
|
|
description: Data PID
|
|
bit_offset: 15
|
|
bit_size: 2
|
|
- name: PKTSTS
|
|
description: Packet status
|
|
bit_offset: 17
|
|
bit_size: 4
|
|
- name: FRMNUM
|
|
description: Frame number
|
|
bit_offset: 21
|
|
bit_size: 4
|
|
fieldset/OTG_FS_GRXSTSP_Host:
|
|
description: OTG status read and pop register (Host mode)
|
|
fields:
|
|
- name: CHNUM
|
|
description: Channel number
|
|
bit_offset: 0
|
|
bit_size: 4
|
|
- name: BCNT
|
|
description: Byte count
|
|
bit_offset: 4
|
|
bit_size: 11
|
|
- name: DPID
|
|
description: Data PID
|
|
bit_offset: 15
|
|
bit_size: 2
|
|
- name: PKTSTS
|
|
description: Packet status
|
|
bit_offset: 17
|
|
bit_size: 4
|
|
fieldset/OTG_FS_GRXSTSR_Device:
|
|
description: OTG_FS Receive status debug read(Device mode)
|
|
fields:
|
|
- name: EPNUM
|
|
description: Endpoint number
|
|
bit_offset: 0
|
|
bit_size: 4
|
|
- name: BCNT
|
|
description: Byte count
|
|
bit_offset: 4
|
|
bit_size: 11
|
|
- name: DPID
|
|
description: Data PID
|
|
bit_offset: 15
|
|
bit_size: 2
|
|
- name: PKTSTS
|
|
description: Packet status
|
|
bit_offset: 17
|
|
bit_size: 4
|
|
- name: FRMNUM
|
|
description: Frame number
|
|
bit_offset: 21
|
|
bit_size: 4
|
|
fieldset/OTG_FS_GRXSTSR_Host:
|
|
description: OTG_FS Receive status debug read(Host mode)
|
|
fields:
|
|
- name: CHNUM
|
|
description: Endpoint number
|
|
bit_offset: 0
|
|
bit_size: 4
|
|
- name: BCNT
|
|
description: Byte count
|
|
bit_offset: 4
|
|
bit_size: 11
|
|
- name: DPID
|
|
description: Data PID
|
|
bit_offset: 15
|
|
bit_size: 2
|
|
- name: PKTSTS
|
|
description: Packet status
|
|
bit_offset: 17
|
|
bit_size: 4
|
|
fieldset/OTG_FS_GUSBCFG:
|
|
description: OTG_FS USB configuration register (OTG_FS_GUSBCFG)
|
|
fields:
|
|
- name: TOCAL
|
|
description: FS timeout calibration
|
|
bit_offset: 0
|
|
bit_size: 3
|
|
- name: PHYSEL
|
|
description: Full Speed serial transceiver select
|
|
bit_offset: 6
|
|
bit_size: 1
|
|
- name: SRPCAP
|
|
description: SRP-capable
|
|
bit_offset: 8
|
|
bit_size: 1
|
|
- name: HNPCAP
|
|
description: HNP-capable
|
|
bit_offset: 9
|
|
bit_size: 1
|
|
- name: TRDT
|
|
description: USB turnaround time
|
|
bit_offset: 10
|
|
bit_size: 4
|
|
- name: FHMOD
|
|
description: Force host mode
|
|
bit_offset: 29
|
|
bit_size: 1
|
|
- name: FDMOD
|
|
description: Force device mode
|
|
bit_offset: 30
|
|
bit_size: 1
|
|
fieldset/OTG_FS_HNPTXFSIZ_Host:
|
|
description: OTG_FS Host non-periodic transmit FIFO size register
|
|
fields:
|
|
- name: NPTXFSA
|
|
description: Non-periodic transmit RAM start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: NPTXFD
|
|
description: Non-periodic TxFIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|
|
fieldset/OTG_FS_HNPTXSTS:
|
|
description: OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)
|
|
fields:
|
|
- name: NPTXFSAV
|
|
description: Non-periodic TxFIFO space available
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: NPTQXSAV
|
|
description: Non-periodic transmit request queue space available
|
|
bit_offset: 16
|
|
bit_size: 8
|
|
- name: NPTXQTOP
|
|
description: Top of the non-periodic transmit request queue
|
|
bit_offset: 24
|
|
bit_size: 7
|
|
fieldset/OTG_FS_HPTXFSIZ:
|
|
description: OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)
|
|
fields:
|
|
- name: PTXSA
|
|
description: Host periodic TxFIFO start address
|
|
bit_offset: 0
|
|
bit_size: 16
|
|
- name: PTXFSIZ
|
|
description: Host periodic TxFIFO depth
|
|
bit_offset: 16
|
|
bit_size: 16
|