Struct stm32_metapac::eth::regs::Macppscr
#[repr(transparent)]pub struct Macppscr(pub u32);
Expand description
PPS control register
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Macppscr
impl Macppscr
pub const fn ppsctrl(&self) -> u8
pub const fn ppsctrl(&self) -> u8
Flexible PPS Output (ptp_pps_o[0]) Control or PPSCTRL PPS Output Frequency Control if PPSEN0 is cleared
pub fn set_ppsctrl(&mut self, val: u8)
pub fn set_ppsctrl(&mut self, val: u8)
Flexible PPS Output (ptp_pps_o[0]) Control or PPSCTRL PPS Output Frequency Control if PPSEN0 is cleared
pub fn set_ppsen0(&mut self, val: bool)
pub fn set_ppsen0(&mut self, val: bool)
Flexible PPS Output Mode Enable
pub const fn trgtmodsel0(&self) -> u8
pub const fn trgtmodsel0(&self) -> u8
Target Time Register Mode for PPS Output
pub fn set_trgtmodsel0(&mut self, val: u8)
pub fn set_trgtmodsel0(&mut self, val: u8)
Target Time Register Mode for PPS Output
Trait Implementationsยง
ยงimpl PartialEq for Macppscr
impl PartialEq for Macppscr
impl Copy for Macppscr
impl Eq for Macppscr
impl StructuralEq for Macppscr
impl StructuralPartialEq for Macppscr
Auto Trait Implementationsยง
impl RefUnwindSafe for Macppscr
impl Send for Macppscr
impl Sync for Macppscr
impl Unpin for Macppscr
impl UnwindSafe for Macppscr
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