74
3 DETAILS OF FUNCTION
3.1 C Intelligent Function Module Dedicated Functions
CITL_GetCounterMicros_ISR
This function acquires a 1 s counter value of a C intelligent function module.
■ Format
short CITL_GetCounterMicros_ISR (unsigned long* pulMicros)
■ Argument
■ Description
• This function acquires a 1 s counter value of a C intelligent function module, 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 the CITL_GetCounterMicros_ISR function in a routine other than an interrupt routine.
■ Return value
■ Relevant function
Page 75 CITL_GetCounterMillis_ISR
Argument Name Description IN/OUT
pulMicros 1 s counter value storage
destination
Specify the storage destination of the 1 s counter value. OUT
Return value Description
0 (0000H) Normal