Struct HpParam

Source
pub struct HpParam {
    pub modem_wakeup_wait_cycle: u32,
    pub analog_wait_target_cycle: u16,
    pub digital_power_down_wait_cycle: u16,
    pub digital_power_supply_wait_cycle: u16,
    pub digital_power_up_wait_cycle: u16,
    pub pll_stable_wait_cycle: u16,
    pub modify_icg_cntl_wait_cycle: u8,
    pub switch_icg_cntl_wait_cycle: u8,
    pub min_slp_slow_clk_cycle: u8,
}
Available on crate feature unstable only.
Expand description

Parameters for high-power system configurations during sleep modes.

Fields§

§modem_wakeup_wait_cycle: u32

Number of cycles to wait for the modem to wake up.

§analog_wait_target_cycle: u16

Number of cycles to wait for the analog component stabilization.

§digital_power_down_wait_cycle: u16

Number of cycles to wait for the digital power-down sequence.

§digital_power_supply_wait_cycle: u16

Number of cycles to wait for the digital power supply to stabilize.

§digital_power_up_wait_cycle: u16

Number of cycles to wait for the digital power-up sequence.

§pll_stable_wait_cycle: u16

Number of cycles to wait for the PLL to stabilize.

§modify_icg_cntl_wait_cycle: u8

Number of cycles to wait for modifying the ICG control.

§switch_icg_cntl_wait_cycle: u8

Number of cycles to wait for switching the ICG coйntrol.

§min_slp_slow_clk_cycle: u8

Minimum sleep time measured in slow clock cycles.

Trait Implementations§

Source§

impl Clone for HpParam

Source§

fn clone(&self) -> HpParam

Returns a duplicate of the value. Read more
1.0.0§

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

Performs copy-assignment from source. Read more
Source§

impl Copy for HpParam

Auto Trait Implementations§

§

impl Freeze for HpParam

§

impl RefUnwindSafe for HpParam

§

impl Send for HpParam

§

impl Sync for HpParam

§

impl Unpin for HpParam

§

impl UnwindSafe for HpParam

Blanket Implementations§

§

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

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

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, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
§

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.