—
Product Nomenclature and Function
—
CPS-PC341MB-ADSC1-9201 Reference Manual (Hardware)
—
33
—
3.
Other Functions
1.
Counter Function
When a pulse is input, the product performs incremental counting at the falling edges of input pulse.
Compare Register
Compare the count value of a corresponding channel with the compare register value. If these two
values match, an interrupt is generated.
This register can be set to any value from 0h to FFFFFFh.
2.
Digital Filter
This product can apply a digital filter to every input pin, thereby preventing wrong recognition of
input signals from being affected by noise or chattering.
Operation Principle
The digital filter checks the input signal level during the sampling time of 1/4 cycles of digital filter
setting time. When the signal level remains the same over the digital filter setting time (sampling
four times), the digital filter recognizes that signals as normal and changes the filter output signal
level.
When there is a change in the signal within the digital filter setting time (sampling four times), the
input signals till then are disregarded and the level check continues again
If the signal level changes at a frequency shorter than the set time, therefore, the level change is
ignored.
Internal data
6
7
8
5
1
0
Input pulse
Count value