Struct Csr
#[repr(transparent)]pub struct Csr(pub u32);
Expand description
ADC Common status register
Tuple Fields§
§0: u32
Implementations§
§impl Csr
impl Csr
pub fn set_adrdy_mst(&mut self, val: bool)
pub fn set_adrdy_mst(&mut self, val: bool)
Master ADC ready
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
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
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
pub fn set_ovr_mst(&mut self, val: bool)
pub fn set_ovr_mst(&mut self, val: bool)
Overrun flag of the master ADC
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
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
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)
Injected Context Queue Overflow flag of the master ADC
pub fn set_adrdy_slv(&mut self, val: bool)
pub fn set_adrdy_slv(&mut self, val: bool)
Slave ADC ready
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
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 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
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
)