Enum xmc4400::hrpwm0_csg0::sc::SCM_A
source · #[repr(u8)]pub enum SCM_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
}
Expand description
Slope control mode
Value on reset: 0
Variants§
VALUE1 = 0
0: Slope generation disabled. Used when the switch between the two reference values, CSGyDSV1This register contains the actual value used for the DSV1 reference. and CSGyDSV2This register contains the actual value used for the DSV2 reference. is done via external signal.
VALUE2 = 1
1: Decrementing slope generation.
VALUE3 = 2
2: Incrementing slope generation.
VALUE4 = 3
3: Triangular slope generation.
Trait Implementations§
source§impl PartialEq for SCM_A
impl PartialEq for SCM_A
impl Copy for SCM_A
impl Eq for SCM_A
impl IsEnum for SCM_A
impl StructuralPartialEq for SCM_A
Auto Trait Implementations§
impl Freeze for SCM_A
impl RefUnwindSafe for SCM_A
impl Send for SCM_A
impl Sync for SCM_A
impl Unpin for SCM_A
impl UnwindSafe for SCM_A
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