Enum xmc4200::hrpwm0_hrc0::gsel::C0CSR
[−]
[src]
pub enum C0CSR { VALUE1, VALUE2, VALUE3, _Reserved(u8), }
Possible values of the field C0CS
Variants
VALUE1
CMP output of CSG0 unit can be used as clear source for the output latch
VALUE2
CMP output of CSG1 unit can be used as clear source for the output latch
VALUE3
CMP output of CSG2 unit can be used as clear source for the output latch
_Reserved(u8)
Reserved
Methods
impl C0CSR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_value1(&self) -> bool
[src]
Checks if the value of the field is VALUE1
pub fn is_value2(&self) -> bool
[src]
Checks if the value of the field is VALUE2
pub fn is_value3(&self) -> bool
[src]
Checks if the value of the field is VALUE3
Trait Implementations
impl Clone for C0CSR
[src]
fn clone(&self) -> C0CSR
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for C0CSR
[src]
impl Debug for C0CSR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more