#[non_exhaustive]pub struct FircConfig {
pub frequency: FircFreqSel,
pub power: PoweredClock,
pub fro_hf_enabled: bool,
pub clk_45m_enabled: bool,
pub fro_hf_div: Option<Div8>,
}Expand description
┌───────────┐ fro_hf_root ┌────┐ fro_hf
│ FRO180M ├───────┬─────▷│GATE│──────────▷
│ │ │ ├────┤ clk_45m
│ │ └─────▷│GATE│──────────▷
└───────────┘ └────┘Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frequency: FircFreqSelSelected clock frequency
power: PoweredClockSelected power state of the clock
fro_hf_enabled: boolIs the “fro_hf” gated clock enabled?
clk_45m_enabled: boolIs the “clk_45m” gated clock enabled?
fro_hf_div: Option<Div8>Is the “fro_hf_div” clock enabled? Requires fro_hf!
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FircConfig
impl RefUnwindSafe for FircConfig
impl Send for FircConfig
impl Sync for FircConfig
impl Unpin for FircConfig
impl UnwindSafe for FircConfig
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