Enum efm32gg11b_pac::efm32gg11b840::pcnt1::ctrl::TCCPRESC_A
source · #[repr(u8)]
pub enum TCCPRESC_A {
DIV1,
DIV2,
DIV4,
DIV8,
}
Expand description
Set the LFA Prescaler for Triggered Compare and Clear
Value on reset: 0
Variants§
DIV1
0: Compare and clear event each LFA cycle.
DIV2
1: Compare and clear performed on every other LFA cycle.
DIV4
2: Compare and clear performed on every 4th LFA cycle.
DIV8
3: Compare and clear performed on every 8th LFA cycle.
Trait Implementations§
source§impl Clone for TCCPRESC_A
impl Clone for TCCPRESC_A
source§fn clone(&self) -> TCCPRESC_A
fn clone(&self) -> TCCPRESC_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 TCCPRESC_A
impl Debug for TCCPRESC_A
source§impl From<TCCPRESC_A> for u8
impl From<TCCPRESC_A> for u8
source§fn from(variant: TCCPRESC_A) -> Self
fn from(variant: TCCPRESC_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<TCCPRESC_A> for TCCPRESC_A
impl PartialEq<TCCPRESC_A> for TCCPRESC_A
source§fn eq(&self, other: &TCCPRESC_A) -> bool
fn eq(&self, other: &TCCPRESC_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.