Counter Mode

The counter mode is namely the case when usual counter function is used.

In the counter mode, after performing initialization, you should first set the information of input signal type, count match processing and hardware events, which is necessary before starting counter operation, then start the counter.

It is possible to read the count value, the status and execute preset to the counter that has been started.

Please refer the flowcharts to understand each functions as below.

Category

Counter Type

Name of Flowchart

Counter function

Usual counter / High-performance counter

Flowchart for counter function

Output Pulse at count match

Usual counter

Flowchart for Output Pulse at count match

High-performance counter

Flowchart for Output Pulse at count match

Control Input Signal

High-performance counter only

Flowchart for Control Input Signal

* Please refer Counter Type Specification as well.

 

See Also

Init and Exit Processing
Counter Operation Mode Setting
Count Match Detection [Usual counter], Count Match Detection [High-performance counter]
Hardware Event [High-performance counter]
Counter Operation