CLK Module
2-40
Instance Configuration Parameters
Description
The CLK module provides methods for gathering timing information and
for invoking functions periodically. The CLK module provides real-time
clocks with functions to access the low-resolution and high-resolution
times. These times can be used to measure the passage of time in
conjunction with STS accumulator objects, as well as to add timestamp
messages in event logs.
DSP/BIOS provides the following timing methods:
❏
This DSP/BIOS counter changes at a relatively fast
platform-specific rate that is determined by your CLK Manager
Property settings. This counter is used only if the Clock Manager is
enabled in the CLK Manager Properties.
❏
This time is incremented when the timer
counter reaches its target value. When this time is incremented, any
functions defined for CLK objects are run.
❏
For some platforms, the timer counter is
also used to determine the high-resolution time. For other platforms,
a different timer is used for the high-resolution time.
❏
Periodic Rate.
The PRD functions can be run at a multiple of the
clock interrupt rate (the low-resolution rate) if you enable the "Use
CLK Manager to Drive PRD" in the PRD Manager Properties.
❏
System Clock.
The PRD rate, in turn, can be used to run the system
clock, which is used to measure TSK-related timeouts and ticks. If
you set the "TSK Tick Driven By" in the TSK Manager Properties to
"PRD", the system clock ticks at the specified multiple of the clock
interrupt rate (the low-resolution rate).
TCRPTV
EnumInt
0 (0 to 7) (1x10, 59xx only)
PRD
Int16
46666, 7499, or 59999
(varies by platform)
(not used for 1x10, 59xx)
INPUTCLK
Numeric
0.032 MHz (OMAP 2420 only)
HTIMECLK
Numeric
12.0 MHz (OMAP 2420 only)
C55x Name
Type
Default (Enum Options)
Name
Type
Default
comment
String
"<add comments here>"
fxn
Extern
prog.extern("FXN_F_nop")
order
Int16
0