12.5.2 Main Clock Control B

Name: MCLKCTRLB
Offset: 0x01
Reset: 0x11
Property: Configuration Change Protection

Bit 76543210 
    PDIV[3:0]PEN 
Access R/WR/WR/WR/WR/W 
Reset 10001 

Bits 4:1 – PDIV[3:0] Prescaler Division

This bit field controls the division ratio of the Main Clock (CLK_MAIN) prescaler when the Prescaler (PEN) bit is ‘1’.

Note: Configuration of the input frequency (CLK_MAIN) and prescaler settings must not exceed the allowed maximum frequency of the peripheral clock (CLK_PER) or CPU clock (CLK_CPU). Refer to the Electrical Characteristics section for further information.
ValueNameDescription
0x0 DIV2 Divide by 2
0x1 DIV4 Divide by 4
0x2 DIV8 Divide by 8
0x3 DIV16 Divide by 16
0x4 DIV32 Divide by 32
0x5 DIV64 Divide by 64
0x8 DIV6 Divide by 6
0x9 DIV10 Divide by 10
0xA DIV12 Divide by 12
0xB DIV24 Divide by 24
0xC DIV48 Divide by 48
Other - Reserved

Bit 0 – PEN Prescaler Enable

This bit controls whether the Main Clock (CLK_MAIN) prescaler is enabled or not.

ValueDescription
0 The CLK_MAIN prescaler is disabled
1 The CLK_MAIN prescaler is enabled and the division ratio is controlled by the Prescaler Division (PDIV) bit field