#[repr(transparent)]pub struct Pfda(pub u32);Expand description
PFD A. F70RM 42.7.17 (text line 106514). Source conflict: six-bit PFD0_FRAC and frequency formula specify n=18..35, but the RM legal-range sentence gives 12-bit values 0x26a..0x27b that cannot fit. Expose raw numeric bits without inventing a corrected range enum. PFD0_CLKGATE=1 gates the output; writing the fractional value toggles pfd_update.
Tuple Fields§
§0: u32Implementations§
Source§impl Pfda
impl Pfda
Sourcepub const fn pfd0_clkgate(&self) -> bool
pub const fn pfd0_clkgate(&self) -> bool
PFD0 Clock Gate. Raw encoding: 0b - Enable; 1b - Disable.
Sourcepub const fn set_pfd0_clkgate(&mut self, val: bool)
pub const fn set_pfd0_clkgate(&mut self, val: bool)
PFD0 Clock Gate. Raw encoding: 0b - Enable; 1b - Disable.
Sourcepub const fn set_pfd0_frac(&mut self, val: u8)
pub const fn set_pfd0_frac(&mut self, val: u8)
PFD0 Fractional Divider.
Trait Implementations§
impl Copy for Pfda
impl Eq for Pfda
impl StructuralPartialEq for Pfda
Auto Trait Implementations§
impl Freeze for Pfda
impl RefUnwindSafe for Pfda
impl Send for Pfda
impl Sync for Pfda
impl Unpin for Pfda
impl UnwindSafe for Pfda
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