nrf-pac

Crates

git

Versions

nrf5340-app

Flavors

nrf_pac::usbd

Module regs

Source

Structs§

  • SETUP data, byte 0, bmRequestType
  • SETUP data, byte 1, bRequest
  • State D+ and D- lines will be forced into by the DPDMDRIVE task. The DPDMNODRIVE task reverts the control of the lines to MAC IP (no forcing).
  • Data toggle control and status
  • Enable USB
  • Provides information on which endpoint(s) an acknowledged data transfer has occurred (EPDATA event)
  • Description collection: IN endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
  • Description cluster: Number of bytes transferred in the last transaction
  • Description cluster: Maximum number of bytes to transfer
  • Endpoint IN enable
  • Description cluster: Number of bytes transferred in the last transaction
  • Description cluster: Maximum number of bytes to transfer
  • Endpoint OUT enable
  • STALL endpoints
  • Provides information on which endpoint’s EasyDMA registers have been captured
  • Details on what caused the USBEVENT event
  • Returns the current value of the start of frame counter
  • Description collection: OUT endpoint halted status. Can be used as is as response to a GetStatus() request to endpoint.
  • Enable or disable interrupt
  • Number of bytes transferred in the last transaction
  • Maximum number of bytes to transfer
  • Controls the response of the ISO IN endpoint to an IN token when no data is ready to be sent
  • Number of bytes received last on this ISO OUT data endpoint
  • Number of bytes transferred in the last transaction
  • Maximum number of bytes to transfer
  • Controls the split of ISO buffers
  • Controls USBD peripheral low power mode during USB suspend
  • Shortcuts between local events and tasks
  • Description collection: Number of bytes received last in the data stage of this OUT endpoint
  • Device USB address
  • Control of the USB pull-up
  • SETUP data, byte 5, MSB of wIndex
  • SETUP data, byte 4, LSB of wIndex
  • SETUP data, byte 7, MSB of wLength
  • SETUP data, byte 6, LSB of wLength
  • SETUP data, byte 3, MSB of wValue
  • SETUP data, byte 2, LSB of wValue