CHAPTER 8 USB FUNCTION
User’s Manual U12978EJ3V0UD
107
(9) Token address compare register (ADRCMP)
This register sets the address specified from the host during control transfer. If this register value and the
address area of the receive token bank (bits 0 to 6 of receive token address L (USBRAL)) match during token
packet reception coincide, ADRRST (bit 2 of the token packet receive result store register (TRXRSL)) is set.
00H must be set by software when an USB reset is received.
ADRCMP is set with an 8-bit memory manipulation instruction.
RESET input sets ADRCMP to 00H.
Figure 8-8. Configuration of TIDCMP and ADRCMP
00H
07H
06H
05H
04H
03H
02H
01H
00H
01H
02H
USBPOW address
USBPOB address
0 0 1 0 1 1 0 1
0 1 1 0 1 0 0 1
1 1 1 0 0 0 0 1
ENDP.0
ENDP.3-1
Endpoint 0 detection
signal (END0RX)
Endpoint 1 detection
signal (END1RX)
Note
Note
Match signal (TIDRST)
SETUP packet detection signal (SETRX)
IN packet detection signal (INRX)
OUT packet detection signal (OUTRX)
Match signal (ADRRST)
USBRTP
USBRAL
USBRAH
ID packet set
in TIDCMP
TIDCMP
ADRCMP
Receive token bank
Note
Because these signals are used internally, confirmation by software is not possible.
Содержание switch
Страница 2: ...User s Manual U12978EJ3V0UD 2 MEMO ...