23.7.4 Clock Divider Control n Register

Table 23-6. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: CLKDIV
Offset: 0x0C + n*0x04 [n=0..2]
Reset: 0x00000001
Property: R/W

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
 DIV[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000001 

Bits 7:0 – DIV[7:0] Division Ratio

These bits define the division ratio of the main clock prescaler related to the Clock Domain controlled by the CLKDIVn register. To ensure correct operation, frequencies must be selected so that FCLKDIV[n]≥ FCLKDIV[n+1] (i.e. CLKDIVn.DIV ≤ CLKDIV(n+1).DIV).

Frequencies must never exceed the specified maximum frequency for each clock domain. An update to this register may not take affect immediately. The MCLK peripheral will wait for the falling edge of the previous clock and the new clock to coincide before switching. The INTFLAG.CKRDY can be used to determine when MCLK has made the switch.

Note: All other values are reserved or invalid.
ValueNameDescription
1DIV1Divide by 1
2DIV2Divide by 2
4DIV4Divide by 4
8DIV8Divide by 8
16DIV16Divide by 16
32DIV32Divide by 32
64DIV64Divide by 64
128DIV128Divide by 128