21.7.4 Clock Divider Control n Register

Note:
  1. the CLKDIV0.DIV bit field is write protected.
  2. To ensure correct operation, frequencies must be selected so that CLKDIV0.DIV ≤ CLKDIV1.DIV ≤ CLKDIV2.DIV.
  3. Frequencies must never exceed the specified maximum frequency for each clock domain.
  4. The user updates to this register may not take effect immediately. The MCLK module logic 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.
Table 21-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
Reset: 0x00000000
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 00000000 

Bits 7:0 – DIV[7:0] 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 macro 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. This field is write protected if MCLK_CKDIV_IS_WRLOCK[n]=1. All other values are reserved.

These bits define the division ratio of the main clock, (MCLK), prescaler related to the CPU Clock Domain controlled by the CLKDIVn register.

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