pub struct ClockConfig {
pub divider: Divider,
pub low: u8,
pub high: u8,
}Expand description
Clock configuration for an I2c instance.
Fields§
§divider: DividerDivider for the IIC reference clock (IICϕ). PCKLB / divider = IICϕ. §29.2.3.
low: u8I2C Low-level period (t_low). Units are IICϕ cycles? §29.2.15.
high: u8I2C High-level period (t_high). Units are IICϕ cycles? §29.2.16.
Trait Implementations§
Source§impl Clone for ClockConfig
impl Clone for ClockConfig
impl Copy for ClockConfig
Auto Trait Implementations§
impl Forget for ClockConfig
impl Freeze for ClockConfig
impl Move 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