block/USB_DPRAM: description: DPRAM layout for USB device. items: - name: SETUP_PACKET_LOW description: Bytes 0-3 of the SETUP packet from the host. byte_offset: 0 fieldset: SETUP_PACKET_LOW - name: SETUP_PACKET_HIGH description: Bytes 4-7 of the setup packet from the host. byte_offset: 4 fieldset: SETUP_PACKET_HIGH - name: EP1_IN_CONTROL byte_offset: 8 fieldset: EP1_IN_CONTROL - name: EP1_OUT_CONTROL byte_offset: 12 fieldset: EP1_OUT_CONTROL - name: EP2_IN_CONTROL byte_offset: 16 fieldset: EP2_IN_CONTROL - name: EP2_OUT_CONTROL byte_offset: 20 fieldset: EP2_OUT_CONTROL - name: EP3_IN_CONTROL byte_offset: 24 fieldset: EP3_IN_CONTROL - name: EP3_OUT_CONTROL byte_offset: 28 fieldset: EP3_OUT_CONTROL - name: EP4_IN_CONTROL byte_offset: 32 fieldset: EP4_IN_CONTROL - name: EP4_OUT_CONTROL byte_offset: 36 fieldset: EP4_OUT_CONTROL - name: EP5_IN_CONTROL byte_offset: 40 fieldset: EP5_IN_CONTROL - name: EP5_OUT_CONTROL byte_offset: 44 fieldset: EP5_OUT_CONTROL - name: EP6_IN_CONTROL byte_offset: 48 fieldset: EP6_IN_CONTROL - name: EP6_OUT_CONTROL byte_offset: 52 fieldset: EP6_OUT_CONTROL - name: EP7_IN_CONTROL byte_offset: 56 fieldset: EP7_IN_CONTROL - name: EP7_OUT_CONTROL byte_offset: 60 fieldset: EP7_OUT_CONTROL - name: EP8_IN_CONTROL byte_offset: 64 fieldset: EP8_IN_CONTROL - name: EP8_OUT_CONTROL byte_offset: 68 fieldset: EP8_OUT_CONTROL - name: EP9_IN_CONTROL byte_offset: 72 fieldset: EP9_IN_CONTROL - name: EP9_OUT_CONTROL byte_offset: 76 fieldset: EP9_OUT_CONTROL - name: EP10_IN_CONTROL byte_offset: 80 fieldset: EP10_IN_CONTROL - name: EP10_OUT_CONTROL byte_offset: 84 fieldset: EP10_OUT_CONTROL - name: EP11_IN_CONTROL byte_offset: 88 fieldset: EP11_IN_CONTROL - name: EP11_OUT_CONTROL byte_offset: 92 fieldset: EP11_OUT_CONTROL - name: EP12_IN_CONTROL byte_offset: 96 fieldset: EP12_IN_CONTROL - name: EP12_OUT_CONTROL byte_offset: 100 fieldset: EP12_OUT_CONTROL - name: EP13_IN_CONTROL byte_offset: 104 fieldset: EP13_IN_CONTROL - name: EP13_OUT_CONTROL byte_offset: 108 fieldset: EP13_OUT_CONTROL - name: EP14_IN_CONTROL byte_offset: 112 fieldset: EP14_IN_CONTROL - name: EP14_OUT_CONTROL byte_offset: 116 fieldset: EP14_OUT_CONTROL - name: EP15_IN_CONTROL byte_offset: 120 fieldset: EP15_IN_CONTROL - name: EP15_OUT_CONTROL byte_offset: 124 fieldset: EP15_OUT_CONTROL - name: EP0_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 128 fieldset: EP0_IN_BUFFER_CONTROL - name: EP0_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 132 fieldset: EP0_OUT_BUFFER_CONTROL - name: EP1_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 136 fieldset: EP1_IN_BUFFER_CONTROL - name: EP1_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 140 fieldset: EP1_OUT_BUFFER_CONTROL - name: EP2_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 144 fieldset: EP2_IN_BUFFER_CONTROL - name: EP2_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 148 fieldset: EP2_OUT_BUFFER_CONTROL - name: EP3_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 152 fieldset: EP3_IN_BUFFER_CONTROL - name: EP3_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 156 fieldset: EP3_OUT_BUFFER_CONTROL - name: EP4_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 160 fieldset: EP4_IN_BUFFER_CONTROL - name: EP4_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 164 fieldset: EP4_OUT_BUFFER_CONTROL - name: EP5_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 168 fieldset: EP5_IN_BUFFER_CONTROL - name: EP5_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 172 fieldset: EP5_OUT_BUFFER_CONTROL - name: EP6_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 176 fieldset: EP6_IN_BUFFER_CONTROL - name: EP6_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 180 fieldset: EP6_OUT_BUFFER_CONTROL - name: EP7_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 184 fieldset: EP7_IN_BUFFER_CONTROL - name: EP7_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 188 fieldset: EP7_OUT_BUFFER_CONTROL - name: EP8_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 192 fieldset: EP8_IN_BUFFER_CONTROL - name: EP8_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 196 fieldset: EP8_OUT_BUFFER_CONTROL - name: EP9_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 200 fieldset: EP9_IN_BUFFER_CONTROL - name: EP9_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 204 fieldset: EP9_OUT_BUFFER_CONTROL - name: EP10_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 208 fieldset: EP10_IN_BUFFER_CONTROL - name: EP10_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 212 fieldset: EP10_OUT_BUFFER_CONTROL - name: EP11_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 216 fieldset: EP11_IN_BUFFER_CONTROL - name: EP11_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 220 fieldset: EP11_OUT_BUFFER_CONTROL - name: EP12_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 224 fieldset: EP12_IN_BUFFER_CONTROL - name: EP12_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 228 fieldset: EP12_OUT_BUFFER_CONTROL - name: EP13_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 232 fieldset: EP13_IN_BUFFER_CONTROL - name: EP13_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 236 fieldset: EP13_OUT_BUFFER_CONTROL - name: EP14_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 240 fieldset: EP14_IN_BUFFER_CONTROL - name: EP14_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 244 fieldset: EP14_OUT_BUFFER_CONTROL - name: EP15_IN_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 248 fieldset: EP15_IN_BUFFER_CONTROL - name: EP15_OUT_BUFFER_CONTROL description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. byte_offset: 252 fieldset: EP15_OUT_BUFFER_CONTROL fieldset/EP0_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP0_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP0_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP0_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP10_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP10_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP10_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP10_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP10_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP10_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP10_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP10_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP11_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP11_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP11_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP11_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP11_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP11_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP11_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP11_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP12_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP12_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP12_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP12_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP12_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP12_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP12_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP12_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP13_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP13_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP13_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP13_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP13_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP13_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP13_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP13_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP14_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP14_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP14_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP14_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP14_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP14_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP14_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP14_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP15_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP15_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP15_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP15_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP15_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP15_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP15_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP15_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP1_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP1_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP1_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP1_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP1_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP1_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP1_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP1_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP2_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP2_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP2_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP2_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP2_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP2_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP2_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP2_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP3_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP3_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP3_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP3_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP3_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP3_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP3_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP3_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP4_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP4_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP4_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP4_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP4_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP4_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP4_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP4_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP5_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP5_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP5_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP5_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP5_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP5_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP5_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP5_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP6_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP6_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP6_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP6_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP6_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP6_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP6_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP6_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP7_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP7_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP7_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP7_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP7_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP7_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP7_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP7_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP8_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP8_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP8_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP8_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP8_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP8_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP8_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP8_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP9_IN_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP9_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP9_IN_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP9_IN_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/EP9_OUT_BUFFER_CONTROL: description: Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. fields: - name: LENGTH_0 description: The length of the data in buffer 1. bit_offset: 0 bit_size: 10 - name: AVAILABLE_0 description: 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. bit_offset: 10 bit_size: 1 - name: STALL description: Reply with a stall (valid for both buffers). bit_offset: 11 bit_size: 1 - name: RESET description: Reset the buffer selector to buffer 0. bit_offset: 12 bit_size: 1 - name: PID_0 description: The data pid of buffer 0. bit_offset: 13 bit_size: 1 - name: LAST_0 description: Buffer 0 is the last buffer of the transfer. bit_offset: 14 bit_size: 1 - name: FULL_0 description: 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. bit_offset: 15 bit_size: 1 - name: LENGTH_1 description: The length of the data in buffer 1. bit_offset: 16 bit_size: 10 - name: AVAILABLE_1 description: 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. bit_offset: 26 bit_size: 1 - name: DOUBLE_BUFFER_ISO_OFFSET description: 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. bit_offset: 27 bit_size: 2 enum: EP9_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET - name: PID_1 description: The data pid of buffer 1. bit_offset: 29 bit_size: 1 - name: LAST_1 description: Buffer 1 is the last buffer of the transfer. bit_offset: 30 bit_size: 1 - name: FULL_1 description: 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. bit_offset: 31 bit_size: 1 fieldset/EP9_OUT_CONTROL: fields: - name: BUFFER_ADDRESS description: 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. bit_offset: 0 bit_size: 16 - name: INTERRUPT_ON_NAK description: Trigger an interrupt if a NAK is sent. Intended for debug only. bit_offset: 16 bit_size: 1 - name: INTERRUPT_ON_STALL description: Trigger an interrupt if a STALL is sent. Intended for debug only. bit_offset: 17 bit_size: 1 - name: ENDPOINT_TYPE bit_offset: 26 bit_size: 2 enum: EP9_OUT_CONTROL_ENDPOINT_TYPE - name: INTERRUPT_PER_DOUBLE_BUFF description: Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. bit_offset: 28 bit_size: 1 - name: INTERRUPT_PER_BUFF description: Trigger an interrupt each time a buffer is done. bit_offset: 29 bit_size: 1 - name: DOUBLE_BUFFERED description: This endpoint is double buffered. bit_offset: 30 bit_size: 1 - name: ENABLE description: Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. bit_offset: 31 bit_size: 1 fieldset/SETUP_PACKET_HIGH: description: Bytes 4-7 of the setup packet from the host. fields: - name: WINDEX bit_offset: 0 bit_size: 16 - name: WLENGTH bit_offset: 16 bit_size: 16 fieldset/SETUP_PACKET_LOW: description: Bytes 0-3 of the SETUP packet from the host. fields: - name: BMREQUESTTYPE bit_offset: 0 bit_size: 8 - name: BREQUEST bit_offset: 8 bit_size: 8 - name: WVALUE bit_offset: 16 bit_size: 16 enum/EP0_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP0_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP10_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP10_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP10_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP10_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP11_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP11_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP11_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP11_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP12_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP12_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP12_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP12_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP13_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP13_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP13_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP13_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP14_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP14_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP14_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP14_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP15_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP15_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP15_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP15_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP1_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP1_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP1_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP1_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP2_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP2_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP2_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP2_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP3_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP3_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP3_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP3_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP4_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP4_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP4_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP4_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP5_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP5_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP5_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP5_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP6_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP6_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP6_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP6_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP7_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP7_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP7_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP7_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP8_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP8_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP8_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP8_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP9_IN_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP9_IN_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3 enum/EP9_OUT_BUFFER_CONTROL_DOUBLE_BUFFER_ISO_OFFSET: bit_size: 2 variants: - name: '128' value: 0 - name: '256' value: 1 - name: '512' value: 2 - name: '1024' value: 3 enum/EP9_OUT_CONTROL_ENDPOINT_TYPE: bit_size: 2 variants: - name: Control value: 0 - name: Isochronous value: 1 - name: Bulk value: 2 - name: Interrupt value: 3