pub struct IrqEnableControl3 { /* private fields */ }Expand description
Interrupt Enable Control Register 3 (IC Temp, Charge Current, DCDC VLow, PEK IRQs).
Implementations§
Source§impl IrqEnableControl3
impl IrqEnableControl3
Sourcepub fn internal_over_temp_irq_enable(&self) -> bool
pub fn internal_over_temp_irq_enable(&self) -> bool
Read the internal_over_temp_irq_enable field of the register.
IC internal over-temperature interrupt.
Sourcepub fn charge_current_insufficient_irq_enable(&self) -> bool
pub fn charge_current_insufficient_irq_enable(&self) -> bool
Read the charge_current_insufficient_irq_enable field of the register.
Charging current insufficient interrupt.
Sourcepub fn dcdc_1_voltage_low_irq_enable(&self) -> bool
pub fn dcdc_1_voltage_low_irq_enable(&self) -> bool
Read the dcdc_1_voltage_low_irq_enable field of the register.
DC-DC1 output voltage low interrupt.
Sourcepub fn dcdc_2_voltage_low_irq_enable(&self) -> bool
pub fn dcdc_2_voltage_low_irq_enable(&self) -> bool
Read the dcdc_2_voltage_low_irq_enable field of the register.
DC-DC2 output voltage low interrupt.
Sourcepub fn dcdc_3_voltage_low_irq_enable(&self) -> bool
pub fn dcdc_3_voltage_low_irq_enable(&self) -> bool
Read the dcdc_3_voltage_low_irq_enable field of the register.
DC-DC3 output voltage low interrupt.
Sourcepub fn pek_short_press_irq_enable(&self) -> bool
pub fn pek_short_press_irq_enable(&self) -> bool
Read the pek_short_press_irq_enable field of the register.
PEK (Power Key) short press interrupt.
Sourcepub fn pek_long_press_irq_enable(&self) -> bool
pub fn pek_long_press_irq_enable(&self) -> bool
Read the pek_long_press_irq_enable field of the register.
PEK (Power Key) long press interrupt.
Sourcepub fn set_internal_over_temp_irq_enable(&mut self, value: bool)
pub fn set_internal_over_temp_irq_enable(&mut self, value: bool)
Write the internal_over_temp_irq_enable field of the register.
IC internal over-temperature interrupt.
Sourcepub fn set_charge_current_insufficient_irq_enable(&mut self, value: bool)
pub fn set_charge_current_insufficient_irq_enable(&mut self, value: bool)
Write the charge_current_insufficient_irq_enable field of the register.
Charging current insufficient interrupt.
Sourcepub fn set_dcdc_1_voltage_low_irq_enable(&mut self, value: bool)
pub fn set_dcdc_1_voltage_low_irq_enable(&mut self, value: bool)
Write the dcdc_1_voltage_low_irq_enable field of the register.
DC-DC1 output voltage low interrupt.
Sourcepub fn set_dcdc_2_voltage_low_irq_enable(&mut self, value: bool)
pub fn set_dcdc_2_voltage_low_irq_enable(&mut self, value: bool)
Write the dcdc_2_voltage_low_irq_enable field of the register.
DC-DC2 output voltage low interrupt.
Sourcepub fn set_dcdc_3_voltage_low_irq_enable(&mut self, value: bool)
pub fn set_dcdc_3_voltage_low_irq_enable(&mut self, value: bool)
Write the dcdc_3_voltage_low_irq_enable field of the register.
DC-DC3 output voltage low interrupt.
Sourcepub fn set_pek_short_press_irq_enable(&mut self, value: bool)
pub fn set_pek_short_press_irq_enable(&mut self, value: bool)
Write the pek_short_press_irq_enable field of the register.
PEK (Power Key) short press interrupt.
Sourcepub fn set_pek_long_press_irq_enable(&mut self, value: bool)
pub fn set_pek_long_press_irq_enable(&mut self, value: bool)
Write the pek_long_press_irq_enable field of the register.
PEK (Power Key) long press interrupt.
Trait Implementations§
Source§impl BitAnd for IrqEnableControl3
impl BitAnd for IrqEnableControl3
Source§impl BitAndAssign for IrqEnableControl3
impl BitAndAssign for IrqEnableControl3
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&= operation. Read moreSource§impl BitOr for IrqEnableControl3
impl BitOr for IrqEnableControl3
Source§impl BitOrAssign for IrqEnableControl3
impl BitOrAssign for IrqEnableControl3
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|= operation. Read moreSource§impl BitXor for IrqEnableControl3
impl BitXor for IrqEnableControl3
Source§impl BitXorAssign for IrqEnableControl3
impl BitXorAssign for IrqEnableControl3
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^= operation. Read moreSource§impl Clone for IrqEnableControl3
impl Clone for IrqEnableControl3
Source§fn clone(&self) -> IrqEnableControl3
fn clone(&self) -> IrqEnableControl3
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more