NEC switch User Manual

Page 102

Advertising
background image

CHAPTER 8 USB FUNCTION

User’s Manual U12978EJ3V0UD

102

(3) Receive token bank

(a) Receive token PID (USBRTP)

This is the receive token packet ID area. The data input to the token PID compare register (TIDCMP) is

stored here.

USBRTP is read with an 8-bit memory manipulation instruction.

RESET input sets USBRTP to 00H.

(b) Receive token address L and H (USBRAL and USBRAH)

This stores the token packet to be transferred from the host. USBRAL and USBRAH consist of 16 bits.

Bits 0 to 6 of USBRAL store the data input to the token address compare register (ADRCMP).

Both USBRAL and USBRAH are read with an 8-bit memory manipulation instruction.

RESET input sets these registers to 00H.

Figure 8-4. Configuration of Receive Token Bank

00H

07H

06H

05H

04H

03H

02H

01H

00H

01H

02H

USBRTP

USBRAL

USBRAH

USBPOW address

USBPOB address

Symbol

ID area

Address area

Endpoint

area

Endpoint area

Fixed to 0

Advertising