Count Match Detection [Usual Counter]

The counter device has the following functions when the count value match to the specified "comparison value".

Please define comparison value by CntSetCountMatchEvent function.
The number of comparison registers is just one for each channel on Usual Counter device.

You can not Preset or Zero Clear on Usual Counter device.

Please refer Function Reference to know more details.

 

- Generates interrupt (Notified with callback function)

Set the comparison registers with CntSetCountMatchEvent function.
Set the callback function with CntSetCountMatchCallBackProc function.

You can notify it to your application from callback function.

 

- Outputs one-short pulse (Control output signal)

You can set the width of output Pulse by CntSetPulseWidth function for Usual Counter device.