
5.5 Quadrature Bi-pulse Counter
This function counts up or down the quadrature
1-edge count:
The current value increments or decrements at the rising or falling edge of the phase B input after the phase A input has turned on.
The current value increments or decrements at the rising or falling edge of the phase B input after the phase A input has turned on or off.
The current value increments or decrements at the rising or falling edges of the phase A and B inputs.
Both rising and falling edges of each phase are counted.
Consequently, 4 times count value against the pulse frequency is obtained.
When the count value reaches the comparison value 1 (or 2), the I/O interrupt program#1 (or #2) is activated (if the interrupt enable flag for each is ON). This counter operation is enabled while the
Page 92