[][src]Type Definition lpc55s6x_pac::usb0::lpm::R

type R = R<u32, LPM>;

Reader of register LPM

Methods

impl R[src]

pub fn hird_hw(&self) -> HIRD_HW_R[src]

Bits 0:3 - Host Initiated Resume Duration - HW. This is the HIRD value from the last received LPM token

pub fn hird_sw(&self) -> HIRD_SW_R[src]

Bits 4:7 - Host Initiated Resume Duration - SW. This is the time duration required by the USB device system to come out of LPM initiated suspend after receiving the host initiated LPM resume.

pub fn data_pending(&self) -> DATA_PENDING_R[src]

Bit 8 - As long as this bit is set to one and LPM supported bit is set to one, HW will return a NYET handshake on every LPM token it receives. If LPM supported bit is set to one and this bit is zero, HW will return an ACK handshake on every LPM token it receives. If SW has still data pending and LPM is supported, it must set this bit to 1.