|
38K0 Datasheet, PDF (36/133 Pages) Mitsubishi Electric Semiconductor – SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER | |||
|
◁ |
38K0 Group
(1) Endpoint 00
b7
b0
000 00 00
EP00 stage register (EP00STG) [address 001916]
Bit symbol
Bit name
SETUP00 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â to this bit clears this bit if the next SETUP
token does not occur.
Writing â1â to this bit causes no state change of the
status flags.
Write â0â when writing.
â â OO
â0â is read when reading.
â: State remaining
Fig. 39 Structure of EP00 stage register
b7
000000
b0
EP00 control register 1 (EP00CON1) [address 001A16]
Bit symbol
Bit name
PID00 [1:0] Response PID bit
b7:b2
Not used
Fig. 40 Structure of EP00 control register 1
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 R W
H/W S/W
0 â OO
â â OO
â: State remaining
b7
b0
0 000000
EP00 control register 2 (EP00CON2) [address 001B16]
Bit symbol
Bit name
BVAL00
Buffer enable bit
b7:b1
Not used
Fig. 41 Structure of EP00 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.)
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 05, 2006 page 36 of 129
REJ03B0192-0300
|
▷ |