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.
Flow Chart of Counter Mode
Counter Operation Mode Setting
Count Match Detection
Hardware Event *1
Counter Operation
Timer Operation
*1 For devices with sampling function