Universal Serial Bus Device LH79524/LH79525 User’s Guide
17-10 Version 1.0
17.2.2 Register Definitions
17.2.2.1 Function Address Register (FAR)
FAR is a register that should be written with the function’s 7-bit address (received through
a SET_ADDRESS descriptor). It is then used for decoding the function address in subse-
quent token packets
.
Table 17-4. FAR Register
BIT 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIELD ///
RESET 0000000000000000
RW RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
BIT 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIELD ///
ADDR_UPDATE
FUNCTION_ADDR
RESET 0000000000000000
TYPE RO RO RO RO RO RO RO RO RO RW RW RW RW RW RW RW
ADDR 0xFFFF5000 + 0x000
Table 17-5. FAR Fields
BITS NAME FUNCTION
31:8
/// Reserved Reading returns 0. Write the reset value.
7 ADDR_UPDATE
Address Update Software must program this bit to 1 to inform the
USB Host that the FUNCTION_ADDR field in this register has been
updated. The USB clears this bit.
1 = The FUNCTION_ADDR field has been updated
0 = The FUNCTION_ADDR field has not been updated
6:0 FUNCTION_ADDR
Function Address The CPU writes the USB function address to
this field.