Rev.2.00 Oct 16, 2006 page 199 of 354
REJ09B0340-0200
M30245 Group
2. USB function
●
USB endpoint x(x=1 to 4) IN MAXP register
This register indicates endpoint x(x=1 to 4) IN maximum packet size. The default value is 0 byte.
When the endpoint is initialized due to any reason such as that the request for setting the endpoint
(SET_DESCRIPTOR, SET_CONFIGURATION, SET_INTERFACE, etc.) is received from the host
CPU, change the endpoint x IN maximum packet size value by writing in this register. Set a packet
size value specified for every transfer type to be used.
The configuration of USB endpoint x(x=1 to 4) IN MAXP register is shown in Figure 2.8.47.
Figure 2.8.47. USB endpoint x(x=1 to 4) IN MAXP register
Bit Symbol
Bit Name
Function
R W
O O
Symbol
EPxIMP ( x = 1 - 4)
Address
When reset
USB Endpoint x IN MAXP register
b7
(b15)
(b8)
b0
IMAXP9-0
b7
b0
Endpoint x IN
maximum packet size
O O
Reserved
02A0
16
, 02A6
16
,
02AC
16
, 02B2
16
0000
16
Must always be set to “0”
0
0
0
0
0
0
Set the endpoint x IN
maximum packet size
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...