Renesas M16C Series User Manual page 163

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
(2) USB Endpoint 0 Interrupt
In the endpoint 0 interrupt, the interrupt request occurs when the data transmit/receive of endpoint 0
are completed. Set the interrupt priority level by using USB endpoint 0 interrupt control register
(EP0IC: address 0046
interrupt occurs when one of the following events occur:
• A data is successfully received
• A data is successfully transmitted
• The DATA_END bit of the EP0CS register is cleared to "0"
• The SETUP_END flag of the EP0CS register is set to "1"
www.DataSheet4U.com
Mask Function of Endpoint 0 Interrupt Factor
By setting the DATA_END_MASK bit of USB endpoint 0 control and status register, the M30245
group can control whether or not to clear the DATA_END flag as the endpoint 0 interrupt factor.
Clearing of the DATA_END flag is masked at the time of resetting. (The DATA_END flag is not
cleared as an endpoint 0 interrupt factor.)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
). The interrupt request bit of the EP0IC is set to "1" and the USB endpoint 0
16
page 154 of 354
2. USB function

Advertisement

Table of Contents
loading

Table of Contents