#[repr(u8)]pub enum StateCtrl {
EnableReset = 1,
EnableInterrupt = 2,
DisableBoth = 4,
}Expand description
STATE fault control
Value on reset: 4
Variants§
EnableReset = 1
1: Enable reset
EnableInterrupt = 2
2: Enable interrupt
DisableBoth = 4
4: Disable both reset and interrupt
Trait Implementations§
impl Copy for StateCtrl
impl Eq for StateCtrl
impl IsEnum for StateCtrl
impl StructuralPartialEq for StateCtrl
Auto Trait Implementations§
impl Freeze for StateCtrl
impl RefUnwindSafe for StateCtrl
impl Send for StateCtrl
impl Sync for StateCtrl
impl Unpin for StateCtrl
impl UnsafeUnpin for StateCtrl
impl UnwindSafe for StateCtrl
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