Before a Generator is enabled, the corresponding clock source should be enabled. The
Peripheral clock must be configured as outlined by the following steps:
- 1.The Generic Clock Generator division
factor must be set by performing a single 32-bit write to the Generic Clock Generator
Division register (GENDIV):
- 2.The generic clock generator must be enabled by performing a single 32-bit write to the
Generic Clock Generator Control register (GENCTRL):
- 3.The generic clock must be configured by performing a single 16-bit write to the Generic
Clock Control register (CLKCTRL):