Struct esp_idf_sys::rtc_config_t
source · [−]#[repr(C)]#[repr(align(4))]pub struct rtc_config_t {
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
}
Expand description
RTC power and clock control initialization settings
Fields
_bitfield_align_1: [u8; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
Implementations
sourceimpl rtc_config_t
impl rtc_config_t
pub fn ck8m_wait(&self) -> u32
pub fn set_ck8m_wait(&mut self, val: u32)
pub fn xtal_wait(&self) -> u32
pub fn set_xtal_wait(&mut self, val: u32)
pub fn pll_wait(&self) -> u32
pub fn set_pll_wait(&mut self, val: u32)
pub fn clkctl_init(&self) -> u32
pub fn set_clkctl_init(&mut self, val: u32)
pub fn pwrctl_init(&self) -> u32
pub fn set_pwrctl_init(&mut self, val: u32)
pub fn rtc_dboost_fpd(&self) -> u32
pub fn set_rtc_dboost_fpd(&mut self, val: u32)
pub fn xtal_fpu(&self) -> u32
pub fn set_xtal_fpu(&mut self, val: u32)
pub fn bbpll_fpu(&self) -> u32
pub fn set_bbpll_fpu(&mut self, val: u32)
pub fn cpu_waiti_clk_gate(&self) -> u32
pub fn set_cpu_waiti_clk_gate(&mut self, val: u32)
pub fn cali_ocode(&self) -> u32
pub fn set_cali_ocode(&mut self, val: u32)
pub fn new_bitfield_1(
ck8m_wait: u32,
xtal_wait: u32,
pll_wait: u32,
clkctl_init: u32,
pwrctl_init: u32,
rtc_dboost_fpd: u32,
xtal_fpu: u32,
bbpll_fpu: u32,
cpu_waiti_clk_gate: u32,
cali_ocode: u32
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
sourceimpl Clone for rtc_config_t
impl Clone for rtc_config_t
sourcefn clone(&self) -> rtc_config_t
fn clone(&self) -> rtc_config_t
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for rtc_config_t
impl Debug for rtc_config_t
sourceimpl Default for rtc_config_t
impl Default for rtc_config_t
sourcefn default() -> rtc_config_t
fn default() -> rtc_config_t
Returns the “default value” for a type. Read more
impl Copy for rtc_config_t
Auto Trait Implementations
impl RefUnwindSafe for rtc_config_t
impl Send for rtc_config_t
impl Sync for rtc_config_t
impl Unpin for rtc_config_t
impl UnwindSafe for rtc_config_t
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more