There are three possible modes of a pulse counter:
Free Run Mode – pulses are counted until maximum number of pulses (16,777,215) is reached;
Time Based Mode – pulses are counted only during user-defined time period;
Pulse Based Mode – pulses are counted until user-defined number of pulses is detected.
The modes can be selected in Bits 7..4: PLS_CNT_MODE of Byte 3 of GPIO_SET_PLS_CNT_CFG command.