Configuration Of Tidcmp And Adrcmp - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

(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.
07H
USBRTP
ENDP.0
USBRAL
USBRAH
ID packet set
in TIDCMP
1 1 1 0 0 0 0 1
TIDCMP
ADRCMP
Note Because these signals are used internally, confirmation by software is not possible.
CHAPTER 8
Figure 8-8. Configuration of TIDCMP and ADRCMP
USBPOB address
06H
05H
04H
03H
02H
0 0 1 0 1 1 0 1
0 1 1 0 1 0 0 1
User's Manual U12978EJ3V0UD
USB FUNCTION
01H
00H
00H
01H
ENDP.3-1
02H
Match signal (TIDRST)
SETUP packet detection signal (SETRX)
IN packet detection signal (INRX)
OUT packet detection signal (OUTRX)
Match signal (ADRRST)
Receive token bank
Note
Note
Endpoint 0 detection
signal (END0RX)
Endpoint 1 detection
signal (END1RX)
107

Advertisement

Table of Contents
loading

Table of Contents