Module lpmcsr

Source
Expand description

LPM control and status register

Structs§

LPMCSRrs
LPM control and status register

Enums§

LPMACK
LPM Token acknowledge enable The NYET/ACK will be returned only on a successful LPM transaction: No errors in both the EXT token and the LPM token (else ERROR) A valid bLinkState = 0001B (L1) is received (else STALL) This bit contains the device answer to the LPM transaction. It mast be evaluated following the L1REQ interrupt.

Type Aliases§

BESL_R
Field BESL reader - BESL value Device mode These bits contain the BESL value received with last ACKed LPM Token Host mode These bits contain the BESL value transmitted with the LPM transaction
LPMACK_R
Field LPMACK reader - LPM Token acknowledge enable The NYET/ACK will be returned only on a successful LPM transaction: No errors in both the EXT token and the LPM token (else ERROR) A valid bLinkState = 0001B (L1) is received (else STALL) This bit contains the device answer to the LPM transaction. It mast be evaluated following the L1REQ interrupt.
LPMACK_W
Field LPMACK writer - LPM Token acknowledge enable The NYET/ACK will be returned only on a successful LPM transaction: No errors in both the EXT token and the LPM token (else ERROR) A valid bLinkState = 0001B (L1) is received (else STALL) This bit contains the device answer to the LPM transaction. It mast be evaluated following the L1REQ interrupt.
LPMEN_R
Field LPMEN reader - LPM support enable Device mode This bit is set by the software to enable the LPM support within the USB device. If this bit is at ’0 no LPM transactions are handled. Host mode Software sets this bit to transmit an LPM transaction to device. This bit is cleared by hardware, simultaneous with L1REQ flag set, when device answer is received
LPMEN_W
Field LPMEN writer - LPM support enable Device mode This bit is set by the software to enable the LPM support within the USB device. If this bit is at ’0 no LPM transactions are handled. Host mode Software sets this bit to transmit an LPM transaction to device. This bit is cleared by hardware, simultaneous with L1REQ flag set, when device answer is received
R
Register LPMCSR reader
REMWAKE_R
Field REMWAKE reader - bRemoteWake value Device mode This bit contains the bRemoteWake value received with last ACKed LPM Token Host mode This bit contains the bRemoteWake value transmitted with the LPM transaction
W
Register LPMCSR writer