9.3.6 Indexed Registers

This section covers all the registers in this category along with the address offset, functionality, and per- bit details. The registers mapped into this section depend on whether the core is in Peripheral mode (DEV_CTRL_REG.Bit2 = 0) or in Host mode (DEV_CTRL_REG.Bit2 = 1) and the value of the Index register (INDEX_REG).

Table 9-22. Indexed Register Set Description
Register NameAddressWidthR/W TypeReset ValueDescription
Table 9-230x4004301016RW0Maximum packet size of host transmit endpoint. (Index register set to select endpoints 1 – 4 only).
Table 9-24 Table 9-25

Table 9-28

Table 9-29

0x400430128RW0Provide control and status bits for endpoint0 (Index register set to select endpoint0) and transmit endpoint0 (Index register set to select endpoints 1 – 4).

The interpretation of the register depends on whether the USB controller is acting as a peripheral or a host. The value returned when the register is read reflects the status attained; for example, as a result of writing to the register.

Table 9-26

Table 9-27

Table 9-30

Table 9-31

0x400430138RW0Provides control and status bits for endpoint0 (Index register set to select endpoint0) and transmit endpoint0 (Index register set to select endpoints 1 – 4).

The interpretation of the register depends on whether the USB controller is acting as a peripheral or a host. The value returned when the register is read reflects the status attained; for example, as a result of writing to the register.

Table 9-320x4004301416RW0Defines the maximum amount of data that can be transferred through the selected receive endpoint in a single operation. There is one such register for each receive endpoint (except endpoint 0).
Table 9-33

Table 9-34

0x400430168RW0Provide control and status bits for transfers through the currently selected receive endpoint. There is one such register for each configured receive endpoint (not including endpoint 0).

The interpretation of the register depends on whether the USB controller is acting as a peripheral or a host. The value returned when the register is read reflects the status attained; for example, as a result of writing to the register.

Table 9-35

Table 9-37

0x400430178RW0Provides control and status bits for transfers through the currently-selected receive endpoint (Index register set to select endpoints 1 – 4 only). There is one such register for each configured receive endpoint (not including endpoint 0).

The interpretation of the register depends on whether the USB controller is acting as a peripheral or a host. The value returned when the register is read reflects the status attained; for example, as a result of writing to the register.

Table 9-380x400430187R0Indicates the number of received data bytes in the endpoint 0 FIFO. The value returned changes as the contents of the FIFO change and is only valid while RxPktRdy (CSR0L_REG.bit0) is set.
Table 9-390x4004301814R0Holds the number of data bytes in the packet currently in line to be read from the Rx FIFO. If the packet is transmitted as multiple bulk packets, the number given will be for the combined packet.

The value returned changes as the FIFO is unloaded and is only valid while RxPktRdy (CSR0L_REG.bit0) is set.

Table 9-400x4004301A8RW0Applicable in Host mode only. Number of received bytes in endpoint0 FIFO (Index register set to select endpoint 0).
Table 9-410x4004301A8RW0Number of bytes to be read from the peripheral receive endpoint FIFO (Index register set to select endpoints 1 – 4).
Table 9-420x4004301B5RW0Sets the NAK response timeout on endpoint 0 (Index register set to select endpoint 0).
Table 9-430x4004301B8RW0Sets the polling interval for interrupt/ISOC transactions or the NAK response timeout on bulk transactions for host transmit endpoint (Index register set to select endpoints 1 – 4 only).
Table 9-450x4004301C8RW0Sets the transaction protocol, speed, and peripheral endpoint number for the host receive endpoint (Index register set to select endpoints 1 – 4 only).
Table 9-460x4004301D8RW0Sets the polling interval for interrupt/ISOC transactions or the NAK response timeout on bulk transactions for host receive endpoint (Index register set to select endpoints 1 – 4 only).
Table 9-470x4004301F8R Returns details of USB controller configuration (Index register set to select endpoint 0).
Table 9-480x4004301F8R Returns the configured size of the selected receive and transmit FIFOs (endpoints 1 – 4 only).