English
Language : 

MC9S08JM16 Datasheet, PDF (310/386 Pages) Freescale Semiconductor, Inc – Microcontrollers
Universal Serial Bus Device Controller (S08USBV1)
7
6
5
4
3
2
1
R
0
0
0
0
0
FRM10
FRM9
W
Reset
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 17-16. Frame Number Register High (FRMNUMH)
Table 17-17. FRMNUMH Field Descriptions
Field
Description
2–0
Frame Number — These bits represent the high order bits of the 11-bit frame number.
FRM[10:8]
0
FRM8
0
17.3.13 Endpoint Control Register (EPCTLn, n=0-6)
The endpoint control registers contains the endpoint control bits (EPCTLDIS, EPRXEN, EPTXEN, and
EPHSHK) for each endpoint available within the USB module for a decoded address. These four bits
define all of the control necessary for any one endpoint. The formats for these registers are shown in the
tables below. Endpoint 0 (ENDP0) is associated with control pipe 0 which is required by the USB for all
functions. Therefore, after a USBRST interrupt has been received, the microcontroller must set EPCTL0
to contain 0x0D.
7
6
5
4
3
2
1
0
R
0
0
0
EPCTLDIS EPRXEN EPTXEN EPSTALL EPHSHK
W
Reset
(EP0-6)
0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 17-17. Endpoint Control Register (EPCTLn)
Table 17-18. EPCTLn Field Descriptions
Field
4
EPCTLDIS
3
EPRXEN
2
EPTXEN
Description
Endpoint Control — This bit defines if an endpoint is enabled and the direction of the endpoint. The
endpoint enable/direction control is defined in Table 17-19.
Endpoint Rx Enable — This bit defines if an endpoint is enabled for OUT transfers. The endpoint
enable/direction control is defined in Table 17-19.
Endpoint Tx Enable — This bit defines if an endpoint is enabled for IN transfers. The endpoint
enable/direction control is defined in Table 17-19.
MC9S08JM16 Series Data Sheet, Rev. 2
310
Freescale Semiconductor