Struct esp32s3_hal::pac::usb0::gotgctl::W
pub struct W(_);
Expand description
Register GOTGCTL
writer
Implementations§
§impl W
impl W
pub fn sesreq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 1>
pub fn sesreq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 1>
Bit 1
pub fn vbvalidoven(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 2>
pub fn vbvalidoven(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 2>
Bit 2
pub fn vbvalidovval(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 3>
pub fn vbvalidovval(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 3>
Bit 3
pub fn avalidoven(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 4>
pub fn avalidoven(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 4>
Bit 4
pub fn avalidovval(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 5>
pub fn avalidovval(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 5>
Bit 5
pub fn bvalidoven(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 6>
pub fn bvalidoven(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 6>
Bit 6
pub fn bvalidovval(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 7>
pub fn bvalidovval(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 7>
Bit 7
pub fn hnpreq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 9>
pub fn hnpreq(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 9>
Bit 9
pub fn hstsethnpen(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 10>
pub fn hstsethnpen(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 10>
Bit 10
pub fn devhnpen(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 11>
pub fn devhnpen(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 11>
Bit 11
pub fn ehen(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 12>
pub fn ehen(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 12>
Bit 12
pub fn dbncefltrbypass(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 15>
pub fn dbncefltrbypass(
&mut self
) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 15>
Bit 15
pub fn otgver(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 20>
pub fn otgver(&mut self) -> BitWriterRaw<'_, u32, GOTGCTL_SPEC, bool, BitM, 20>
Bit 20
Methods from Deref<Target = W<GOTGCTL_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.
Trait Implementations§
§impl From<W<GOTGCTL_SPEC>> for W
impl From<W<GOTGCTL_SPEC>> for W
§fn from(writer: W<GOTGCTL_SPEC>) -> W
fn from(writer: W<GOTGCTL_SPEC>) -> W
Converts to this type from the input type.