Type Alias d1_pac::usb1::ohci_control_status_partition::hc_control::HOST_CONTROLLER_FUNCTIONAL_STATE_FOR_USB_W
source · 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>
impl<'a, const O: u8> HOST_CONTROLLER_FUNCTIONAL_STATE_FOR_USB_W<'a, O>
sourcepub fn usb_resume(self) -> &'a mut W
pub fn usb_resume(self) -> &'a mut W
USB Resume
sourcepub fn usb_operational(self) -> &'a mut W
pub fn usb_operational(self) -> &'a mut W
USB Operational
sourcepub fn usb_suspend(self) -> &'a mut W
pub fn usb_suspend(self) -> &'a mut W
USB Suspend