Struct stm32f4xx_hal::pac::otg_hs_device::dthrctl::W
source · pub struct W(/* private fields */);
Expand description
Register DTHRCTL
writer
Implementations§
source§impl W
impl W
sourcepub 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 - Nonisochronous IN endpoints threshold enable
sourcepub 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 - ISO IN endpoint threshold enable
sourcepub 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 - Transmit threshold length
sourcepub 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 - Receive threshold enable
sourcepub 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 - Receive threshold length
sourcepub fn arpen(&mut self) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 27>
pub fn arpen(&mut self) -> BitWriterRaw<'_, u32, DTHRCTL_SPEC, bool, BitM, 27>
Bit 27 - Arbiter parking enable
Methods from Deref<Target = W<DTHRCTL_SPEC>>§
sourcepub 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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more