#[repr(u8)]pub enum Prescsyncselect {
Gclk = 0,
Presc = 1,
Resync = 2,
}
Expand description
Prescaler and Counter Synchronization Selection
Value on reset: 0
Variants§
Gclk = 0
0: Reload or reset counter on next GCLK
Presc = 1
1: Reload or reset counter on next prescaler clock
Resync = 2
2: Reload or reset counter on next GCLK and reset prescaler counter
Trait Implementations§
Source§impl Clone for Prescsyncselect
impl Clone for Prescsyncselect
Source§fn clone(&self) -> Prescsyncselect
fn clone(&self) -> Prescsyncselect
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 Prescsyncselect
impl Debug for Prescsyncselect
Source§impl From<Prescsyncselect> for u8
impl From<Prescsyncselect> for u8
Source§fn from(variant: Prescsyncselect) -> Self
fn from(variant: Prescsyncselect) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Prescsyncselect
impl PartialEq for Prescsyncselect
impl Copy for Prescsyncselect
impl Eq for Prescsyncselect
impl IsEnum for Prescsyncselect
impl StructuralPartialEq for Prescsyncselect
Auto Trait Implementations§
impl Freeze for Prescsyncselect
impl RefUnwindSafe for Prescsyncselect
impl Send for Prescsyncselect
impl Sync for Prescsyncselect
impl Unpin for Prescsyncselect
impl UnwindSafe for Prescsyncselect
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