UM0306 USB full speed device interface (USB)
435/519
Bit 12
WKUPM: Wake-up Interrupt Mask
0: WKUP Interrupt disabled.
1: WKUP Interrupt enabled, an interrupt request is generated when the
corresponding bit in the register is set.
Bit 11
SUSPM: Suspend mode Interrupt Mask
0: Suspend Mode Request (SUSP) Interrupt disabled.
1: SUSP Interrupt enabled, an interrupt request is generated when the corresponding
bit in the register is set.
Bit 10
RESETM: USB Reset Interrupt Mask
0: RESET Interrupt disabled.
1: RESET Interrupt enabled, an interrupt request is generated when the
corresponding bit in the register is set.
Bit 9
SOFM: Start Of Frame Interrupt Mask
0: SOF Interrupt disabled.
1: SOF Interrupt enabled, an interrupt request is generated when the corresponding
bit in the register is set.
Bit 8
ESOFM: Expected Start Of Frame Interrupt Mask
0: Expected Start of Frame (ESOF) Interrupt disabled.
1: ESOF Interrupt enabled, an interrupt request is generated when the corresponding
bit in the register is set.
Bit 4
RESUME: Resume request
The microcontroller can set this bit to send a Resume signal to the host. It must be
activated, according to USB specifications, for no less than 1mS and no more than
15mS after which the Host PC is ready to drive the resume sequence up to its end.
Bit 3
FSUSP: Force suspend
Software must set this bit when the SUSP interrupt is received, which is issued when
no traffic is received by the USB Peripheral for 3 mS.
0: No effect.
1: Enter suspend mode. Clocks and static power dissipation in the analog transceiver
are left unaffected. If suspend power consumption is a requirement (bus-powered
device), the application software should set the LP_MODE bit after FSUSP as
explained below.
Bit 2
LP_MODE: Low-power mode
This mode is used when the suspend-mode power constraints require that all static
power dissipation is avoided, except the one required to supply the external pull-up
resistor. This condition should be entered when the application is ready to stop all
system clocks, or reduce their frequency in order to meet the power consumption
requirements of the USB suspend condition. The USB activity during the suspend
mode (WKUP event) asynchronously resets this bit (it can also be reset by software).
0: No Low-power mode.
1: Enter Low-power mode.