Struct stm32_metapac::adc::regs::Ier
#[repr(transparent)]pub struct Ier(pub u32);
Expand description
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 = 0 and JADSTART = 0 (which 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 = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
pub const fn eosmpie(&self) -> bool
pub const fn eosmpie(&self) -> bool
End of sampling flag interrupt enable for regular conversions This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt for regular conversions. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular 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 for regular conversions This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt for regular conversions. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
pub const fn eocie(&self) -> bool
pub const fn eocie(&self) -> bool
End of regular conversion interrupt enable This bit is set and cleared by software to enable/disable the end of a regular conversion interrupt. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
pub fn set_eocie(&mut self, val: bool)
pub fn set_eocie(&mut self, val: bool)
End of regular conversion interrupt enable This bit is set and cleared by software to enable/disable the end of a regular conversion interrupt. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
pub const fn eosie(&self) -> bool
pub const fn eosie(&self) -> bool
End of regular sequence of conversions interrupt enable This bit is set and cleared by software to enable/disable the end of regular sequence of conversions interrupt. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
pub fn set_eosie(&mut self, val: bool)
pub fn set_eosie(&mut self, val: bool)
End of regular sequence of conversions interrupt enable This bit is set and cleared by software to enable/disable the end of regular sequence of conversions interrupt. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular 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 of a regular conversion. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular 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 of a regular conversion. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no regular conversion is ongoing).
pub const fn jeocie(&self) -> bool
pub const fn jeocie(&self) -> bool
End of injected conversion interrupt enable This bit is set and cleared by software to enable/disable the end of an injected conversion interrupt. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
pub fn set_jeocie(&mut self, val: bool)
pub fn set_jeocie(&mut self, val: bool)
End of injected conversion interrupt enable This bit is set and cleared by software to enable/disable the end of an injected conversion interrupt. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
pub const fn jeosie(&self) -> bool
pub const fn jeosie(&self) -> bool
End of injected sequence of conversions interrupt enable This bit is set and cleared by software to enable/disable the end of injected sequence of conversions interrupt. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
pub fn set_jeosie(&mut self, val: bool)
pub fn set_jeosie(&mut self, val: bool)
End of injected sequence of conversions interrupt enable This bit is set and cleared by software to enable/disable the end of injected sequence of conversions interrupt. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
pub const fn awdie(&self, n: usize) -> bool
pub const fn awdie(&self, n: usize) -> bool
Analog watchdog 1-3 interrupt enable. This bit is set and cleared by software to enable/disable the analog watchdog 1-3 interrupts. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which 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-3 interrupt enable. This bit is set and cleared by software to enable/disable the analog watchdog 1-3 interrupts. Note: The software is allowed to write this bit only when ADSTART = 0 and JADSTART = 0 (which ensures that no conversion is ongoing).
pub const fn jqovfie(&self) -> bool
pub const fn jqovfie(&self) -> bool
Injected context queue overflow interrupt enable This bit is set and cleared by software to enable/disable the Injected Context Queue Overflow interrupt. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
pub fn set_jqovfie(&mut self, val: bool)
pub fn set_jqovfie(&mut self, val: bool)
Injected context queue overflow interrupt enable This bit is set and cleared by software to enable/disable the Injected Context Queue Overflow interrupt. Note: The software is allowed to write this bit only when JADSTART = 0 (which ensures that no injected conversion is ongoing).
Trait Implementations§
impl Copy for Ier
impl Eq for Ier
impl StructuralPartialEq for Ier
Auto Trait Implementations§
impl Freeze for Ier
impl RefUnwindSafe for Ier
impl Send for Ier
impl Sync for Ier
impl Unpin for Ier
impl UnwindSafe for Ier
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)