pub struct IrqEnableControl1 { /* private fields */ }Expand description
Interrupt Enable Control Register 1 (ACIN and VBUS related IRQs).
Implementations§
Source§impl IrqEnableControl1
impl IrqEnableControl1
Sourcepub fn acin_over_voltage_irq_enable(&self) -> bool
pub fn acin_over_voltage_irq_enable(&self) -> bool
Read the acin_over_voltage_irq_enable field of the register.
ACIN over-voltage interrupt.
Sourcepub fn acin_insertion_irq_enable(&self) -> bool
pub fn acin_insertion_irq_enable(&self) -> bool
Read the acin_insertion_irq_enable field of the register.
ACIN insertion detection interrupt.
Sourcepub fn acin_removal_irq_enable(&self) -> bool
pub fn acin_removal_irq_enable(&self) -> bool
Read the acin_removal_irq_enable field of the register.
ACIN removal detection interrupt.
Sourcepub fn vbus_over_voltage_irq_enable(&self) -> bool
pub fn vbus_over_voltage_irq_enable(&self) -> bool
Read the vbus_over_voltage_irq_enable field of the register.
VBUS over-voltage interrupt.
Sourcepub fn vbus_insertion_irq_enable(&self) -> bool
pub fn vbus_insertion_irq_enable(&self) -> bool
Read the vbus_insertion_irq_enable field of the register.
VBUS insertion detection interrupt.
Sourcepub fn vbus_removal_irq_enable(&self) -> bool
pub fn vbus_removal_irq_enable(&self) -> bool
Read the vbus_removal_irq_enable field of the register.
VBUS removal detection interrupt.
Sourcepub fn vbus_less_than_vhold_irq_enable(&self) -> bool
pub fn vbus_less_than_vhold_irq_enable(&self) -> bool
Read the vbus_less_than_vhold_irq_enable field of the register.
VBUS voltage less than VHOLD interrupt.
Sourcepub fn set_acin_over_voltage_irq_enable(&mut self, value: bool)
pub fn set_acin_over_voltage_irq_enable(&mut self, value: bool)
Write the acin_over_voltage_irq_enable field of the register.
ACIN over-voltage interrupt.
Sourcepub fn set_acin_insertion_irq_enable(&mut self, value: bool)
pub fn set_acin_insertion_irq_enable(&mut self, value: bool)
Write the acin_insertion_irq_enable field of the register.
ACIN insertion detection interrupt.
Sourcepub fn set_acin_removal_irq_enable(&mut self, value: bool)
pub fn set_acin_removal_irq_enable(&mut self, value: bool)
Write the acin_removal_irq_enable field of the register.
ACIN removal detection interrupt.
Sourcepub fn set_vbus_over_voltage_irq_enable(&mut self, value: bool)
pub fn set_vbus_over_voltage_irq_enable(&mut self, value: bool)
Write the vbus_over_voltage_irq_enable field of the register.
VBUS over-voltage interrupt.
Sourcepub fn set_vbus_insertion_irq_enable(&mut self, value: bool)
pub fn set_vbus_insertion_irq_enable(&mut self, value: bool)
Write the vbus_insertion_irq_enable field of the register.
VBUS insertion detection interrupt.
Sourcepub fn set_vbus_removal_irq_enable(&mut self, value: bool)
pub fn set_vbus_removal_irq_enable(&mut self, value: bool)
Write the vbus_removal_irq_enable field of the register.
VBUS removal detection interrupt.
Sourcepub fn set_vbus_less_than_vhold_irq_enable(&mut self, value: bool)
pub fn set_vbus_less_than_vhold_irq_enable(&mut self, value: bool)
Write the vbus_less_than_vhold_irq_enable field of the register.
VBUS voltage less than VHOLD interrupt.
Trait Implementations§
Source§impl BitAnd for IrqEnableControl1
impl BitAnd for IrqEnableControl1
Source§impl BitAndAssign for IrqEnableControl1
impl BitAndAssign for IrqEnableControl1
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&= operation. Read moreSource§impl BitOr for IrqEnableControl1
impl BitOr for IrqEnableControl1
Source§impl BitOrAssign for IrqEnableControl1
impl BitOrAssign for IrqEnableControl1
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|= operation. Read moreSource§impl BitXor for IrqEnableControl1
impl BitXor for IrqEnableControl1
Source§impl BitXorAssign for IrqEnableControl1
impl BitXorAssign for IrqEnableControl1
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^= operation. Read moreSource§impl Clone for IrqEnableControl1
impl Clone for IrqEnableControl1
Source§fn clone(&self) -> IrqEnableControl1
fn clone(&self) -> IrqEnableControl1
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more