Struct RtcInitConfig

Source
pub struct RtcInitConfig(pub u128);
Available on crate feature unstable only.
Expand description

Configuration for RTC initialization.

Tuple Fields§

§0: u128

Implementations§

Source§

impl RtcInitConfig

Source

pub fn wifi_powerup_cycles(&self) -> u8

Number of cycles required to power up WiFi

Source

pub fn wifi_wait_cycles(&self) -> u16

Number of wait cycles for WiFi to stabilize

Source

pub fn bt_powerup_cycles(&self) -> u8

Number of cycles required to power up Bluetooth

Source

pub fn bt_wait_cycles(&self) -> u16

Number of wait cycles for Bluetooth to stabilize

Source

pub fn cpu_top_powerup_cycles(&self) -> u8

Number of cycles required to power up the top CPU

Source

pub fn cpu_top_wait_cycles(&self) -> u16

Number of wait cycles for the top CPU to stabilize

Source

pub fn dg_wrap_powerup_cycles(&self) -> u8

Number of cycles required to power up the digital wrapper

Source

pub fn dg_wrap_wait_cycles(&self) -> u16

Number of wait cycles for the digital wrapper to stabilize

Source

pub fn dg_peri_powerup_cycles(&self) -> u8

Number of cycles required to power up the digital peripherals

Source

pub fn dg_peri_wait_cycles(&self) -> u16

Number of wait cycles for the digital peripherals to stabilize

Source

pub fn set_wifi_powerup_cycles(&mut self, value: u8)

Number of cycles required to power up WiFi

Source

pub fn set_wifi_wait_cycles(&mut self, value: u16)

Number of wait cycles for WiFi to stabilize

Source

pub fn set_bt_powerup_cycles(&mut self, value: u8)

Number of cycles required to power up Bluetooth

Source

pub fn set_bt_wait_cycles(&mut self, value: u16)

Number of wait cycles for Bluetooth to stabilize

Source

pub fn set_cpu_top_powerup_cycles(&mut self, value: u8)

Number of cycles required to power up the top CPU

Source

pub fn set_cpu_top_wait_cycles(&mut self, value: u16)

Number of wait cycles for the top CPU to stabilize

Source

pub fn set_dg_wrap_powerup_cycles(&mut self, value: u8)

Number of cycles required to power up the digital wrapper

Source

pub fn set_dg_wrap_wait_cycles(&mut self, value: u16)

Number of wait cycles for the digital wrapper to stabilize

Source

pub fn set_dg_peri_powerup_cycles(&mut self, value: u8)

Number of cycles required to power up the digital peripherals

Source

pub fn set_dg_peri_wait_cycles(&mut self, value: u16)

Number of wait cycles for the digital peripherals to stabilize

Trait Implementations§

Source§

impl<T> BitRange<T> for RtcInitConfig
where u128: BitRange<T>,

Source§

fn bit_range(&self, msb: usize, lsb: usize) -> T

Get a range of bits.
Source§

impl<T> BitRangeMut<T> for RtcInitConfig
where u128: BitRangeMut<T>,

Source§

fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)

Set a range of bits.
Source§

impl Clone for RtcInitConfig

Source§

fn clone(&self) -> RtcInitConfig

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RtcInitConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RtcInitConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for RtcInitConfig

Auto Trait Implementations§

§

impl Freeze for RtcInitConfig

§

impl RefUnwindSafe for RtcInitConfig

§

impl Send for RtcInitConfig

§

impl Sync for RtcInitConfig

§

impl Unpin for RtcInitConfig

§

impl UnwindSafe for RtcInitConfig

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Bit for T
where T: BitRange<u8>,

Source§

fn bit(&self, bit: usize) -> bool

Get a single bit.
Source§

impl<T> BitMut for T
where T: BitRangeMut<u8>,

Source§

fn set_bit(&mut self, bit: usize, value: bool)

Set a single bit.
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.