#[repr(u8)]
pub enum PSEL_A {
Show 16 variants DIV2, DIV4, DIV8, DIV16, DIV32, DIV64, DIV128, DIV256, DIV512, DIV1K, DIV2K, DIV4K, DIV8K, DIV16K, DIV32K, DIV64K,
}
Expand description

Prescaler Select

Value on reset: 0

Variants

DIV2

0: Divide clock by 2

DIV4

1: Divide clock by 4

DIV8

2: Divide clock by 8

DIV16

3: Divide clock by 16

DIV32

4: Divide clock by 32

DIV64

5: Divide clock by 64

DIV128

6: Divide clock by 128

DIV256

7: Divide clock by 256

DIV512

8: Divide clock by 512

DIV1K

9: Divide clock by 1024

DIV2K

10: Divide clock by 2048

DIV4K

11: Divide clock by 4096

DIV8K

12: Divide clock by 8192

DIV16K

13: Divide clock by 16384

DIV32K

14: Divide clock by 32768

DIV64K

15: Divide clock by 65536

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
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.