#[repr(u8)]pub enum EtbCounterCtrlRspt {
NoResp = 0,
Interrupt = 1,
Nmi = 2,
DebugHalt = 3,
}Variants§
NoResp = 0
No response when the ETB count expires.
Interrupt = 1
Generates a normal interrupt when the ETB count expires.
Nmi = 2
Generates an NMI interrupt when the ETB count expires.
DebugHalt = 3
Generates a debug halt when the ETB count expires via CPU0 CTICHIN[2].
Implementations§
Trait Implementations§
Source§impl Clone for EtbCounterCtrlRspt
impl Clone for EtbCounterCtrlRspt
Source§fn clone(&self) -> EtbCounterCtrlRspt
fn clone(&self) -> EtbCounterCtrlRspt
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 From<EtbCounterCtrlRspt> for u8
impl From<EtbCounterCtrlRspt> for u8
Source§fn from(val: EtbCounterCtrlRspt) -> u8
fn from(val: EtbCounterCtrlRspt) -> u8
Converts to this type from the input type.
Source§impl From<u8> for EtbCounterCtrlRspt
impl From<u8> for EtbCounterCtrlRspt
Source§fn from(val: u8) -> EtbCounterCtrlRspt
fn from(val: u8) -> EtbCounterCtrlRspt
Converts to this type from the input type.
Source§impl Ord for EtbCounterCtrlRspt
impl Ord for EtbCounterCtrlRspt
Source§fn cmp(&self, other: &EtbCounterCtrlRspt) -> Ordering
fn cmp(&self, other: &EtbCounterCtrlRspt) -> 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 EtbCounterCtrlRspt
impl PartialEq for EtbCounterCtrlRspt
Source§impl PartialOrd for EtbCounterCtrlRspt
impl PartialOrd for EtbCounterCtrlRspt
impl Copy for EtbCounterCtrlRspt
impl Eq for EtbCounterCtrlRspt
impl StructuralPartialEq for EtbCounterCtrlRspt
Auto Trait Implementations§
impl Freeze for EtbCounterCtrlRspt
impl RefUnwindSafe for EtbCounterCtrlRspt
impl Send for EtbCounterCtrlRspt
impl Sync for EtbCounterCtrlRspt
impl Unpin for EtbCounterCtrlRspt
impl UnwindSafe for EtbCounterCtrlRspt
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