Rev.2.00 Oct 16, 2006 page 160 of 354
REJ09B0340-0200
M30245 Group
2. USB function
Y
N
Y
N
Y
N
•Enables each interrupt by the USBIE (address 0288
16
~0289
16
)
at initial routine
USB function interrupt request detected
USBIS
→
Read one word and store it to RAM
RAM
→
Write one word to USBIC
RAM,bit8=1?
USB error
interrupt routine
RAM,bit1=1 or
RAM,bit3=1 or
RAM,bit5=1 or
RAM,bit7=1
USB endpoint x OUT
interrupt routine
RAM,bit0=1 or
RAM,bit2=1 or
RAM,bit4=1 or
RAM,bit6=1
USB endpoint x IN
interrupt routine
Completion of USB funxtion interrupt process
•Executes error handling of endpoint 0 to 4.
•Clears USB interrupt status register 1, 2 by writing “1”
to the bit corresponding to the USBIC.
Figure 2.8.26. USB function interrupt processing routine
Содержание 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...