Enum avr_device::atmega328p::tc1::tccr1b::CS1_A
source · #[repr(u8)]pub enum CS1_A {
NO_CLOCK = 0,
DIRECT = 1,
PRESCALE_8 = 2,
PRESCALE_64 = 3,
PRESCALE_256 = 4,
PRESCALE_1024 = 5,
EXT_FALLING = 6,
EXT_RISING = 7,
}
Expand description
Prescaler source of Timer/Counter 1
Value on reset: 0
Variants§
NO_CLOCK = 0
0: No clock source (Timer/Counter stopped)
DIRECT = 1
1: Running, No Prescaling
PRESCALE_8 = 2
2: Running, CLK/8
PRESCALE_64 = 3
3: Running, CLK/64
PRESCALE_256 = 4
4: Running, CLK/256
PRESCALE_1024 = 5
5: Running, CLK/1024
EXT_FALLING = 6
6: Running, ExtClk Tx Falling Edge
EXT_RISING = 7
7: Running, ExtClk Tx Rising Edge
Trait Implementations§
source§impl PartialEq for CS1_A
impl PartialEq for CS1_A
impl Copy for CS1_A
impl Eq for CS1_A
impl StructuralPartialEq for CS1_A
Auto Trait Implementations§
impl RefUnwindSafe for CS1_A
impl Send for CS1_A
impl Sync for CS1_A
impl Unpin for CS1_A
impl UnwindSafe for CS1_A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more