Struct esp32c2_hal::pac::system::cpu_per_conf::R
pub struct R(_);
Expand description
Register CPU_PER_CONF
reader
Implementations
impl R
impl R
pub fn cpuperiod_sel(&self) -> FieldReaderRaw<u8, u8>
pub fn cpuperiod_sel(&self) -> FieldReaderRaw<u8, u8>
Bits 0:1 - This field used to sel cpu clock frequent.
pub fn pll_freq_sel(&self) -> BitReaderRaw<bool>
pub fn pll_freq_sel(&self) -> BitReaderRaw<bool>
Bit 2 - This field used to sel pll frequent.
pub fn cpu_wait_mode_force_on(&self) -> BitReaderRaw<bool>
pub fn cpu_wait_mode_force_on(&self) -> BitReaderRaw<bool>
Bit 3 - Set 1 to force cpu_waiti_clk enable.
pub fn cpu_waiti_delay_num(&self) -> FieldReaderRaw<u8, u8>
pub fn cpu_waiti_delay_num(&self) -> FieldReaderRaw<u8, u8>
Bits 4:7 - This field used to set delay cycle when cpu enter waiti mode, after delay waiti_clk will close
Methods from Deref<Target = R<CPU_PER_CONF_SPEC>>
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.
Trait Implementations
impl From<R<CPU_PER_CONF_SPEC>> for R
impl From<R<CPU_PER_CONF_SPEC>> for R
fn from(reader: R<CPU_PER_CONF_SPEC>) -> R
fn from(reader: R<CPU_PER_CONF_SPEC>) -> R
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