#[repr(u8)]pub enum DebugHaltCtrl {
RunTimer = 1,
PauseTimer = 2,
}Expand description
DEBUG_HALT control
Value on reset: 1
Variants§
Trait Implementations§
Source§impl Clone for DebugHaltCtrl
impl Clone for DebugHaltCtrl
Source§fn clone(&self) -> DebugHaltCtrl
fn clone(&self) -> DebugHaltCtrl
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 DebugHaltCtrl
Source§impl Debug for DebugHaltCtrl
impl Debug for DebugHaltCtrl
impl Eq for DebugHaltCtrl
Source§impl From<DebugHaltCtrl> for u8
impl From<DebugHaltCtrl> for u8
Source§fn from(variant: DebugHaltCtrl) -> Self
fn from(variant: DebugHaltCtrl) -> Self
Converts to this type from the input type.
impl IsEnum for DebugHaltCtrl
Source§impl PartialEq for DebugHaltCtrl
impl PartialEq for DebugHaltCtrl
Source§fn eq(&self, other: &DebugHaltCtrl) -> bool
fn eq(&self, other: &DebugHaltCtrl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DebugHaltCtrl
Auto Trait Implementations§
impl Freeze for DebugHaltCtrl
impl RefUnwindSafe for DebugHaltCtrl
impl Send for DebugHaltCtrl
impl Sync for DebugHaltCtrl
impl Unpin for DebugHaltCtrl
impl UnsafeUnpin for DebugHaltCtrl
impl UnwindSafe for DebugHaltCtrl
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