Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 75

Vxworks
Hide thumbs Also See for MELIPC MI5000 Series:
Table of Contents

Advertisement

CCPU_SysClkRateGet
Reads the system clock rate specified with the CCPU_SysClkRateSet function from MRAM.
Format
short CCPU_SysClkRateGet(short* psTicks)
Argument
Argument
Name
psTicks
Clock rate
Description
Reads the system clock rate specified with the CCPU_SysClkRateSet function from MRAM.
Precautions
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
Return value
0(0000H)
-264(FEF8H)
For details on error codes, refer to the following section.
Page 116 Function error codes
Relevant function
Page 74 CCPU_SysClkRateSet
Description
Specify 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
Description
Normal
Pointer error
3 DETAILS OF FUNCTIONS
3.1 C Controller Module Dedicated Functions
3
IN/OUT
OUT
73

Advertisement

Table of Contents
loading

Table of Contents