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