R01UH0823EJ0100 Rev.1.00
Page 879 of 1823
Jul 31, 2019
RX23W Group
32. USB 2.0 Host/Function Module (USBc)
SACK Flag (Setup Transaction Normal Response Interrupt Status Flag)
Indicates the status of the setup transaction normal response interrupt when the host controller is selected.
The USB detects the SACK interrupt when ACK response is returned from the peripheral device during the setup
transactions issued by the USB, and sets the SACK flag to 1. Here, if the corresponding interrupt enable bit has been set
to 1 by software, the USB generates the SACK interrupt.
When the function controller is selected, the read value is invalid.
SIGN Flag (Setup Transaction Error Interrupt Status Flag)
Indicates the status of the setup transaction error interrupt when the host controller is selected.
The USB detects the SIGN interrupt when ACK response is not returned from the peripheral device three consecutive
times during the setup transactions issued by this module, and sets the SIGN flag to 1. Here, if the corresponding
interrupt enable bit has been set to 1 by software, the USB generates the SIGN interrupt.
Specifically, the USB detects the SIGN interrupt when any of the following response conditions occur for three
consecutive setup transactions.
Timeout is detected by the USB when the peripheral device has returned no response.
A damaged ACK packet is received.
A handshake other than ACK (NAK, NYET, or STALL) is received.
When the function controller is selected, the read value is invalid.
EOFERR Flag (EOF Error Detection Interrupt Status Flag)
Indicates the status of the EOFERR interrupt when the host controller is selected.
The USB detects the EOFERR interrupt on detecting that communication is not completed at the EOF2 timing prescribed
by USB Specification 2.0, and sets the EOFERR flag to 1. Here, if the corresponding interrupt enable bit has been set to
1 by software, the USB generates the EOFERR interrupt.
After detecting the EOFERR interrupt, the USB controls hardware as described below (irrespective of the setting of the
corresponding interrupt enable bit). All pipes in which communications are currently carried out for the USB port should
be terminated by software and perform re-enumeration of the USB port.
Modifies the DVSTCTR0.UACT bit for the port in which an EOFERR interrupt has been detected to 0.
Puts the port in which an EOFERR interrupt has been generated into the idle state.
When the function controller is selected, the read value is invalid.
ATTCH Flag (ATTCH Interrupt Status Flag)
Indicates the status of the ATTCH interrupt when the host controller is selected.
The USB detects the ATTCH interrupt on detecting J-state or K-state of the full-speed or low-speed signal level for
2.5 μs, and sets the ATTCH flag to 1. Here, if the corresponding interrupt enable bit has been set to 1 by software, the
USB generates the interrupt.
Specifically, the USB detects the ATTCH interrupt on any of the following conditions.
K-state, SE0, or SE1 changes to J-state, and J-state continues for 2.5 µs.
J-state, SE0, or SE1 changes to K-state, and K-state continues for 2.5 µs.
When the function controller is selected, the read value is invalid.