English
Language : 

38K2 Datasheet, PDF (52/151 Pages) Renesas Technology Corp – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
38K2 Group
(5) Endpoint 10
b7
b0
000 00 00
EP10 stage register (EP10STG) [address 001916]
Bit symbol
Bit name
SETUP10 SETUP packet detection bit
b7:b1
Not used
Function
At reset R W
H/W S/W
This bit is set to “1” at reception of SETUP packet.
1 1 OO
Writing “0” clears this bit if the next SETUP token does
not occur.
Writing “1” causes no state change of the status flags.
This bit change is not for an interrupt source.
Write “0” when writing.
– – OO
“0” is read when reading.
–: State remaining
Fig. 74 Structure of EP10 stage register
b7
000000
b0
EP10 control register 1 (EP10CON1) [address 001A16]
Bit symbol
Bit name
PID10 [1:0] Response PID bit
b7:b2
Not used
Function
b1 b0
0 0 : NAK
0 1 : Automatic response (ACK, NAK, DATA0, DATA1)
1 X : STALL
At occurrence of control transfer error:
B1 is set to “1” by the hardware.
At reception of SETUP token:
B1 and b0 are cleared to “0” by the hardware.
Write “0” when writing.
“0” is read when reading.
At reset
H/W S/W
0–
––
RW
OO
OO
–: State remaining
Fig. 75 Structure of EP10 control register 1
b7
b0
0 000000
EP10 control register 2 (EP10CON2) [address 001B16]
Bit symbol
Bit name
BVAL10
Buffer enable bit
b7:b1
Not used
Fig. 76 Structure of EP10 control register 2
Function
At reset R W
H/W S/W
0 : NAK transmission (SIE is disabled to read a buffer.) 0 – O O
1 : Transmitting/receiving data set state (SIE is possible to
read from/write to a buffer.) (Valid in PID10 = “012”)
At reception of SETUP token:
This bit is cleared to “0” by the hardware.
Write “0” when writing.
– – OO
“0” is read when reading.
–: State remaining
Rev.3.00 Oct 15, 2006 page 52 of 147
REJ03B0193-0300