#[repr(u8)]pub enum Rampselect {
Ramp1 = 0,
Ramp2a = 1,
Ramp2 = 2,
Ramp2c = 3,
}
Expand description
Ramp Mode
Value on reset: 0
Variants§
Ramp1 = 0
0: RAMP1 operation
Ramp2a = 1
1: Alternative RAMP2 operation
Ramp2 = 2
2: RAMP2 operation
Ramp2c = 3
3: Critical RAMP2 operation
Trait Implementations§
Source§impl Clone for Rampselect
impl Clone for Rampselect
Source§fn clone(&self) -> Rampselect
fn clone(&self) -> Rampselect
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 Rampselect
impl Debug for Rampselect
Source§impl From<Rampselect> for u8
impl From<Rampselect> for u8
Source§fn from(variant: Rampselect) -> Self
fn from(variant: Rampselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Rampselect
impl PartialEq for Rampselect
impl Copy for Rampselect
impl Eq for Rampselect
impl IsEnum for Rampselect
impl StructuralPartialEq for Rampselect
Auto Trait Implementations§
impl Freeze for Rampselect
impl RefUnwindSafe for Rampselect
impl Send for Rampselect
impl Sync for Rampselect
impl Unpin for Rampselect
impl UnwindSafe for Rampselect
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