Module rp2040_pac::usbctrl_dpram::ep_buffer_control

source ·
Expand description

Structs§

Enums§

  • The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint.
    For a non Isochronous endpoint the offset is always 64 bytes.

Type Aliases§

  • Field AVAILABLE_0 reader - Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back.
  • Field AVAILABLE_0 writer - Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back.
  • Field AVAILABLE_1 reader - Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back.
  • Field AVAILABLE_1 writer - Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back.
  • Field DOUBLE_BUFFER_ISO_OFFSET reader - The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint.
    For a non Isochronous endpoint the offset is always 64 bytes.
  • Field DOUBLE_BUFFER_ISO_OFFSET writer - The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint.
    For a non Isochronous endpoint the offset is always 64 bytes.
  • Field FULL_0 reader - Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data.
  • Field FULL_0 writer - Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data.
  • Field FULL_1 reader - Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data.
  • Field FULL_1 writer - Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data.
  • Field LAST_0 reader - Buffer 0 is the last buffer of the transfer.
  • Field LAST_0 writer - Buffer 0 is the last buffer of the transfer.
  • Field LAST_1 reader - Buffer 1 is the last buffer of the transfer.
  • Field LAST_1 writer - Buffer 1 is the last buffer of the transfer.
  • Field LENGTH_0 reader - The length of the data in buffer 0.
  • Field LENGTH_0 writer - The length of the data in buffer 0.
  • Field LENGTH_1 reader - The length of the data in buffer 1.
  • Field LENGTH_1 writer - The length of the data in buffer 1.
  • Field PID_0 reader - The data pid of buffer 0.
  • Field PID_0 writer - The data pid of buffer 0.
  • Field PID_1 reader - The data pid of buffer 1.
  • Field PID_1 writer - The data pid of buffer 1.
  • Register EP_BUFFER_CONTROL%s reader
  • Field RESET reader - Reset the buffer selector to buffer 0.
  • Field RESET writer - Reset the buffer selector to buffer 0.
  • Field STALL reader - Reply with a stall (valid for both buffers).
  • Field STALL writer - Reply with a stall (valid for both buffers).
  • Register EP_BUFFER_CONTROL%s writer