Struct esp32c3_hal::rtc_cntl::sleep::RtcInitConfig
source · pub struct RtcInitConfig(pub u128);
Tuple Fields§
§0: u128
Implementations§
source§impl RtcInitConfig
impl RtcInitConfig
pub fn wifi_powerup_cycles(&self) -> u8
pub fn wifi_wait_cycles(&self) -> u16
pub fn bt_powerup_cycles(&self) -> u8
pub fn bt_wait_cycles(&self) -> u16
pub fn cpu_top_powerup_cycles(&self) -> u8
pub fn cpu_top_wait_cycles(&self) -> u16
pub fn dg_wrap_powerup_cycles(&self) -> u8
pub fn dg_wrap_wait_cycles(&self) -> u16
pub fn dg_peri_powerup_cycles(&self) -> u8
pub fn dg_peri_wait_cycles(&self) -> u16
pub fn set_wifi_powerup_cycles(&mut self, value: u8)
pub fn set_wifi_wait_cycles(&mut self, value: u16)
pub fn set_bt_powerup_cycles(&mut self, value: u8)
pub fn set_bt_wait_cycles(&mut self, value: u16)
pub fn set_cpu_top_powerup_cycles(&mut self, value: u8)
pub fn set_cpu_top_wait_cycles(&mut self, value: u16)
pub fn set_dg_wrap_powerup_cycles(&mut self, value: u8)
pub fn set_dg_wrap_wait_cycles(&mut self, value: u16)
pub fn set_dg_peri_powerup_cycles(&mut self, value: u8)
pub fn set_dg_peri_wait_cycles(&mut self, value: u16)
Trait Implementations§
source§impl<T> BitRange<T> for RtcInitConfigwhere
u128: BitRange<T>,
impl<T> BitRange<T> for RtcInitConfigwhere u128: BitRange<T>,
source§impl<T> BitRangeMut<T> for RtcInitConfigwhere
u128: BitRangeMut<T>,
impl<T> BitRangeMut<T> for RtcInitConfigwhere u128: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for RtcInitConfig
impl Clone for RtcInitConfig
source§fn clone(&self) -> RtcInitConfig
fn clone(&self) -> RtcInitConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RtcInitConfig
impl Debug for RtcInitConfig
source§impl Default for RtcInitConfig
impl Default for RtcInitConfig
source§fn default() -> RtcInitConfig
fn default() -> RtcInitConfig
Returns the “default value” for a type. Read more
impl Copy for RtcInitConfig
Auto Trait Implementations§
impl RefUnwindSafe for RtcInitConfig
impl Send for RtcInitConfig
impl Sync for RtcInitConfig
impl Unpin for RtcInitConfig
impl UnwindSafe for RtcInitConfig
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