Datasheet

Section 16 USB Function Module (USB)
Page 978 of 1408 R01UH0309EJ0500 Rev. 5.00
Sep 24, 2012
H8S/2456, H8S/2456R, H8S/2454 Group
Bit Bit Name
Initial
Value R/W Description
4 RWUPS 0 R Remote Wakeup Status
This status bit indicates remote wakeup command
from USB host is enabled or disabled.
This bit is set to 0 when remote wakeup command
from UBM host is disabled by
Device_Remote_Wakeup due to Set Feature or Clear
Feature request. This bit is set to 1 when remote
wakeup command is enabled.
3 RSME
0
R/W
Resume Enable
This bit releases the suspend state (or executes
remote wakeup). When RSME is set to 1, resume
request starts. If RSME is once set to 1, clear this bit
to 0 again afterwards. In this case, the value 1 set to
RSME must be kept for at least one clock period of
12-MHz clock.
2 PWMD 0 R/W Bus Power Mode
This bit specifies the USB power mode. When PWMD
is set to 0, the self-power mode is selected for this
module. When set to 1, the bus-power mode is
selected.
1 EP0 ASCE
0
R/W
EP0 Automatic Stall Clear Enable
Setting the EP0 ASCE bit to 1 automatically clears the
EP0 stall setting bit (the EP0 STLS bit in EPSTL0)
after the stall handshake is returned to the host.
When the EP0 ASCE bit is set to 0, the stall setting bit
is not automatically cleared and must be cleared by
the users. To enable the automatic stall clear function,
make sure that the EP0 ASCE bit should be set to 1
before the EP0 STLS bit in EPSTL0 is set to 1.
0 PRTRST 1 R/W Protocol Processing Block Reset
0: The protocol processing block is placed in
operation state.
1: The protocol processing block is placed in reset
state.