Struct esp32s3_hal::pac::usb0::hprt::W
pub struct W(_);
Expand description
Register HPRT
writer
Implementations§
§impl W
impl W
pub fn prtconndet(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 1>
pub fn prtconndet(&mut self) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 1>
Bit 1
pub fn prtovrcurrchng(
&mut self
) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 5>
pub fn prtovrcurrchng(
&mut self
) -> BitWriterRaw<'_, u32, HPRT_SPEC, bool, BitM, 5>
Bit 5
Methods from Deref<Target = W<HPRT_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.