Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 86

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

Advertisement

CCPU_GetCounterMillis_ISR
Acquires a 1 ms counter value of a MELIPC.
Format
short CCPU_GetCounterMillis_ISR(unsigned long* pulMillis)
Argument
Argument
pulMillis
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.
Do not execute this function in a routine other than an interrupt routine.
Return value
Return value
0(0000H)
Relevant function
Page 40 CCPU_GetCounterMicros
Page 41 CCPU_GetCounterMillis
Page 83 CCPU_GetCounterMicros_ISR
3 DETAILS OF FUNCTIONS
84
3.2 C Controller Module Dedicated Functions (for ISR)
Name
1 ms counter value storage
destination
Description
Normal
Description
Specify the storage destination of the 1 ms counter value.
IN/OUT
OUT

Advertisement

Table of Contents
loading

Table of Contents