Enum atsam4n16b_pac::pwm::cmr0::CPRE_A
source · #[repr(u8)]
pub enum CPRE_A {
Show 13 variants
MCK,
MCKDIV2,
MCKDIV4,
MCKDIV8,
MCKDIV16,
MCKDIV32,
MCKDIV64,
MCKDIV128,
MCKDIV256,
MCKDIV512,
MCKDIV1024,
CLKA,
CLKB,
}
Expand description
Channel Pre-scaler
Value on reset: 0
Variants§
MCK
0: Master Clock
MCKDIV2
1: Master Clock divided by 2
MCKDIV4
2: Master Clock divided by 4
MCKDIV8
3: Master Clock divided by 8
MCKDIV16
4: Master Clock divided by 16
MCKDIV32
5: Master Clock divided by 32
MCKDIV64
6: Master Clock divided by 64
MCKDIV128
7: Master Clock divided by 128
MCKDIV256
8: Master Clock divided by 256
MCKDIV512
9: Master Clock divided by 512
MCKDIV1024
10: Master Clock divided by 1024
CLKA
11: Clock A
CLKB
12: Clock B
Trait Implementations§
source§impl PartialEq<CPRE_A> for CPRE_A
impl PartialEq<CPRE_A> for CPRE_A
impl Copy for CPRE_A
impl Eq for CPRE_A
impl StructuralEq for CPRE_A
impl StructuralPartialEq for CPRE_A
Auto Trait Implementations§
impl RefUnwindSafe for CPRE_A
impl Send for CPRE_A
impl Sync for CPRE_A
impl Unpin for CPRE_A
impl UnwindSafe for CPRE_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