pub struct IrqEnableControl4 { /* private fields */ }Expand description
Interrupt Enable Control Register 4 (N_OE and VBUS session/status related IRQs, APS Low Voltage).
Implementations§
Source§impl IrqEnableControl4
impl IrqEnableControl4
Sourcepub fn n_oe_power_on_irq_enable(&self) -> bool
pub fn n_oe_power_on_irq_enable(&self) -> bool
Read the n_oe_power_on_irq_enable field of the register.
N_OE Power-on event interrupt.
Sourcepub fn n_oe_power_off_irq_enable(&self) -> bool
pub fn n_oe_power_off_irq_enable(&self) -> bool
Read the n_oe_power_off_irq_enable field of the register.
N_OE Power-off event interrupt.
Sourcepub fn vbus_valid_irq_enable(&self) -> bool
pub fn vbus_valid_irq_enable(&self) -> bool
Read the vbus_valid_irq_enable field of the register.
VBUS valid event interrupt.
Sourcepub fn vbus_invalid_irq_enable(&self) -> bool
pub fn vbus_invalid_irq_enable(&self) -> bool
Read the vbus_invalid_irq_enable field of the register.
VBUS invalid event interrupt.
Sourcepub fn vbus_session_ab_irq_enable(&self) -> bool
pub fn vbus_session_ab_irq_enable(&self) -> bool
Read the vbus_session_ab_irq_enable field of the register.
VBUS Session A/B valid event interrupt.
Sourcepub fn vbus_session_end_irq_enable(&self) -> bool
pub fn vbus_session_end_irq_enable(&self) -> bool
Read the vbus_session_end_irq_enable field of the register.
VBUS Session End event interrupt.
Sourcepub fn aps_low_voltage_level_2_irq_enable(&self) -> bool
pub fn aps_low_voltage_level_2_irq_enable(&self) -> bool
Read the aps_low_voltage_level_2_irq_enable field of the register.
APS low voltage (Warning Level 2) interrupt.
Sourcepub fn set_n_oe_power_on_irq_enable(&mut self, value: bool)
pub fn set_n_oe_power_on_irq_enable(&mut self, value: bool)
Write the n_oe_power_on_irq_enable field of the register.
N_OE Power-on event interrupt.
Sourcepub fn set_n_oe_power_off_irq_enable(&mut self, value: bool)
pub fn set_n_oe_power_off_irq_enable(&mut self, value: bool)
Write the n_oe_power_off_irq_enable field of the register.
N_OE Power-off event interrupt.
Sourcepub fn set_vbus_valid_irq_enable(&mut self, value: bool)
pub fn set_vbus_valid_irq_enable(&mut self, value: bool)
Write the vbus_valid_irq_enable field of the register.
VBUS valid event interrupt.
Sourcepub fn set_vbus_invalid_irq_enable(&mut self, value: bool)
pub fn set_vbus_invalid_irq_enable(&mut self, value: bool)
Write the vbus_invalid_irq_enable field of the register.
VBUS invalid event interrupt.
Sourcepub fn set_vbus_session_ab_irq_enable(&mut self, value: bool)
pub fn set_vbus_session_ab_irq_enable(&mut self, value: bool)
Write the vbus_session_ab_irq_enable field of the register.
VBUS Session A/B valid event interrupt.
Sourcepub fn set_vbus_session_end_irq_enable(&mut self, value: bool)
pub fn set_vbus_session_end_irq_enable(&mut self, value: bool)
Write the vbus_session_end_irq_enable field of the register.
VBUS Session End event interrupt.
Sourcepub fn set_aps_low_voltage_level_2_irq_enable(&mut self, value: bool)
pub fn set_aps_low_voltage_level_2_irq_enable(&mut self, value: bool)
Write the aps_low_voltage_level_2_irq_enable field of the register.
APS low voltage (Warning Level 2) interrupt.
Trait Implementations§
Source§impl BitAnd for IrqEnableControl4
impl BitAnd for IrqEnableControl4
Source§impl BitAndAssign for IrqEnableControl4
impl BitAndAssign for IrqEnableControl4
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
&= operation. Read moreSource§impl BitOr for IrqEnableControl4
impl BitOr for IrqEnableControl4
Source§impl BitOrAssign for IrqEnableControl4
impl BitOrAssign for IrqEnableControl4
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
|= operation. Read moreSource§impl BitXor for IrqEnableControl4
impl BitXor for IrqEnableControl4
Source§impl BitXorAssign for IrqEnableControl4
impl BitXorAssign for IrqEnableControl4
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
^= operation. Read moreSource§impl Clone for IrqEnableControl4
impl Clone for IrqEnableControl4
Source§fn clone(&self) -> IrqEnableControl4
fn clone(&self) -> IrqEnableControl4
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more