Simo

Struct Simo 

Source
pub struct Simo { /* private fields */ }
Expand description

Single Inductor Multiple Output Switching Converter

Implementations§

Source§

impl Simo

Source

pub const PTR: *const RegisterBlock = {0x40004400 as *const simo::RegisterBlock}

Pointer to the register block

Source

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Source

pub unsafe fn steal() -> Self

Steal an instance of this peripheral

§Safety

Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.

Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.

Methods from Deref<Target = RegisterBlock>§

Source

pub fn vrego_a(&self) -> &VregoA

0x04 - Buck Voltage Regulator A Control Register

Source

pub fn vrego_b(&self) -> &VregoB

0x08 - Buck Voltage Regulator B Control Register

Source

pub fn vrego_c(&self) -> &VregoC

0x0c - Buck Voltage Regulator C Control Register

Source

pub fn vrego_d(&self) -> &VregoD

0x10 - Buck Voltage Regulator D Control Register

Source

pub fn ipka(&self) -> &Ipka

0x14 - High Side FET Peak Current VREGO_A/VREGO_B Register

Source

pub fn ipkb(&self) -> &Ipkb

0x18 - High Side FET Peak Current VREGO_C/VREGO_D Register

Source

pub fn maxton(&self) -> &Maxton

0x1c - Maximum High Side FET Time On Register

Source

pub fn iload_a(&self) -> &IloadA

0x20 - Buck Cycle Count VREGO_A Register

Source

pub fn iload_b(&self) -> &IloadB

0x24 - Buck Cycle Count VREGO_B Register

Source

pub fn iload_c(&self) -> &IloadC

0x28 - Buck Cycle Count VREGO_C Register

Source

pub fn iload_d(&self) -> &IloadD

0x2c - Buck Cycle Count VREGO_D Register

Source

pub fn buck_alert_thr_a(&self) -> &BuckAlertThrA

0x30 - Buck Cycle Count Alert VERGO_A Register

Source

pub fn buck_alert_thr_b(&self) -> &BuckAlertThrB

0x34 - Buck Cycle Count Alert VERGO_B Register

Source

pub fn buck_alert_thr_c(&self) -> &BuckAlertThrC

0x38 - Buck Cycle Count Alert VERGO_C Register

Source

pub fn buck_alert_thr_d(&self) -> &BuckAlertThrD

0x3c - Buck Cycle Count Alert VERGO_D Register

Source

pub fn buck_out_ready(&self) -> &BuckOutReady

0x40 - Buck Regulator Output Ready Register

Source

pub fn zero_cross_cal_a(&self) -> &ZeroCrossCalA

0x44 - Zero Cross Calibration VERGO_A Register

Source

pub fn zero_cross_cal_b(&self) -> &ZeroCrossCalB

0x48 - Zero Cross Calibration VERGO_B Register

Source

pub fn zero_cross_cal_c(&self) -> &ZeroCrossCalC

0x4c - Zero Cross Calibration VERGO_C Register

Source

pub fn zero_cross_cal_d(&self) -> &ZeroCrossCalD

0x50 - Zero Cross Calibration VERGO_D Register

Trait Implementations§

Source§

impl Debug for Simo

Source§

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

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

impl Deref for Simo

Source§

type Target = RegisterBlock

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Self::Target

Dereferences the value.
Source§

impl Send for Simo

Auto Trait Implementations§

§

impl Freeze for Simo

§

impl RefUnwindSafe for Simo

§

impl !Sync for Simo

§

impl Unpin for Simo

§

impl UnwindSafe for Simo

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.