pub struct ClockConfig {
pub procdiv: u8,
pub cckdiv: Cckdiv,
pub cck0_output: bool,
pub cck1_output: bool,
}Expand description
Clock generator configuration shared by ADF and MDF.
Fields§
§procdiv: u8Divider applied to the kernel clock to produce the processing clock.
Output frequency is kernel_clock / (procdiv + 1).
cckdiv: CckdivDivider applied to the CCK output clock.
cck0_output: boolDrive CCK0 as output (typically the PDM bit clock).
cck1_output: boolDrive CCK1 as output.
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClockConfig
impl Debug for ClockConfig
Source§impl Default for ClockConfig
impl Default for ClockConfig
Source§impl Format for ClockConfigwhere
Cckdiv: Format,
impl Format for ClockConfigwhere
Cckdiv: Format,
impl Copy 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 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