#[repr(u8)]pub enum TCCPRESC_A {
DIV1 = 0,
DIV2 = 1,
DIV4 = 2,
DIV8 = 3,
}Expand description
Set the LFA prescaler for triggered compare and clear
Value on reset: 0
Variants§
DIV1 = 0
0: Compare and clear event each LFA cycle.
DIV2 = 1
1: Compare and clear performed on every other LFA cycle.
DIV4 = 2
2: Compare and clear performed on every 4th LFA cycle.
DIV8 = 3
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 duplicate 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 for TCCPRESC_A
impl PartialEq for TCCPRESC_A
impl Copy for TCCPRESC_A
impl StructuralPartialEq for TCCPRESC_A
Auto Trait Implementations§
impl Freeze for TCCPRESC_A
impl RefUnwindSafe for TCCPRESC_A
impl Send for TCCPRESC_A
impl Sync for TCCPRESC_A
impl Unpin for TCCPRESC_A
impl UnwindSafe for TCCPRESC_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