Enum xmc4500::ledts0::fnctl::NR_LEDCOL_A
source · #[repr(u8)]pub enum NR_LEDCOL_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 3,
VALUE5 = 4,
VALUE6 = 5,
VALUE7 = 6,
VALUE8 = 7,
}
Expand description
Number of LED Columns
Value on reset: 0
Variants§
VALUE1 = 0
0: 1 LED column
VALUE2 = 1
1: 2 LED columns
VALUE3 = 2
2: 3 LED columns
VALUE4 = 3
3: 4 LED columns
VALUE5 = 4
4: 5 LED columns
VALUE6 = 5
5: 6 LED columns
VALUE7 = 6
6: 7 LED columns
VALUE8 = 7
7: 8 LED columns (max. LED columns = 7 if bit TS_EN = 1)
Trait Implementations§
source§impl Clone for NR_LEDCOL_A
impl Clone for NR_LEDCOL_A
source§fn clone(&self) -> NR_LEDCOL_A
fn clone(&self) -> NR_LEDCOL_A
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 NR_LEDCOL_A
impl Debug for NR_LEDCOL_A
source§impl From<NR_LEDCOL_A> for u8
impl From<NR_LEDCOL_A> for u8
source§fn from(variant: NR_LEDCOL_A) -> Self
fn from(variant: NR_LEDCOL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for NR_LEDCOL_A
impl PartialEq for NR_LEDCOL_A
source§fn eq(&self, other: &NR_LEDCOL_A) -> bool
fn eq(&self, other: &NR_LEDCOL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NR_LEDCOL_A
impl Eq for NR_LEDCOL_A
impl IsEnum for NR_LEDCOL_A
impl StructuralPartialEq for NR_LEDCOL_A
Auto Trait Implementations§
impl Freeze for NR_LEDCOL_A
impl RefUnwindSafe for NR_LEDCOL_A
impl Send for NR_LEDCOL_A
impl Sync for NR_LEDCOL_A
impl Unpin for NR_LEDCOL_A
impl UnwindSafe for NR_LEDCOL_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