pub struct R(_);
Expand description
Register CPU_PER_CONF
reader
Implementations
sourceimpl R
impl R
sourcepub fn cpuperiod_sel(&self) -> CPUPERIOD_SEL_R
pub fn cpuperiod_sel(&self) -> CPUPERIOD_SEL_R
Bits 0:1 - This field is used to select the clock frequency of CPU or CPU period.
sourcepub fn pll_freq_sel(&self) -> PLL_FREQ_SEL_R
pub fn pll_freq_sel(&self) -> PLL_FREQ_SEL_R
Bit 2 - This field is used to select the PLL clock frequency based on CPU period.
sourcepub fn cpu_wait_mode_force_on(&self) -> CPU_WAIT_MODE_FORCE_ON_R
pub fn cpu_wait_mode_force_on(&self) -> CPU_WAIT_MODE_FORCE_ON_R
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(&self) -> CPU_WAITI_DELAY_NUM_R
pub fn cpu_waiti_delay_num(&self) -> CPU_WAITI_DELAY_NUM_R
Bits 4:7 - Sets the number of delay cycles to enter CPU wait mode after a WAITI instruction.
Methods from Deref<Target = R<CPU_PER_CONF_SPEC>>
Trait Implementations
sourceimpl From<R<CPU_PER_CONF_SPEC>> for R
impl From<R<CPU_PER_CONF_SPEC>> for R
sourcefn from(reader: R<CPU_PER_CONF_SPEC>) -> Self
fn from(reader: R<CPU_PER_CONF_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more