Configuration Of Didcmp - NEC switch User Manual

Nec user's manua switch
Table of Contents

Advertisement

(10) Data/handshake PID compare register (DIDCMP)
This register sets the data/handshake packet ID to be received. If this register value and the value of the
receive data PID (USBRD) match during data/handshake packet reception coincide, the DIDRST (bit 1 of the
data/handshake packet receive result store register (DRXRSL)) is set.
DIDCMP is set with an 8-bit memory manipulation instruction.
RESET input sets DIDCMP to C3H.
Note
SETUP reception
also sets DIDCMP to C3H.
Note SETUP reception implies the satisfaction of all the following three conditions.
• Matching of address
• Endpoint 0 received
• No error in reception
07H
USBRD
DIDCMP
108
CHAPTER 8
Figure 8-9. Configuration of DIDCMP
USBPOB address
06H
05H
04H
03H
02H
Data area (8 bytes)
User's Manual U12978EJ3V0UD
USB FUNCTION
01H
00H
00H
11H
18H
Match signal (DIDRST)
Receive data bank

Advertisement

Table of Contents
loading

Table of Contents