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