Struct stm32_metapac::adccommon::regs::Csr
#[repr(transparent)]pub struct Csr(pub u32);
Expand description
common status register
Tuple Fields§
§0: u32
Implementations§
§impl Csr
impl Csr
pub const fn adrdy_mst(&self) -> bool
pub const fn adrdy_mst(&self) -> bool
Master ADC ready This bit is a copy of the ADRDY bit in the corresponding ADC_ISR register.
pub fn set_adrdy_mst(&mut self, val: bool)
pub fn set_adrdy_mst(&mut self, val: bool)
Master ADC ready This bit is a copy of the ADRDY bit in the corresponding ADC_ISR register.
pub const fn eosmp_mst(&self) -> bool
pub const fn eosmp_mst(&self) -> bool
End of Sampling phase flag of the master ADC This bit is a copy of the EOSMP bit in the corresponding ADC_ISR register.
pub fn set_eosmp_mst(&mut self, val: bool)
pub fn set_eosmp_mst(&mut self, val: bool)
End of Sampling phase flag of the master ADC This bit is a copy of the EOSMP bit in the corresponding ADC_ISR register.
pub const fn eoc_mst(&self) -> bool
pub const fn eoc_mst(&self) -> bool
End of regular conversion of the master ADC This bit is a copy of the EOC bit in the corresponding ADC_ISR register.
pub fn set_eoc_mst(&mut self, val: bool)
pub fn set_eoc_mst(&mut self, val: bool)
End of regular conversion of the master ADC This bit is a copy of the EOC bit in the corresponding ADC_ISR register.
pub const fn eos_mst(&self) -> bool
pub const fn eos_mst(&self) -> bool
End of regular sequence flag of the master ADC This bit is a copy of the EOS bit in the corresponding ADC_ISR register.
pub fn set_eos_mst(&mut self, val: bool)
pub fn set_eos_mst(&mut self, val: bool)
End of regular sequence flag of the master ADC This bit is a copy of the EOS bit in the corresponding ADC_ISR register.
pub const fn ovr_mst(&self) -> bool
pub const fn ovr_mst(&self) -> bool
Overrun flag of the master ADC This bit is a copy of the OVR bit in the corresponding ADC_ISR register.
pub fn set_ovr_mst(&mut self, val: bool)
pub fn set_ovr_mst(&mut self, val: bool)
Overrun flag of the master ADC This bit is a copy of the OVR bit in the corresponding ADC_ISR register.
pub const fn jeoc_mst(&self) -> bool
pub const fn jeoc_mst(&self) -> bool
End of injected conversion flag of the master ADC This bit is a copy of the JEOC bit in the corresponding ADC_ISR register.
pub fn set_jeoc_mst(&mut self, val: bool)
pub fn set_jeoc_mst(&mut self, val: bool)
End of injected conversion flag of the master ADC This bit is a copy of the JEOC bit in the corresponding ADC_ISR register.
pub const fn jeos_mst(&self) -> bool
pub const fn jeos_mst(&self) -> bool
End of injected sequence flag of the master ADC This bit is a copy of the JEOS bit in the corresponding ADC_ISR register.
pub fn set_jeos_mst(&mut self, val: bool)
pub fn set_jeos_mst(&mut self, val: bool)
End of injected sequence flag of the master ADC This bit is a copy of the JEOS bit in the corresponding ADC_ISR register.
pub const fn awd_mst(&self, n: usize) -> bool
pub const fn awd_mst(&self, n: usize) -> bool
Analog watchdog 1 flag of the master ADC This bit is a copy of the AWD1 bit in the corresponding ADC_ISR register.
pub fn set_awd_mst(&mut self, n: usize, val: bool)
pub fn set_awd_mst(&mut self, n: usize, val: bool)
Analog watchdog 1 flag of the master ADC This bit is a copy of the AWD1 bit in the corresponding ADC_ISR register.
pub const fn jqovf_mst(&self) -> bool
pub const fn jqovf_mst(&self) -> bool
Injected Context Queue Overflow flag of the master ADC This bit is a copy of the JQOVF bit in the corresponding ADC_ISR register.
pub fn set_jqovf_mst(&mut self, val: bool)
pub fn set_jqovf_mst(&mut self, val: bool)
Injected Context Queue Overflow flag of the master ADC This bit is a copy of the JQOVF bit in the corresponding ADC_ISR register.
pub const fn adrdy_slv(&self) -> bool
pub const fn adrdy_slv(&self) -> bool
Slave ADC ready This bit is a copy of the ADRDY bit in the corresponding ADC_ISR register.
pub fn set_adrdy_slv(&mut self, val: bool)
pub fn set_adrdy_slv(&mut self, val: bool)
Slave ADC ready This bit is a copy of the ADRDY bit in the corresponding ADC_ISR register.
pub const fn eosmp_slv(&self) -> bool
pub const fn eosmp_slv(&self) -> bool
End of Sampling phase flag of the slave ADC This bit is a copy of the EOSMP2 bit in the corresponding ADC_ISR register.
pub fn set_eosmp_slv(&mut self, val: bool)
pub fn set_eosmp_slv(&mut self, val: bool)
End of Sampling phase flag of the slave ADC This bit is a copy of the EOSMP2 bit in the corresponding ADC_ISR register.
pub const fn eoc_slv(&self) -> bool
pub const fn eoc_slv(&self) -> bool
End of regular conversion of the slave ADC This bit is a copy of the EOC bit in the corresponding ADC_ISR register.
pub fn set_eoc_slv(&mut self, val: bool)
pub fn set_eoc_slv(&mut self, val: bool)
End of regular conversion of the slave ADC This bit is a copy of the EOC bit in the corresponding ADC_ISR register.
pub const fn eos_slv(&self) -> bool
pub const fn eos_slv(&self) -> bool
End of regular sequence flag of the slave ADC. This bit is a copy of the EOS bit in the corresponding ADC_ISR register.
pub fn set_eos_slv(&mut self, val: bool)
pub fn set_eos_slv(&mut self, val: bool)
End of regular sequence flag of the slave ADC. This bit is a copy of the EOS bit in the corresponding ADC_ISR register.
pub const fn ovr_slv(&self) -> bool
pub const fn ovr_slv(&self) -> bool
Overrun flag of the slave ADC This bit is a copy of the OVR bit in the corresponding ADC_ISR register.
pub fn set_ovr_slv(&mut self, val: bool)
pub fn set_ovr_slv(&mut self, val: bool)
Overrun flag of the slave ADC This bit is a copy of the OVR bit in the corresponding ADC_ISR register.
pub const fn jeoc_slv(&self) -> bool
pub const fn jeoc_slv(&self) -> bool
End of injected conversion flag of the slave ADC This bit is a copy of the JEOC bit in the corresponding ADC_ISR register.
pub fn set_jeoc_slv(&mut self, val: bool)
pub fn set_jeoc_slv(&mut self, val: bool)
End of injected conversion flag of the slave ADC This bit is a copy of the JEOC bit in the corresponding ADC_ISR register.
pub const fn jeos_slv(&self) -> bool
pub const fn jeos_slv(&self) -> bool
End of injected sequence flag of the slave ADC This bit is a copy of the JEOS bit in the corresponding ADC_ISR register.
pub fn set_jeos_slv(&mut self, val: bool)
pub fn set_jeos_slv(&mut self, val: bool)
End of injected sequence flag of the slave ADC This bit is a copy of the JEOS bit in the corresponding ADC_ISR register.
pub const fn awd_slv(&self, n: usize) -> bool
pub const fn awd_slv(&self, n: usize) -> bool
Analog watchdog 1 flag of the slave ADC This bit is a copy of the AWD1 bit in the corresponding ADC_ISR register.
pub fn set_awd_slv(&mut self, n: usize, val: bool)
pub fn set_awd_slv(&mut self, n: usize, val: bool)
Analog watchdog 1 flag of the slave ADC This bit is a copy of the AWD1 bit in the corresponding ADC_ISR register.
pub const fn jqovf_slv(&self) -> bool
pub const fn jqovf_slv(&self) -> bool
Injected Context Queue Overflow flag of the slave ADC This bit is a copy of the JQOVF bit in the corresponding ADC_ISR register.
pub fn set_jqovf_slv(&mut self, val: bool)
pub fn set_jqovf_slv(&mut self, val: bool)
Injected Context Queue Overflow flag of the slave ADC This bit is a copy of the JQOVF bit in the corresponding ADC_ISR register.
Trait Implementations§
impl Copy for Csr
impl Eq for Csr
impl StructuralPartialEq for Csr
Auto Trait Implementations§
impl Freeze for Csr
impl RefUnwindSafe for Csr
impl Send for Csr
impl Sync for Csr
impl Unpin for Csr
impl UnwindSafe for Csr
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
)