#[repr(transparent)]pub struct ClockCtrl(pub u32);Expand description
Clock Control
Tuple Fields§
§0: u32Implementations§
Source§impl ClockCtrl
impl ClockCtrl
Sourcepub const fn clkin_ena_fm_usbh_lpt(&self) -> bool
pub const fn clkin_ena_fm_usbh_lpt(&self) -> bool
Enables the clk_in clock for the Frequency Measurement, USB HS and LPTMR0/1 modules.
Sourcepub const fn set_clkin_ena_fm_usbh_lpt(&mut self, val: bool)
pub const fn set_clkin_ena_fm_usbh_lpt(&mut self, val: bool)
Enables the clk_in clock for the Frequency Measurement, USB HS and LPTMR0/1 modules.
Sourcepub const fn fro1mhz_ena(&self) -> bool
pub const fn fro1mhz_ena(&self) -> bool
Enables the FRO_1MHz clock for RTC module and for UTICK
Sourcepub const fn set_fro1mhz_ena(&mut self, val: bool)
pub const fn set_fro1mhz_ena(&mut self, val: bool)
Enables the FRO_1MHz clock for RTC module and for UTICK
Sourcepub const fn fro12mhz_ena(&self) -> bool
pub const fn fro12mhz_ena(&self) -> bool
Enables the FRO_12MHz clock for the Flash, LPTMR0/1, and Frequency Measurement modules
Sourcepub const fn set_fro12mhz_ena(&mut self, val: bool)
pub const fn set_fro12mhz_ena(&mut self, val: bool)
Enables the FRO_12MHz clock for the Flash, LPTMR0/1, and Frequency Measurement modules
Sourcepub const fn fro_hf_ena(&self) -> bool
pub const fn fro_hf_ena(&self) -> bool
Enables FRO HF clock for the Frequency Measure module
Sourcepub const fn set_fro_hf_ena(&mut self, val: bool)
pub const fn set_fro_hf_ena(&mut self, val: bool)
Enables FRO HF clock for the Frequency Measure module
Sourcepub const fn clkin_ena(&self) -> bool
pub const fn clkin_ena(&self) -> bool
Enables clk_in clock for MICFIL, CAN0/1, I3C0/1, SAI0/1, clkout.
Sourcepub const fn set_clkin_ena(&mut self, val: bool)
pub const fn set_clkin_ena(&mut self, val: bool)
Enables clk_in clock for MICFIL, CAN0/1, I3C0/1, SAI0/1, clkout.
Sourcepub const fn fro1mhz_clk_ena(&self) -> bool
pub const fn fro1mhz_clk_ena(&self) -> bool
Enables FRO_1MHz clock for clock muxing in clock gen
Sourcepub const fn set_fro1mhz_clk_ena(&mut self, val: bool)
pub const fn set_fro1mhz_clk_ena(&mut self, val: bool)
Enables FRO_1MHz clock for clock muxing in clock gen
Sourcepub const fn plu_deglitch_clk_ena(&self) -> bool
pub const fn plu_deglitch_clk_ena(&self) -> bool
Enables clocks FRO_1MHz and FRO_12MHz for PLU deglitching.
Sourcepub const fn set_plu_deglitch_clk_ena(&mut self, val: bool)
pub const fn set_plu_deglitch_clk_ena(&mut self, val: bool)
Enables clocks FRO_1MHz and FRO_12MHz for PLU deglitching.