RegisterBlock

Struct RegisterBlock 

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

Register block

Implementations§

Source§

impl RegisterBlock

Source

pub const fn vrego_a(&self) -> &VregoA

0x04 - Buck Voltage Regulator A Control Register

Source

pub const fn vrego_b(&self) -> &VregoB

0x08 - Buck Voltage Regulator B Control Register

Source

pub const fn vrego_c(&self) -> &VregoC

0x0c - Buck Voltage Regulator C Control Register

Source

pub const fn vrego_d(&self) -> &VregoD

0x10 - Buck Voltage Regulator D Control Register

Source

pub const fn ipka(&self) -> &Ipka

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

Source

pub const fn ipkb(&self) -> &Ipkb

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

Source

pub const fn maxton(&self) -> &Maxton

0x1c - Maximum High Side FET Time On Register

Source

pub const fn iload_a(&self) -> &IloadA

0x20 - Buck Cycle Count VREGO_A Register

Source

pub const fn iload_b(&self) -> &IloadB

0x24 - Buck Cycle Count VREGO_B Register

Source

pub const fn iload_c(&self) -> &IloadC

0x28 - Buck Cycle Count VREGO_C Register

Source

pub const fn iload_d(&self) -> &IloadD

0x2c - Buck Cycle Count VREGO_D Register

Source

pub const fn buck_alert_thr_a(&self) -> &BuckAlertThrA

0x30 - Buck Cycle Count Alert VERGO_A Register

Source

pub const fn buck_alert_thr_b(&self) -> &BuckAlertThrB

0x34 - Buck Cycle Count Alert VERGO_B Register

Source

pub const fn buck_alert_thr_c(&self) -> &BuckAlertThrC

0x38 - Buck Cycle Count Alert VERGO_C Register

Source

pub const fn buck_alert_thr_d(&self) -> &BuckAlertThrD

0x3c - Buck Cycle Count Alert VERGO_D Register

Source

pub const fn buck_out_ready(&self) -> &BuckOutReady

0x40 - Buck Regulator Output Ready Register

Source

pub const fn zero_cross_cal_a(&self) -> &ZeroCrossCalA

0x44 - Zero Cross Calibration VERGO_A Register

Source

pub const fn zero_cross_cal_b(&self) -> &ZeroCrossCalB

0x48 - Zero Cross Calibration VERGO_B Register

Source

pub const fn zero_cross_cal_c(&self) -> &ZeroCrossCalC

0x4c - Zero Cross Calibration VERGO_C Register

Source

pub const fn zero_cross_cal_d(&self) -> &ZeroCrossCalD

0x50 - Zero Cross Calibration VERGO_D Register

Auto Trait Implementations§

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.