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
0: No divide
1: /2
2: /3
3: /4
4: /5
5: /6
7: /(FDIV+1)
8: /(FDIV+1)
9: /(FDIV+1)
10: /(FDIV+1)
11: /(FDIV+1)
12: /(FDIV+1)
13: /(FDIV+1)
14: /(FDIV+1)
15: /(FDIV+1)