Enum nrf52811_pac::pwm0::prescaler::PRESCALER_A[][src]

#[repr(u8)]
pub enum PRESCALER_A {
    DIV_1,
    DIV_2,
    DIV_4,
    DIV_8,
    DIV_16,
    DIV_32,
    DIV_64,
    DIV_128,
}
Expand description

Prescaler of PWM_CLK

Value on reset: 0

Variants

DIV_1

0: Divide by 1 (16 MHz)

DIV_2

1: Divide by 2 (8 MHz)

DIV_4

2: Divide by 4 (4 MHz)

DIV_8

3: Divide by 8 (2 MHz)

DIV_16

4: Divide by 16 (1 MHz)

DIV_32

5: Divide by 32 (500 kHz)

DIV_64

6: Divide by 64 (250 kHz)

DIV_128

7: Divide by 128 (125 kHz)

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.