Struct esp32s3_hal::pac::usb0::dthrctl::W
pub struct W(_);
Expand description
Register DTHRCTL
writer
Implementations§
§impl W
impl W
pub fn nonisothren(
&mut self
) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 0>
pub fn nonisothren(
&mut self
) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 0>
Bit 0
pub fn isothren(&mut self) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 1>
pub fn isothren(&mut self) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 1>
Bit 1
pub fn txthrlen(
&mut self
) -> FieldWriterRaw<'_, u32, DTHRCTL_SPEC, u16, u16, Unsafe, 9, 2>
pub fn txthrlen(
&mut self
) -> FieldWriterRaw<'_, u32, DTHRCTL_SPEC, u16, u16, Unsafe, 9, 2>
Bits 2:10
pub fn ahbthrratio(
&mut self
) -> FieldWriterRaw<'_, u32, DTHRCTL_SPEC, u8, u8, Unsafe, 2, 11>
pub fn ahbthrratio(
&mut self
) -> FieldWriterRaw<'_, u32, DTHRCTL_SPEC, u8, u8, Unsafe, 2, 11>
Bits 11:12
pub fn rxthren(&mut self) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 16>
pub fn rxthren(&mut self) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 16>
Bit 16
pub fn rxthrlen(
&mut self
) -> FieldWriterRaw<'_, u32, DTHRCTL_SPEC, u16, u16, Unsafe, 9, 17>
pub fn rxthrlen(
&mut self
) -> FieldWriterRaw<'_, u32, DTHRCTL_SPEC, u16, u16, Unsafe, 9, 17>
Bits 17:25
pub fn arbprken(
&mut self
) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 27>
pub fn arbprken(
&mut self
) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 27>
Bit 27
Methods from Deref<Target = W<DTHRCTL_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<DTHRCTL_SPEC>> for W
impl From<W<DTHRCTL_SPEC>> for W
§fn from(writer: W<DTHRCTL_SPEC>) -> W
fn from(writer: W<DTHRCTL_SPEC>) -> W
Converts to this type from the input type.