#[repr(u8)]pub enum Csctrl2DbgEn {
NORMAL = 0,
HALT_TMR = 1,
FORCE_0 = 2,
HALT_AND_FORCE_0 = 3,
}Variants§
NORMAL = 0
Continue with normal operation during debug mode. (default)
HALT_TMR = 1
Halt TMR counter during debug mode.
FORCE_0 = 2
Force TMR output to logic 0 (prior to consideration of SCTRL[OPS]).
HALT_AND_FORCE_0 = 3
Both halt counter and force output to 0 during debug mode.
Implementations§
Source§impl Csctrl2DbgEn
impl Csctrl2DbgEn
Trait Implementations§
Source§impl Clone for Csctrl2DbgEn
impl Clone for Csctrl2DbgEn
Source§fn clone(&self) -> Csctrl2DbgEn
fn clone(&self) -> Csctrl2DbgEn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Csctrl2DbgEn
impl Debug for Csctrl2DbgEn
Source§impl From<Csctrl2DbgEn> for u8
impl From<Csctrl2DbgEn> for u8
Source§fn from(val: Csctrl2DbgEn) -> u8
fn from(val: Csctrl2DbgEn) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Csctrl2DbgEn
impl From<u8> for Csctrl2DbgEn
Source§fn from(val: u8) -> Csctrl2DbgEn
fn from(val: u8) -> Csctrl2DbgEn
Converts to this type from the input type.
Source§impl Ord for Csctrl2DbgEn
impl Ord for Csctrl2DbgEn
Source§fn cmp(&self, other: &Csctrl2DbgEn) -> Ordering
fn cmp(&self, other: &Csctrl2DbgEn) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Csctrl2DbgEn
impl PartialEq for Csctrl2DbgEn
Source§impl PartialOrd for Csctrl2DbgEn
impl PartialOrd for Csctrl2DbgEn
impl Copy for Csctrl2DbgEn
impl Eq for Csctrl2DbgEn
impl StructuralPartialEq for Csctrl2DbgEn
Auto Trait Implementations§
impl Freeze for Csctrl2DbgEn
impl RefUnwindSafe for Csctrl2DbgEn
impl Send for Csctrl2DbgEn
impl Sync for Csctrl2DbgEn
impl Unpin for Csctrl2DbgEn
impl UnwindSafe for Csctrl2DbgEn
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