3.10.4.4.2 CLKOD – Clock Output Divider

Name: CLKOD
Offset: 0x0C3
Reset: 0x00

It can be modified only if the clock output is disabled (CLKOCR.CLKOEN = 0).

Bit 76543210 
 CLKOD[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 7:0 – CLKOD[7:0] Clock Output Divider

Divide the selected clock reference by this factor. The selected clock CLKOS is passed to the CLK_OUT prescaler and the resulting divided clock is visible at the CLK_OUT pin if the output is enabled. See also Figure 3-57.
fCLK_OUT=fCLKOS2xCLKOD......(46)

CLKOD ∈ {0 .. 255}

If CLKOD = 0 is selected, the clock source is passed directly to the pin. The clock output frequency must never exceed the maximum specified frequency (see Oscillators and CLK_OUT, no. 15.90). For this reason, the divider must stay within the boundaries specified in the following table.

Selected CLK Source

Min. CLKODMax. CLKOD
CLKSRC0255
CLKFRC1255
CLKXTO3255