Struct stm32f4xx_hal::pac::otg_hs_device::dthrctl::W
source · [−]pub struct W(_);
Expand description
Register DTHRCTL
writer
Implementations
sourceimpl W
impl W
sourcepub fn nonisothren(&mut self) -> NONISOTHREN_W<'_>
pub fn nonisothren(&mut self) -> NONISOTHREN_W<'_>
Bit 0 - Nonisochronous IN endpoints threshold enable
sourcepub fn isothren(&mut self) -> ISOTHREN_W<'_>
pub fn isothren(&mut self) -> ISOTHREN_W<'_>
Bit 1 - ISO IN endpoint threshold enable
sourcepub fn txthrlen(&mut self) -> TXTHRLEN_W<'_>
pub fn txthrlen(&mut self) -> TXTHRLEN_W<'_>
Bits 2:10 - Transmit threshold length
sourcepub fn rxthrlen(&mut self) -> RXTHRLEN_W<'_>
pub fn rxthrlen(&mut self) -> RXTHRLEN_W<'_>
Bits 17:25 - Receive threshold length
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
sourceimpl From<W<DTHRCTL_SPEC>> for W
impl From<W<DTHRCTL_SPEC>> for W
sourcefn from(writer: W<DTHRCTL_SPEC>) -> W
fn from(writer: W<DTHRCTL_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more