|
M66591GP Datasheet, PDF (69/133 Pages) Renesas Technology Corp – ASSP (USB2.0 Peripheral Controller) | |||
|
◁ |
M66591GP
2.38 PIPE i Control Register (i=1~4)
 PIPE 1 Control Register (Pipe1Ctrl)
 PIPE 2 Control Register (Pipe2Ctrl)
 PIPE 3 Control Register (Pipe3Ctrl)
 PIPE 4 Control Register (Pipe4Ctrl)
<Address: HâA0>
<Address: HâA2>
<Address: HâA4>
<Address: HâA6>
b15 14 13 12 11 10 9
8
7
6
5
4
3
2
1 b0
BSTS
ACLR SQCLR
NYETMD
PID [1:0]
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
-
-
-
-
-
-
-
-
-
-
-
0
0
0
0
0
0
0
0
0
0
-
-
-
0
0
<H/W reset: Hâ0000>
<S/W reset: Hâ0000>
<USB bus reset: Bâ---- ---- ---- --00>
b
Bit name
Function
RW
15 BSTS
0: Disables to read the data of buffer and to write the data to { -
Buffer Status
buffer
1: Enables to read the data of buffer and to write the data to
buffer
14~10 Reserved. Set it to â0â.
â0â â0â
9 ACLR
⢠Write
{{
Buffer Automatic Clear Mode
0: Disable buffer automatic clear
1: Enable buffer automatic clear
8 SQCLR
⢠Write
â0â {
Sequence Bit Clear
0: Invalid
1: Sequence bit clear
7~5 Reserved. Set it to â0â.
â0â â0â
4 NYETMD
0: Automatic response mode
{{
NYET Handshake Mode
(ACK/NYET is automatically selected.)
1: ACK response only mode
(Always with ACK response. No NYET response.)
3~2 Reserved. Set it to â0â.
â0â â0â
1~0 PID [1:0]
00: NAK response
{{
Response PID
01: BUF response
1x: STALL response
(1) BSTS (Buffer Status) Bit (b15)
This bit indicates the buffer status of PIPE1 to PIPE4.
(2) ACLR (Buffer Automatic Clear Mode) Bit (b9)
When this bit is set to â1â, all the buffers on the CPU-side/SIE-side are cleared.
This bit is not automatically cleared to â0â on completion of buffer clear, make sure to write â0â after setting â1â.
When the PID [1:0] bits are set to â01â (BUF) during setting the OUT buffer and this bit to â1â, the NAK response
are not executed in the received OUT token. The ACK response is returned to the host after the data being received.
At this time, this received data are not written to the buffer. Also, when the PID [1:0] bits have been sets to â00â/â1xâ
(NAK/STALL), the NAK/STALL response is executed.
Only the SIE-side buffers and the write completion CPU-side buffer are cleared by setting â1â to this bit during
setting the IN buffer. To clear the SIE-side buffers, follow the procedure below.
(1) The PID [1:0] bits are set to â00â (NAK)
(2) This bit is set to â1â
(3) This bit is cleared to â0â
(4) The PID [1:0] bits are set to â01â (ACK)
Rev.1.00 Nov. 30, 2004 page 69 of 131
|
▷ |