Struct esp32h2::pcr::cpu_freq_conf::W
source · pub struct W(_);Expand description
Register CPU_FREQ_CONF writer
Implementations§
source§impl W
impl W
sourcepub fn cpu_div_num(&mut self) -> CPU_DIV_NUM_W<'_, 0>
pub fn cpu_div_num(&mut self) -> CPU_DIV_NUM_W<'_, 0>
Bits 0:7 - Set this field to generate clk_cpu drived by clk_hproot. The clk_cpu is div1(default)/div2/div4 of clk_hproot. This field is only avaliable for low-speed clock-source such as XTAL/FOSC, and should be used together with PCR_AHB_DIV_NUM.
Methods from Deref<Target = W<CPU_FREQ_CONF_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
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