pub enum InterruptMode {
IM0,
IM1,
IM2,
}Expand description
The U880 maskable-interrupt response mode, selected by the IM 0/1/2
instructions.
Variants§
IM0
Mode 0: execute an instruction placed on the data bus by the device.
IM1
Mode 1: restart to 0x0038.
IM2
Mode 2: vectored interrupt through the table pointed to by register I.
Trait Implementations§
Source§impl Clone for InterruptMode
impl Clone for InterruptMode
Source§fn clone(&self) -> InterruptMode
fn clone(&self) -> InterruptMode
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 InterruptMode
Source§impl Debug for InterruptMode
impl Debug for InterruptMode
Source§impl Default for InterruptMode
impl Default for InterruptMode
Source§fn default() -> InterruptMode
fn default() -> InterruptMode
Returns the “default value” for a type. Read more
impl Eq for InterruptMode
Source§impl PartialEq for InterruptMode
impl PartialEq for InterruptMode
Source§fn eq(&self, other: &InterruptMode) -> bool
fn eq(&self, other: &InterruptMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InterruptMode
Auto Trait Implementations§
impl Freeze for InterruptMode
impl RefUnwindSafe for InterruptMode
impl Send for InterruptMode
impl Sync for InterruptMode
impl Unpin for InterruptMode
impl UnsafeUnpin for InterruptMode
impl UnwindSafe for InterruptMode
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