Enum efr32xg12p::pcnt2::ctrl::TCCPRESCR
[−]
[src]
pub enum TCCPRESCR { DIV1, DIV2, DIV4, DIV8, }
Possible values of the field TCCPRESC
Variants
DIV1
Compare and clear event each LFA cycle.
DIV2
Compare and clear performed on every other LFA cycle.
DIV4
Compare and clear performed on every 4th LFA cycle.
DIV8
Compare and clear performed on every 8th LFA cycle.
Methods
impl TCCPRESCR
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_div1(&self) -> bool
[src]
Checks if the value of the field is DIV1
fn is_div2(&self) -> bool
[src]
Checks if the value of the field is DIV2
fn is_div4(&self) -> bool
[src]
Checks if the value of the field is DIV4
fn is_div8(&self) -> bool
[src]
Checks if the value of the field is DIV8
Trait Implementations
impl Clone for TCCPRESCR
[src]
fn clone(&self) -> TCCPRESCR
[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