There are in general only two software controllable functions in the clock manager.
To enable a transactional clock, set the corresponding hint in CLK_HINTS
to 1
.
To disable a transactional clock, set the corresponding hint in CLK_HINTS
to 0
.
Note, a 0
does not indicate clock is actually disabled, software can thus check CLK_HINTS_STATUS
for the actual state of the clock.
To control peripheral clocks, directly change the bits in CLK_ENABLES
.