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 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