Ccpu_Getcountermillis - Mitsubishi Electric MELIPC MI5000 Series Programming Manual

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

Advertisement

CCPU_GetCounterMillis

Acquires a 1 ms counter value of a MELIPC.
Format
short CCPU_GetCounterMillis(unsigned long* pulMillis)
Argument
Argument
Name
pulMillis
1 ms counter value storage
destination
Description
• This function acquires a 1 ms counter value of a MELIPC, and stores it in the 1 ms counter value storage destination
(pulMillis).
• The 1 ms counter value increases by 1 every 1 ms after the power is turned ON.
• The count cycles between 0 and 4294967295.
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 40 CCPU_GetCounterMicros
Page 83 CCPU_GetCounterMicros_ISR
Page 84 CCPU_GetCounterMillis_ISR
Description
Specify the storage destination of the 1 ms counter value.
Description
Normal
Pointer error
3 DETAILS OF FUNCTIONS
3.1 C Controller Module Dedicated Functions
3
IN/OUT
OUT
41

Advertisement

Table of Contents
loading

Table of Contents