Enum avr_device::atmega2560::tc5::tccr5b::CS5_A
source · #[repr(u8)]pub enum CS5_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 5
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§
impl Copy for CS5_A
impl Eq for CS5_A
impl StructuralPartialEq for CS5_A
Auto Trait Implementations§
impl Freeze for CS5_A
impl RefUnwindSafe for CS5_A
impl Send for CS5_A
impl Sync for CS5_A
impl Unpin for CS5_A
impl UnwindSafe for CS5_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)