28 USB FUNCTION CONTROLLER (USB)
S1C33L26 TECHNICAL MANUAL
Seiko Epson Corporation
28-39
FrameNumber_H (Frame Number HIGH)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
FrameNumber
_H
(Frame number
high)
0x300c2e
(8 bits)
D7
FnInvalid
1 Invalid frame number
0 Valid frame number
1
R
D6–3 –
–
–
–
0 when being read.
D2–0 FrameNumber[10:8]
Frame number high
0x0
R
This register displays the USB frame number that is updated every time the SOF token is received. When frame
numbers are acquired, the FrameNumber_H and the FrameNumber_L registers must be accessed as a pair. When
accessing them, access the FrameNumber_H register first.
D7
FnInvalid
When an error occurs in the received SOF packet, this bit is set to 1.
D[6:3]
Reserved
D[2:0]
FrameNumber[10:8]
The upper order 3 bits in the FrameNumber field of the received SOF packet are stored in these bits.
FrameNumber_L (Frame Number LOW)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
FrameNumber
_L
(Frame number
low)
0x300c2f
(8 bits)
D7–0 FrameNumber[7:0]
Frame number low
0x0
R
D[7:0]
FrameNumber[7:0]
The lower order 8 bits in the FrameNumber field of the received SOF packet are stored in these bits.
EP0Setup_0 (EP0 Setup 0)–EP0Setup_7 (EP0 Setup 7)
Register name Address
Bit
Name
Setting
Init. R/W
Remarks
EP0Setup_0
(EP0 setup 0)
|
EP0Setup_7
(EP0 setup 7)
0x300c30
|
0x300c37
(8 bits)
D7–0 EP0Setup_
n
[7:0]
Endpoint 0 setup data 0
|
Endpoint 0 setup data 7
0x0
R
Eight-byte data received at the endpoint EP0 setup stage are stored from the EP0Setup_0 sequentially.
EP0Setup_0 register
BmRequestType is set.
EP0Setup_1 register
BRequest is set.
EP0Setup_2 register
The lower order 8 bits in Wvalue are set.
EP0Setup_3 register
The upper order 8 bits in Wvalue are set.
EP0Setup_4 register
The lower order 8 bits in WIndex are set.
EP0Setup_5 register
The upper order 8 bits in WIndex are set.
EP0Setup_6 register
The lower order 8 bits in WLength are set.
EP0Setup_7 register
The upper order 8 bits in WLength are set.