#[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 · 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 AddressCtrl
impl Debug 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.
Source§impl PartialEq for AddressCtrl
impl PartialEq for AddressCtrl
impl Copy for AddressCtrl
impl Eq for AddressCtrl
impl IsEnum for AddressCtrl
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 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