Mitsubishi Electric MELIPC MI5000 Series Programming Manual page 85

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

Advertisement

CCPU_GetCounterMicros_ISR
Acquires a 1 μs counter value of a MELIPC.
Format
short CCPU_GetCounterMicros_ISR(unsigned long* pulMicros)
Argument
Argument
Name
pulMicros
1μs counter value storage
destination
Description
• This function acquires a 1 μs counter value of a MELIPC, and stores it in the 1 μs counter value storage destination
(pulMicros).
• The 1 μs counter value increases by 1 every 1 μs 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 84 CCPU_GetCounterMillis_ISR
Description
Specify the storage destination of the 1μs counter value.
Description
Normal
3 DETAILS OF FUNCTIONS
3.2 C Controller Module Dedicated Functions (for ISR)
3
IN/OUT
OUT
83

Advertisement

Table of Contents
loading

Table of Contents