Struct esp32s3_hal::pac::usb0::gusbcfg::W
pub struct W(_);
Expand description
Register GUSBCFG
writer
Implementations§
§impl W
impl W
pub fn toutcal(
&mut self
) -> FieldWriterRaw<'_, u32, GUSBCFG_SPEC, u8, u8, Unsafe, 3, 0>
pub fn toutcal(
&mut self
) -> FieldWriterRaw<'_, u32, GUSBCFG_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2
pub fn phyif(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 3>
pub fn phyif(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 3>
Bit 3
pub fn fsintf(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 5>
pub fn fsintf(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 5>
Bit 5
pub fn srpcap(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 8>
pub fn srpcap(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 8>
Bit 8
pub fn hnpcap(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 9>
pub fn hnpcap(&mut self) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 9>
Bit 9
pub fn usbtrdtim(
&mut self
) -> FieldWriterRaw<'_, u32, GUSBCFG_SPEC, u8, u8, Unsafe, 4, 10>
pub fn usbtrdtim(
&mut self
) -> FieldWriterRaw<'_, u32, GUSBCFG_SPEC, u8, u8, Unsafe, 4, 10>
Bits 10:13
pub fn termseldlpulse(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 22>
pub fn termseldlpulse(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 22>
Bit 22
pub fn txenddelay(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 28>
pub fn txenddelay(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 28>
Bit 28
pub fn forcehstmode(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 29>
pub fn forcehstmode(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 29>
Bit 29
pub fn forcedevmode(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 30>
pub fn forcedevmode(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 30>
Bit 30
pub fn corrupttxpkt(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 31>
pub fn corrupttxpkt(
&mut self
) -> BitWriterRaw<'_, u32, GUSBCFG_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<GUSBCFG_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<GUSBCFG_SPEC>> for W
impl From<W<GUSBCFG_SPEC>> for W
§fn from(writer: W<GUSBCFG_SPEC>) -> W
fn from(writer: W<GUSBCFG_SPEC>) -> W
Converts to this type from the input type.