#[repr(u8)]pub enum Actionselect {
None = 0,
Reset = 1,
Interrupt = 2,
}
Expand description
BOD33 Action
Value on reset: 0
Variants§
None = 0
0: No action
Reset = 1
1: The BOD33 generates a reset
Interrupt = 2
2: The BOD33 generates an interrupt
Trait Implementations§
Source§impl Clone for Actionselect
impl Clone for Actionselect
Source§fn clone(&self) -> Actionselect
fn clone(&self) -> Actionselect
Returns a copy 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 Actionselect
impl Debug for Actionselect
Source§impl From<Actionselect> for u8
impl From<Actionselect> for u8
Source§fn from(variant: Actionselect) -> Self
fn from(variant: Actionselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Actionselect
impl PartialEq for Actionselect
impl Copy for Actionselect
impl Eq for Actionselect
impl IsEnum for Actionselect
impl StructuralPartialEq for Actionselect
Auto Trait Implementations§
impl Freeze for Actionselect
impl RefUnwindSafe for Actionselect
impl Send for Actionselect
impl Sync for Actionselect
impl Unpin for Actionselect
impl UnwindSafe for Actionselect
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