Struct esp32s2::system::cpu_per_conf::W
source · pub struct W(_);
Expand description
Register CPU_PER_CONF
writer
Implementations§
source§impl W
impl W
sourcepub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W<'_, 0>
pub fn cpuperiod_sel(&mut self) -> CPUPERIOD_SEL_W<'_, 0>
Bits 0:1 - This field is used to select the clock frequency of CPU or CPU period.
sourcepub fn pll_freq_sel(&mut self) -> PLL_FREQ_SEL_W<'_, 2>
pub fn pll_freq_sel(&mut self) -> PLL_FREQ_SEL_W<'_, 2>
Bit 2 - This field is used to select the PLL clock frequency based on CPU period.
sourcepub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W<'_, 3>
pub fn cpu_wait_mode_force_on(&mut self) -> CPU_WAIT_MODE_FORCE_ON_W<'_, 3>
Bit 3 - Set this bit to force on CPU wait mode. In this mode, the clock gate of CPU is turned off until any interrupts happen. This mode could also be force on via WAITI instruction.
sourcepub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W<'_, 4>
pub fn cpu_waiti_delay_num(&mut self) -> CPU_WAITI_DELAY_NUM_W<'_, 4>
Bits 4:7 - Sets the number of delay cycles to enter CPU wait mode after a WAITI instruction.
Methods from Deref<Target = W<CPU_PER_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