Enum atsam4lc4c::tc0::cmr_waveform::TCCLKSR
[−]
[src]
pub enum TCCLKSR { TIMER_DIV1_CLOCK, TIMER_DIV2_CLOCK, TIMER_DIV3_CLOCK, TIMER_DIV4_CLOCK, TIMER_DIV5_CLOCK, XC0, XC1, XC2, }
Possible values of the field TCCLKS
Variants
TIMER_DIV1_CLOCK
TIMER_DIV1_CLOCK
TIMER_DIV2_CLOCK
TIMER_DIV2_CLOCK
TIMER_DIV3_CLOCK
TIMER_DIV3_CLOCK
TIMER_DIV4_CLOCK
TIMER_DIV4_CLOCK
TIMER_DIV5_CLOCK
TIMER_DIV5_CLOCK
XC0
XC0
XC1
XC1
XC2
XC2
Methods
impl TCCLKSR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_timer_div1_clock(&self) -> bool
[src]
Checks if the value of the field is TIMER_DIV1_CLOCK
pub fn is_timer_div2_clock(&self) -> bool
[src]
Checks if the value of the field is TIMER_DIV2_CLOCK
pub fn is_timer_div3_clock(&self) -> bool
[src]
Checks if the value of the field is TIMER_DIV3_CLOCK
pub fn is_timer_div4_clock(&self) -> bool
[src]
Checks if the value of the field is TIMER_DIV4_CLOCK
pub fn is_timer_div5_clock(&self) -> bool
[src]
Checks if the value of the field is TIMER_DIV5_CLOCK
pub fn is_xc0(&self) -> bool
[src]
Checks if the value of the field is XC0
pub fn is_xc1(&self) -> bool
[src]
Checks if the value of the field is XC1
pub fn is_xc2(&self) -> bool
[src]
Checks if the value of the field is XC2
Trait Implementations
impl Clone for TCCLKSR
[src]
fn clone(&self) -> TCCLKSR
[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 TCCLKSR
[src]
impl Debug for TCCLKSR
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more