Enum lpc845_pac::capt::ctrl::FDIV_A[][src]

#[repr(u8)]
pub enum FDIV_A {
Show 15 variants FDIV_0, FDIV_1, FDIV_2, FDIV_3, FDIV_4, FDIV_5, FDIV_7, FDIV_8, FDIV_9, FDIV_10, FDIV_11, FDIV_12, FDIV_13, FDIV_14, FDIV_15,
}
Expand description

Functional clock divider, or 0 if no divide. The term “clocks” in this spec then refer to divided clocks. For a 12MHz input (e.g. FRO 12MHz), this would normally be set to generate a 4MHz output (so, 2). For a 1MHz input, it should be 0. Note for internal use: this does not produce a 50/50 duty cycle when non even divide.

Value on reset: 0

Variants

FDIV_0

0: No divide

FDIV_1

1: /2

FDIV_2

2: /3

FDIV_3

3: /4

FDIV_4

4: /5

FDIV_5

5: /6

FDIV_7

7: /(FDIV+1)

FDIV_8

8: /(FDIV+1)

FDIV_9

9: /(FDIV+1)

FDIV_10

10: /(FDIV+1)

FDIV_11

11: /(FDIV+1)

FDIV_12

12: /(FDIV+1)

FDIV_13

13: /(FDIV+1)

FDIV_14

14: /(FDIV+1)

FDIV_15

15: /(FDIV+1)

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.