Charger

Struct Charger 

Source
pub struct Charger { /* private fields */ }

Implementations§

Source§

impl Charger

Source

pub const fn charger_cc_charge_timer_reg( &self, ) -> &'static Reg<ChargerCcChargeTimerReg_SPEC, RW>

Maximum CC-charge time limit register

Source

pub const fn charger_ctrl_reg(&self) -> &'static Reg<ChargerCtrlReg_SPEC, RW>

Charger main control register

Source

pub const fn charger_current_param_reg( &self, ) -> &'static Reg<ChargerCurrentParamReg_SPEC, RW>

Charger current settings register

Source

pub const fn charger_cv_charge_timer_reg( &self, ) -> &'static Reg<ChargerCvChargeTimerReg_SPEC, RW>

Maximum CV-charge time limit register

Source

pub const fn charger_error_irq_clr_reg( &self, ) -> &'static Reg<ChargerErrorIrqClrReg_SPEC, RW>

Interrupt clear register of Charger Error IRQs

Source

pub const fn charger_error_irq_mask_reg( &self, ) -> &'static Reg<ChargerErrorIrqMaskReg_SPEC, RW>

Mask register of Charger Error IRQs

Source

pub const fn charger_error_irq_status_reg( &self, ) -> &'static Reg<ChargerErrorIrqStatusReg_SPEC, RW>

Status register of Charger Error IRQs

Source

pub const fn charger_jeita_current_reg( &self, ) -> &'static Reg<ChargerJeitaCurrentReg_SPEC, RW>

JEITA-compliant current settings register

Source

pub const fn charger_jeita_v_charge_reg( &self, ) -> &'static Reg<ChargerJeitaVChargeReg_SPEC, RW>

JEITA-compliant Charge voltage settings register

Source

pub const fn charger_jeita_v_ovp_reg( &self, ) -> &'static Reg<ChargerJeitaVOvpReg_SPEC, RW>

JEITA-compliant OVP settings register

Source

pub const fn charger_jeita_v_precharge_reg( &self, ) -> &'static Reg<ChargerJeitaVPrechargeReg_SPEC, RW>

JEITA-compliant Pre-Charge voltage settings register

Source

pub const fn charger_jeita_v_replenish_reg( &self, ) -> &'static Reg<ChargerJeitaVReplenishReg_SPEC, RW>

JEITA-compliant Replenish settings register

Source

pub const fn charger_pre_charge_timer_reg( &self, ) -> &'static Reg<ChargerPreChargeTimerReg_SPEC, RW>

Maximum pre-charge time limit register

Source

pub const fn charger_pwr_up_timer_reg( &self, ) -> &'static Reg<ChargerPwrUpTimerReg_SPEC, RW>

Charger power-up (settling) timer

Source

pub const fn charger_state_irq_clr_reg( &self, ) -> &'static Reg<ChargerStateIrqClrReg_SPEC, RW>

Interrupt clear register of Charger FSM IRQs

Source

pub const fn charger_state_irq_mask_reg( &self, ) -> &'static Reg<ChargerStateIrqMaskReg_SPEC, RW>

Mask register of Charger FSM IRQs

Source

pub const fn charger_state_irq_status_reg( &self, ) -> &'static Reg<ChargerStateIrqStatusReg_SPEC, RW>

Status register of Charger FSM IRQs

Source

pub const fn charger_status_reg( &self, ) -> &'static Reg<ChargerStatusReg_SPEC, RW>

Charger main status register

Source

pub const fn charger_tbat_comp_timer_reg( &self, ) -> &'static Reg<ChargerTbatCompTimerReg_SPEC, RW>

Battery temperature (main) comparator timer

Source

pub const fn charger_tbat_mon_timer_reg( &self, ) -> &'static Reg<ChargerTbatMonTimerReg_SPEC, RW>

Battery temperature monitor interval timer

Source

pub const fn charger_tdie_comp_timer_reg( &self, ) -> &'static Reg<ChargerTdieCompTimerReg_SPEC, RW>

Die temperature comparator timer register

Source

pub const fn charger_tempset_param_reg( &self, ) -> &'static Reg<ChargerTempsetParamReg_SPEC, RW>

Charger battery temperature settings register

Source

pub const fn charger_thot_comp_timer_reg( &self, ) -> &'static Reg<ChargerThotCompTimerReg_SPEC, RW>

Battery temperature comparator timer for “Hot” zone

Source

pub const fn charger_total_charge_timer_reg( &self, ) -> &'static Reg<ChargerTotalChargeTimerReg_SPEC, RW>

Maximum total charge time limit register

Source

pub const fn charger_vbat_comp_timer_reg( &self, ) -> &'static Reg<ChargerVbatCompTimerReg_SPEC, RW>

Main Vbat comparator timer register

Source

pub const fn charger_voltage_param_reg( &self, ) -> &'static Reg<ChargerVoltageParamReg_SPEC, RW>

Charger voltage settings register

Source

pub const fn charger_vovp_comp_timer_reg( &self, ) -> &'static Reg<ChargerVovpCompTimerReg_SPEC, RW>

Vbat OVP comparator timer register

Trait Implementations§

Source§

impl Clone for Charger

Source§

fn clone(&self) -> Charger

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Charger

Source§

fn eq(&self, other: &Charger) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Charger

Source§

impl Eq for Charger

Source§

impl Send for Charger

CHARGER registers

Source§

impl StructuralPartialEq for Charger

Source§

impl Sync for Charger

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> CloneToUninit for T
where T: Clone,

Source§

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
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.