#[repr(transparent)]pub struct Frg14ctl(pub u32);Expand description
FRG clock controller 14
Tuple Fields§
§0: u32Implementations§
Source§impl Frg14ctl
impl Frg14ctl
Sourcepub const fn div(&self) -> u8
pub const fn div(&self) -> u8
Denominator of the fractional divider. DIV is equal to the programmed value +1. Always set to 0xFF to use with the fractional baud rate generator.
Sourcepub const fn set_div(&mut self, val: u8)
pub const fn set_div(&mut self, val: u8)
Denominator of the fractional divider. DIV is equal to the programmed value +1. Always set to 0xFF to use with the fractional baud rate generator.
Trait Implementations§
impl Copy for Frg14ctl
impl Eq for Frg14ctl
impl StructuralPartialEq for Frg14ctl
Auto Trait Implementations§
impl Freeze for Frg14ctl
impl RefUnwindSafe for Frg14ctl
impl Send for Frg14ctl
impl Sync for Frg14ctl
impl Unpin for Frg14ctl
impl UnwindSafe for Frg14ctl
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