15.6.4.1 Indirect Access
The Generic Clock Generator Control and Division registers (GENCTRL and GENDIV) and the Generic Clock Control register (CLKCTRL) are indirectly addressed as shown in the next figure.
Writing these registers is done by setting the corresponding ID bit group. To read a register, the user must write the ID of the channel, i, in the corresponding register. The value of the register for the corresponding ID is available in the user interface by a read access.
For example, the sequence to read the
GENCTRL register of generic clock generator i is:
- Do an 8-bit write of the i value to GENCTRL.ID
- Read the value of GENCTRL