Struct lpc845_pac::capt::ctrl::FDIV_W[][src]

pub struct FDIV_W<'a> { /* fields omitted */ }
Expand description

Field FDIV writer - 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.

Implementations

Writes variant to the field

No divide

/2

/3

/4

/5

/6

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

/(FDIV+1)

Writes raw bits to the field

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.