pub type HOST_CONTROLLER_FUNCTIONAL_STATE_FOR_USB_W<'a, const O: u8> = FieldWriterSafe<'a, u32, HC_CONTROL_SPEC, u8, HOST_CONTROLLER_FUNCTIONAL_STATE_FOR_USB_A, 2, O>;
Expand description

Field host_controller_functional_state_for_usb writer - A transition to USBOperational from another state causes SOF generation to begin 1 ms later. HCD may determine whether HC has begun sending SOFs by reading the StartoFrame field of HcInterruptStatus.

This field may be changed by HC only when in the USBSUSPEND state. HC may move from the USBSUSPEND state to the USBRESUME state after detecting the resume signaling from a downstream port.

HC enters USBSUSPEND after a software reset, whereas it enters USBRESET after a hardware reset. The latter also resets the Root Hub and asserts subsequent reset signaling to downstream ports.

Aliased Type§

struct HOST_CONTROLLER_FUNCTIONAL_STATE_FOR_USB_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> HOST_CONTROLLER_FUNCTIONAL_STATE_FOR_USB_W<'a, O>

source

pub fn usb_reset(self) -> &'a mut W

USB Reset

source

pub fn usb_resume(self) -> &'a mut W

USB Resume

source

pub fn usb_operational(self) -> &'a mut W

USB Operational

source

pub fn usb_suspend(self) -> &'a mut W

USB Suspend