3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
57
3
CITL_SysClkRateGet
This function reads the system clock rate specified with the CITL_SysClkRateSet function from the flash ROM.
■ Format
short CITL_SysClkRateGet(short* psTicks)
■ Argument
■ Description
This function reads the system clock rate specified with the CITL_SysClkRateSet function from the flash ROM.
The read value may not correspond to the system clock rate in operation.
To check the system clock rate in operation, use the sysClkRateGet function of VxWorks.
■ Return value
■ Relevant function
Page 58 CITL_SysClkRateSet
Argument Name Description IN/OUT
psTicks Clock rate Stores the system clock rate in the unit of clock frequency (Hz) per one
second.
• 0: Default value (60 Hz)
• 60 to 1000: Specified clock rate value
OUT
Return value Description
0 (0000H) Normal
Other than 0 (0000H) Error
For details on the error, refer to the following chapter.
Page 108 ERROR CODE LIST