Enum stm32l4_stm32hal::stm32l4x5::tim8::cr1::CMS_A [−][src]
#[repr(u8)] pub enum CMS_A { EDGEALIGNED, CENTERALIGNED1, CENTERALIGNED2, CENTERALIGNED3, }
Expand description
Center-aligned mode selection
Value on reset: 0
Variants
0: The counter counts up or down depending on the direction bit
1: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting down.
2: The counter counts up and down alternatively. Output compare interrupt flags are set only when the counter is counting up.
3: The counter counts up and down alternatively. Output compare interrupt flags are set both when the counter is counting up or down.