Struct Ier
#[repr(transparent)]pub struct Ier(pub u32);
Expand description
ADC interrupt enable register.
Tuple Fields§
§0: u32
Implementations§
§impl Ier
impl Ier
pub const fn adrdyie(&self) -> bool
pub const fn adrdyie(&self) -> bool
ADC ready interrupt enable This bit is set and cleared by software to enable/disable the ADC Ready interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_adrdyie(&mut self, val: bool)
pub fn set_adrdyie(&mut self, val: bool)
ADC ready interrupt enable This bit is set and cleared by software to enable/disable the ADC Ready interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn eosmpie(&self) -> bool
pub const fn eosmpie(&self) -> bool
End of sampling flag interrupt enable This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_eosmpie(&mut self, val: bool)
pub fn set_eosmpie(&mut self, val: bool)
End of sampling flag interrupt enable This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn eocie(&self) -> bool
pub const fn eocie(&self) -> bool
End of conversion interrupt enable This bit is set and cleared by software to enable/disable the end of conversion interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_eocie(&mut self, val: bool)
pub fn set_eocie(&mut self, val: bool)
End of conversion interrupt enable This bit is set and cleared by software to enable/disable the end of conversion interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn eosie(&self) -> bool
pub const fn eosie(&self) -> bool
End of conversion sequence interrupt enable This bit is set and cleared by software to enable/disable the end of sequence of conversions interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_eosie(&mut self, val: bool)
pub fn set_eosie(&mut self, val: bool)
End of conversion sequence interrupt enable This bit is set and cleared by software to enable/disable the end of sequence of conversions interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn ovrie(&self) -> bool
pub const fn ovrie(&self) -> bool
Overrun interrupt enable This bit is set and cleared by software to enable/disable the overrun interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_ovrie(&mut self, val: bool)
pub fn set_ovrie(&mut self, val: bool)
Overrun interrupt enable This bit is set and cleared by software to enable/disable the overrun interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn awdie(&self, n: usize) -> bool
pub const fn awdie(&self, n: usize) -> bool
Analog watchdog 1 interrupt enable This bit is set and cleared by software to enable/disable the analog watchdog interrupt. Note: The Software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_awdie(&mut self, n: usize, val: bool)
pub fn set_awdie(&mut self, n: usize, val: bool)
Analog watchdog 1 interrupt enable This bit is set and cleared by software to enable/disable the analog watchdog interrupt. Note: The Software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn eocalie(&self) -> bool
pub const fn eocalie(&self) -> bool
End of calibration interrupt enable This bit is set and cleared by software to enable/disable the end of calibration interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub fn set_eocalie(&mut self, val: bool)
pub fn set_eocalie(&mut self, val: bool)
End of calibration interrupt enable This bit is set and cleared by software to enable/disable the end of calibration interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensures that no conversion is ongoing).
pub const fn ldordyie(&self) -> bool
pub const fn ldordyie(&self) -> bool
LDO ready interrupt enable This bit is set and cleared by software. It is used to enable/disable the LDORDY interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensure that no conversion is ongoing).
pub fn set_ldordyie(&mut self, val: bool)
pub fn set_ldordyie(&mut self, val: bool)
LDO ready interrupt enable This bit is set and cleared by software. It is used to enable/disable the LDORDY interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 by writing ADSTP to 1 (this ensure that no conversion is ongoing).