Struct stm32_hal2::pac::ethernet_mac::macppscr::W
source · [−]pub struct W(_);Expand description
Register MACPPSCR writer
Implementations
sourceimpl W
impl W
sourcepub fn ppsctrl(
&mut self
) -> FieldWriterRaw<'_, u32, MACPPSCR_SPEC, u8, u8, Unsafe, 4, 0>
pub fn ppsctrl(
&mut self
) -> FieldWriterRaw<'_, u32, MACPPSCR_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3 - Flexible PPS Output (ptp_pps_o[0]) Control or PPSCTRL PPS Output Frequency Control if PPSEN0 is cleared
sourcepub fn ppsen0(&mut self) -> BitWriterRaw<'_, u32, MACPPSCR_SPEC, bool, BitM, 4>
pub fn ppsen0(&mut self) -> BitWriterRaw<'_, u32, MACPPSCR_SPEC, bool, BitM, 4>
Bit 4 - Flexible PPS Output Mode Enable
sourcepub fn trgtmodsel0(
&mut self
) -> FieldWriterRaw<'_, u32, MACPPSCR_SPEC, u8, u8, Unsafe, 2, 5>
pub fn trgtmodsel0(
&mut self
) -> FieldWriterRaw<'_, u32, MACPPSCR_SPEC, u8, u8, Unsafe, 2, 5>
Bits 5:6 - Target Time Register Mode for PPS Output
Methods from Deref<Target = W<MACPPSCR_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<MACPPSCR_SPEC>> for W
impl From<W<MACPPSCR_SPEC>> for W
sourcefn from(writer: W<MACPPSCR_SPEC>) -> W
fn from(writer: W<MACPPSCR_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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