#[repr(u8)]pub enum PauseControl {
RunTimer = 1,
PauseTimer = 2,
}Expand description
Timer pause control during special conditions.
Controls whether the instruction timer continues running or pauses.
Variants§
RunTimer = 1
Keep timer running during IRQ or debug halt
PauseTimer = 2
Pause timer during IRQ or debug halt
Trait Implementations§
Source§impl Clone for PauseControl
impl Clone for PauseControl
Source§fn clone(&self) -> PauseControl
fn clone(&self) -> PauseControl
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 PauseControl
impl Debug for PauseControl
Source§impl Default for PauseControl
impl Default for PauseControl
Source§fn default() -> PauseControl
fn default() -> PauseControl
Returns the “default value” for a type. Read more
Source§impl PartialEq for PauseControl
impl PartialEq for PauseControl
impl Copy for PauseControl
impl Eq for PauseControl
impl StructuralPartialEq for PauseControl
Auto Trait Implementations§
impl Freeze for PauseControl
impl RefUnwindSafe for PauseControl
impl Send for PauseControl
impl Sync for PauseControl
impl Unpin for PauseControl
impl UnwindSafe for PauseControl
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