Specifications
Modifying the Configuration File
5-8
7) Since the dataIO function is no longer run within main, what causes this
CLK object to run its function? To find out, right-click on the CLK - Clock
Manager object. From the pop-up menu, select Properties. You see the
Clock Manager Properties dialog.
Notice that the CPU Interrupt for the Clock Manager is HWI_INT14. This
property is gray because it is actually set by the HWI_INT14 object.
8) Click Cancel to close the Clock Manager Properties dialog without
making any changes.
9) Expand the list of HWI objects and examine the properties of the
HWI_INT14 object. Its interrupt source is Timer 0 on the DSP and it runs
a function called CLK_F_isr when the on-chip timer causes an interrupt.
The CLK object functions run from the context of the CLK_F_isr hardware
interrupt function. Therefore, they run to completion without yielding and
have higher priority than any software interrupts. (The CLK_F_isr saves
the register context, so the CLK functions do not need to save and restore
context as would be required normally within a hardware ISR function.)