#[repr(transparent)]pub struct Stat(pub u32);Expand description
Status Register.
Tuple Fields§
§0: u32Implementations§
Source§impl Stat
impl Stat
Sourcepub const fn set_texc_int(&mut self, val: TexcInt)
pub const fn set_texc_int(&mut self, val: TexcInt)
Interrupt Flag For High Priority Trigger Exception.
Sourcepub const fn set_tcomp_int(&mut self, val: TcompInt)
pub const fn set_tcomp_int(&mut self, val: TcompInt)
Interrupt Flag For Trigger Completion.
Sourcepub const fn set_cal_rdy(&mut self, val: CalRdy)
pub const fn set_cal_rdy(&mut self, val: CalRdy)
Calibration Ready.
Sourcepub const fn adc_active(&self) -> AdcActive
pub const fn adc_active(&self) -> AdcActive
ADC Active.
Sourcepub const fn set_adc_active(&mut self, val: AdcActive)
pub const fn set_adc_active(&mut self, val: AdcActive)
ADC Active.
Sourcepub const fn set_trgact(&mut self, val: Trgact)
pub const fn set_trgact(&mut self, val: Trgact)
Trigger Active.
Sourcepub const fn set_cmdact(&mut self, val: Cmdact)
pub const fn set_cmdact(&mut self, val: Cmdact)
Command Active.
Trait Implementations§
impl Copy for Stat
impl Eq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Freeze for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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