3 DETAILS OF FUNCTION
3.1 C Controller Module Dedicated Functions
129
3
CCPU_GetCounterMicros_ISR
This function acquires a 1
μ
s counter value of a C Controller module.
■
Format
short CCPU_GetCounterMicros_ISR(unsigned long* pulMicros)
■
Argument
■
Description
• This function acquires a 1
μ
s counter value of C Controller module and stores the value 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
■
Relevant function
• Page 130 CCPU_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
Содержание MELSEC iQ-R C
Страница 1: ...MELSEC iQ R C Controller Module Programming Manual ...
Страница 2: ......
Страница 201: ...I 199 MEMO ...
Страница 203: ...I 201 MEMO ...
Страница 207: ......