GCTR_Read Previous topicNext topicFirst topicLast topic

GCTR_Read

@ Description

Reads the counter value of the general-purpose counter without disturbing the counting process.

@ Cards Support

9116

@ Syntax

I16 GCTR_Read (U16 CardNumber, U16 GCtr, U32 *Value)

@ Parameter

CardNumber : The card id of the card that want to perform this operation.

GCtr : The counter number.
        digital logic state, 0 or 1.

Value : Returns the counter value of specified general-purpose timer/counter.
        Range: 0 through 65535.

@ Return Code

NoError, ErrorInvalidCardNumber, ErrorCardNotRegistered, ErrorFuncNotSupport, InvalidCounter