14.8.5 Generic Clock Generator Division

Name: GENDIV
Offset: 0x8
Reset: 0x00000000
Property: Write-Synchronized

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
 DIV[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 DIV[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
     ID[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 

Bits 23:8 – DIV[15:0] Division Factor

These bits apply a division on each selected generic clock generator. The number of DIV bits each generator has can be seen in the table below. Writes to bits above the specified number will be ignored.

GeneratorDivision Factor BitsMaximum Division Factor
Generic clock generator 08 division factor bits - DIV[7:0]512
Generic clock generator 116 division factor bits - DIV[15:0]131072
Generic clock generators 25 division factor bits - DIV[4:0]64
Generic clock generators 3-88 division factor bits - DIV[7:0]512

Bits 3:0 – ID[3:0] Generic Clock Generator Selection

These bits select the generic clock generator on which the division factor will be applied, as shown in the table below.

ValuesDescription
0x0Generic clock generator 0
0x1Generic clock generator 1
0x2Generic clock generator 2
0x3Generic clock generator 3
0x4Generic clock generator 4
0x5Generic clock generator 5
0x6Generic clock generator 6
0x7Generic clock generator 7
0x8-0xFReserved

A power reset will reset the GENDIV register for all IDs, including the generic clock generator used by the RTC. If a generic clock generator ID, other than generic clock generator ‘0’, is not a source of locked generic clock or a source of the RTC generic clock. A user reset will reset the GENDIV register for this ID. After a power reset, the reset value of the GENDIV register is as shown in the table below.

GCLK Generator IDReset Value after a Power Reset
0x000x00000000
0x010x00000001
0x020x00000002
0x030x00000003
0x040x00000004
0x050x00000005
0x060x00000006
0x070x00000007

After a user reset, the reset value of the GENDIV register is as shown in the table below.

GCLK Generator IDReset Value after a User Reset
0x000x00000000
0x010x00000001, if the generator is not used by the RTC and not a source of locked generic clock
. No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.
0x020x00000002, if the generator is not used by the RTC and not a source of locked generic clock. 
No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.
0x030x00000003, if the generator is not used by the RTC and not a source of locked generic clock
. No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.
0x040x00000004, if the generator is not used by the RTC and not a source of locked generic clock
. No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.
0x050x00000005, if the generator is not used by the RTC and not a source of locked generic clock
. No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.
0x060x00000006, if the generator is not used by the RTC and not a source of locked generic clock
. No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.
0x070x00000007, if the generator is not used by the RTC and not a source of locked generic clock
. No change if the generator is used by the RTC or used by a GCLK with a WRTLOCK as one.