#[repr(u8)]pub enum TimeoutCtrl {
EnableReset = 1,
EnableInterrupt = 2,
DisableBoth = 4,
}Expand description
TIMEOUT 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§
Source§impl Clone for TimeoutCtrl
impl Clone for TimeoutCtrl
Source§fn clone(&self) -> TimeoutCtrl
fn clone(&self) -> TimeoutCtrl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimeoutCtrl
Source§impl Debug for TimeoutCtrl
impl Debug for TimeoutCtrl
impl Eq for TimeoutCtrl
Source§impl From<TimeoutCtrl> for u8
impl From<TimeoutCtrl> for u8
Source§fn from(variant: TimeoutCtrl) -> Self
fn from(variant: TimeoutCtrl) -> Self
Converts to this type from the input type.
impl IsEnum for TimeoutCtrl
Source§impl PartialEq for TimeoutCtrl
impl PartialEq for TimeoutCtrl
Source§fn eq(&self, other: &TimeoutCtrl) -> bool
fn eq(&self, other: &TimeoutCtrl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeoutCtrl
Auto Trait Implementations§
impl Freeze for TimeoutCtrl
impl RefUnwindSafe for TimeoutCtrl
impl Send for TimeoutCtrl
impl Sync for TimeoutCtrl
impl Unpin for TimeoutCtrl
impl UnsafeUnpin for TimeoutCtrl
impl UnwindSafe for TimeoutCtrl
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