Rev.2.00 Oct 16, 2006 page 157 of 354
REJ09B0340-0200
M30245 Group
2. USB function
(7) USB SOF (Start of Frame) Interrupt
This interrupt is valid to control the isochronous transfer. When a valid SOF PID is detected, receive of
an SOF packet is recognized and an interrupt request occurs. The frame number (11 bits) of the SOF
packet received from the host is automatically stored in USB frame number register.
In isochronous transfer, P9
2
can be used as the SOF output pin by setting “1” to USB SOF port select
bit of USB control register. (Set P9
2
to output port.) Every time that the SOF signal is received from the
host, the P9
2
outputs “Low” for about 166ns (two cycles of the 12MHz USB clock.).
When using the USB SOF interrupt, set the interrupt priority level at USB SOF interrupt control register
(SOFIC: address 005B
16
).
●
Artificial SOF Function
If the SOF packet from the host PC is destroyed due to any cause, and thus the SOF packet is not
correctly received within 1 ms of the start of the frame, a virtual SOF receive operation is performed
(and an USB SOF interrupt is generated). Even if the SOF packet is destroyed due to any cause, a
new frame can be formed by this function without waiting for the next SOF packet. This function
operates once to virtually receive an SOF packet after two SOF packets have been received cor-
rectly.
Содержание 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...