pub struct ClockConfig {
pub div: UInt<u32, 18>,
pub frac: UInt<u8, 6>,
pub baud_mode: BaudMode,
}Fields§
§div: UInt<u32, 18>Integer divisor.
frac: UInt<u8, 6>Fractional divide value in 1/64 units.
baud_mode: BaudModeImplementations§
Trait Implementations§
Source§impl Clone for ClockConfig
impl Clone for ClockConfig
Source§fn clone(&self) -> ClockConfig
fn clone(&self) -> ClockConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClockConfig
Source§impl Debug for ClockConfig
impl Debug for ClockConfig
impl Eq for ClockConfig
Source§impl Format for ClockConfig
impl Format for ClockConfig
Source§impl PartialEq for ClockConfig
impl PartialEq for ClockConfig
impl StructuralPartialEq for ClockConfig
Auto Trait Implementations§
impl Freeze for ClockConfig
impl RefUnwindSafe for ClockConfig
impl Send for ClockConfig
impl Sync for ClockConfig
impl Unpin for ClockConfig
impl UnsafeUnpin for ClockConfig
impl UnwindSafe for ClockConfig
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