Struct SysCtrl

Source
pub struct SysCtrl<STATE> { /* private fields */ }

Implementations§

Source§

impl<STATE> SysCtrl<STATE>

Source

pub fn enable_gpt0_in_active_mode(&mut self)

Source

pub fn disable_gpt0_in_active_mode(&mut self)

Source

pub fn enable_gpt0_in_sleep_mode(&mut self)

Source

pub fn disable_gpt0_in_sleep_mode(&mut self)

Source

pub fn enable_gpt0_in_deep_sleep_mode(&mut self)

Source

pub fn disable_gpt0_in_deep_sleep_mode(&mut self)

Source

pub fn enable_gpt1_in_active_mode(&mut self)

Source

pub fn disable_gpt1_in_active_mode(&mut self)

Source

pub fn enable_gpt1_in_sleep_mode(&mut self)

Source

pub fn disable_gpt1_in_sleep_mode(&mut self)

Source

pub fn enable_gpt1_in_deep_sleep_mode(&mut self)

Source

pub fn disable_gpt1_in_deep_sleep_mode(&mut self)

Source

pub fn enable_gpt2_in_active_mode(&mut self)

Source

pub fn disable_gpt2_in_active_mode(&mut self)

Source

pub fn enable_gpt2_in_sleep_mode(&mut self)

Source

pub fn disable_gpt2_in_sleep_mode(&mut self)

Source

pub fn enable_gpt2_in_deep_sleep_mode(&mut self)

Source

pub fn disable_gpt2_in_deep_sleep_mode(&mut self)

Source

pub fn enable_gpt3_in_active_mode(&mut self)

Source

pub fn disable_gpt3_in_active_mode(&mut self)

Source

pub fn enable_gpt3_in_sleep_mode(&mut self)

Source

pub fn disable_gpt3_in_sleep_mode(&mut self)

Source

pub fn enable_gpt3_in_deep_sleep_mode(&mut self)

Source

pub fn disable_gpt3_in_deep_sleep_mode(&mut self)

Source

pub fn enable_ssi0_in_active_mode(&mut self)

Source

pub fn disable_ssi0_in_active_mode(&mut self)

Source

pub fn enable_ssi0_in_sleep_mode(&mut self)

Source

pub fn disable_ssi0_in_sleep_mode(&mut self)

Source

pub fn enable_ssi0_in_deep_sleep_mode(&mut self)

Source

pub fn disable_ssi0_in_deep_sleep_mode(&mut self)

Source

pub fn enable_ssi1_in_active_mode(&mut self)

Source

pub fn disable_ssi1_in_active_mode(&mut self)

Source

pub fn enable_ssi1_in_sleep_mode(&mut self)

Source

pub fn disable_ssi1_in_sleep_mode(&mut self)

Source

pub fn enable_ssi1_in_deep_sleep_mode(&mut self)

Source

pub fn disable_ssi1_in_deep_sleep_mode(&mut self)

Source

pub fn enable_uart0_in_active_mode(&mut self)

Source

pub fn disable_uart0_in_active_mode(&mut self)

Source

pub fn enable_uart0_in_sleep_mode(&mut self)

Source

pub fn disable_uart0_in_sleep_mode(&mut self)

Source

pub fn enable_uart0_in_deep_sleep_mode(&mut self)

Source

pub fn disable_uart0_in_deep_sleep_mode(&mut self)

Source

pub fn enable_uart1_in_active_mode(&mut self)

Source

pub fn disable_uart1_in_active_mode(&mut self)

Source

pub fn enable_uart1_in_sleep_mode(&mut self)

Source

pub fn disable_uart1_in_sleep_mode(&mut self)

Source

pub fn enable_uart1_in_deep_sleep_mode(&mut self)

Source

pub fn disable_uart1_in_deep_sleep_mode(&mut self)

Source

pub fn enable_i2c_in_active_mode(&mut self)

Source

pub fn disable_i2c_in_active_mode(&mut self)

Source

pub fn enable_i2c_in_sleep_mode(&mut self)

Source

pub fn disable_i2c_in_sleep_mode(&mut self)

Source

pub fn enable_i2c_in_deep_sleep_mode(&mut self)

Source

pub fn disable_i2c_in_deep_sleep_mode(&mut self)

Source

pub fn enable_pka_in_active_mode(&mut self)

Source

pub fn disable_pka_in_active_mode(&mut self)

Source

pub fn enable_pka_in_sleep_mode(&mut self)

Source

pub fn disable_pka_in_sleep_mode(&mut self)

Source

pub fn enable_pka_in_deep_sleep_mode(&mut self)

Source

pub fn disable_pka_in_deep_sleep_mode(&mut self)

Source

pub fn enable_aes_in_active_mode(&mut self)

Source

pub fn disable_aes_in_active_mode(&mut self)

Source

pub fn enable_aes_in_sleep_mode(&mut self)

Source

pub fn disable_aes_in_sleep_mode(&mut self)

Source

pub fn enable_aes_in_deep_sleep_mode(&mut self)

Source

pub fn disable_aes_in_deep_sleep_mode(&mut self)

Source

pub fn enable_radio_in_active_mode(&mut self)

Source

pub fn disable_radio_in_active_mode(&mut self)

Source

pub fn enable_radio_in_sleep_mode(&mut self)

Source

pub fn disable_radio_in_sleep_mode(&mut self)

Source

pub fn enable_radio_in_deep_sleep_mode(&mut self)

Source

pub fn disable_radio_in_deep_sleep_mode(&mut self)

Source

pub fn reset_gpt0(&mut self)

Source

pub fn clear_reset_gpt0(&mut self)

Source

pub fn reset_gpt1(&mut self)

Source

pub fn clear_reset_gpt1(&mut self)

Source

pub fn reset_gpt2(&mut self)

Source

pub fn clear_reset_gpt2(&mut self)

Source

pub fn reset_gpt3(&mut self)

Source

pub fn clear_reset_gpt3(&mut self)

Source

pub fn reset_ssi0(&mut self)

Source

pub fn clear_reset_ssi0(&mut self)

Source

pub fn reset_ssi1(&mut self)

Source

pub fn clear_reset_ssi1(&mut self)

Source

pub fn reset_uart0(&mut self)

Source

pub fn clear_reset_uart0(&mut self)

Source

pub fn reset_uart1(&mut self)

Source

pub fn clear_reset_uart1(&mut self)

Source

pub fn reset_i2c(&mut self)

Source

pub fn clear_reset_i2c(&mut self)

Source

pub fn reset_pka(&mut self)

Source

pub fn clear_reset_pka(&mut self)

Source

pub fn reset_aes(&mut self)

Source

pub fn clear_reset_aes(&mut self)

Source§

impl SysCtrl<Unconfigured>

Source

pub fn disable_crystal_osc32k(&mut self)

Source

pub fn set_osc(&mut self, osc: Osc)

Source

pub fn set_io_div(&mut self, div: ClockDiv)

Source

pub fn set_sys_div(&mut self, div: ClockDiv)

Source

pub fn freeze(self) -> SysCtrl<Frozen>

Source§

impl SysCtrl<Frozen>

Source

pub const fn config(&self) -> ClockConfig

Auto Trait Implementations§

§

impl<STATE> Freeze for SysCtrl<STATE>

§

impl<STATE> RefUnwindSafe for SysCtrl<STATE>
where STATE: RefUnwindSafe,

§

impl<STATE> Send for SysCtrl<STATE>
where STATE: Send,

§

impl<STATE> !Sync for SysCtrl<STATE>

§

impl<STATE> Unpin for SysCtrl<STATE>
where STATE: Unpin,

§

impl<STATE> UnwindSafe for SysCtrl<STATE>
where STATE: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

Source§

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

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

Performs the conversion.
Source§

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

Source§

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

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

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

Performs the conversion.