Struct stm32_metapac::adccommon::regs::Csr
#[repr(transparent)]pub struct Csr(pub u32);
Expand description
ADC Common status register
Tuple Fields§
§0: u32
Implementations§
§impl Csr
impl Csr
pub const fn addrdy_mst(&self) -> bool
pub const fn addrdy_mst(&self) -> bool
ADDRDY_MST
pub fn set_addrdy_mst(&mut self, val: bool)
pub fn set_addrdy_mst(&mut self, val: bool)
ADDRDY_MST
pub fn set_eosmp_mst(&mut self, val: bool)
pub fn set_eosmp_mst(&mut self, val: bool)
EOSMP_MST
pub fn set_eoc_mst(&mut self, val: bool)
pub fn set_eoc_mst(&mut self, val: bool)
EOC_MST
pub fn set_eos_mst(&mut self, val: bool)
pub fn set_eos_mst(&mut self, val: bool)
EOS_MST
pub fn set_ovr_mst(&mut self, val: bool)
pub fn set_ovr_mst(&mut self, val: bool)
OVR_MST
pub fn set_jeoc_mst(&mut self, val: bool)
pub fn set_jeoc_mst(&mut self, val: bool)
JEOC_MST
pub fn set_jeos_mst(&mut self, val: bool)
pub fn set_jeos_mst(&mut self, val: bool)
JEOS_MST
pub fn set_awd_mst(&mut self, n: usize, val: bool)
pub fn set_awd_mst(&mut self, n: usize, val: bool)
Analog watchdog flag of the master ADC
pub fn set_jqovf_mst(&mut self, val: bool)
pub fn set_jqovf_mst(&mut self, val: bool)
JQOVF_MST
pub fn set_adrdy_slv(&mut self, val: bool)
pub fn set_adrdy_slv(&mut self, val: bool)
ADRDY_SLV
pub fn set_eosmp_slv(&mut self, val: bool)
pub fn set_eosmp_slv(&mut self, val: bool)
EOSMP_SLV
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
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
pub fn set_ovr_slv(&mut self, val: bool)
pub fn set_ovr_slv(&mut self, val: bool)
Overrun flag of the slave ADC
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
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
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
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
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)