#[repr(transparent)]pub struct Frgctl(pub u32);Expand description
FRG clock controller
Tuple Fields§
§0: u32Implementations§
Source§impl Frgctl
impl Frgctl
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 Frgctl
impl Eq for Frgctl
impl StructuralPartialEq for Frgctl
Auto Trait Implementations§
impl Freeze for Frgctl
impl RefUnwindSafe for Frgctl
impl Send for Frgctl
impl Sync for Frgctl
impl Unpin for Frgctl
impl UnwindSafe for Frgctl
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