Type Definition stm32g0::stm32g0c1::usb::cntr::USBRST_W

source · []
pub type USBRST_W<'a, const O: u8> = BitWriter<'a, u32, CNTR_SPEC, USBRST_A, O>;
Expand description

Field USBRST writer - USB Reset Device mode Software can set this bit to reset the USB core, exactly as it happens when receiving a RESET signaling on the USB.The USB peripheral, in response to a RESET, resets its internal protocol state machine. Reception and transmission are disabled until the RESET bit is cleared. All configuration registers do not reset: the microcontroller must explicitly clear these registers (this is to ensure that the RESET interrupt can be safely delivered, and any transaction immediately followed by a RESET can be completed). The function address and endpoint registers are reset by an USB reset event. Host mode Software sets this bit to drive USB reset state on the bus and initialize the device. USB reset terminates as soon as this bit is cleared by software.

Implementations

No effect

USB core is under reset / USB reset driven