PDIUSBD12
USB interface device with parallel bus
Philips Semiconductors
11.3.2 Select Endpoint
Code (Hex) — 00 to 05
Transaction — read 1 byte (optional)
The Select Endpoint command initializes an internal pointer to the start of the
selected buffer. Optionally, this command can be followed by a data read, which
returns this byte.
FULL/EMPTY: A ‘1’ indicates the buffer is full, ‘0’ indicates an empty buffer.
STALL: A ‘1’ indicates the selected endpoint is in the stall state.
Fig 11. Select Endpoint command: bit allocation.
11.3.3 Read Endpoint status
Code (Hex) — 80 to 85
Transaction — read 1 byte
7
0
6
0
5
0
4
x
3
x
2
0
1
x
0
x
RESERVED
SETUP PACKET
RESERVED
BUFFER 0 FULL
BUFFER 1 FULL
ENDPOINT STALLED
004aaa056
Fig 12. Read Endpoint status: bit allocation.
11.3.4 Read last transaction status register
Code (Hex) — 40 to 45
Transaction — read 1 byte
The Read Last Transaction Status command is followed by one data read that returns
the status of the last transaction of the endpoint. This command also resets the
corresponding interrupt flag in the interrupt register, and clears the status, indicating
that it was read.
9397 750 09238
© Koninklijke Philips Electronics N.V. 2001. All rights reserved.
Product data
Rev. 08 — 20 December 2001
17 of 35