Enum atsam4n16c_pac::pwm::cmr3::CPRE_A[][src]

#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.