851
Chapter 41 Up/Down Counter
5.Operation
5.4 Phase Difference Count Mode (Multiply by 2) CMS[1:0]=“10”
Frequency multiplied by 2 in phase difference count mode:
On the rising and falling edges at the BIN count pin, Up/Down Counter counts up or down, depending on the
voltage level at the AIN pin.
• Count up Conditions:
• When the voltage level at the AIN pin detected on the rising edge at the BIN pin is “H”
• When the voltage level at the AIN pin detected on the falling edge at the BIN pin is “L”
• Count down Conditions:
• When the voltage level at the AIN pin detected on the rising edge at the BIN pin is “L”
• When the voltage level at the AIN pin detected on the falling edge at the BIN pin is “H”
When this count mode is selected, selection of the edge to be detected using CES1 or CES0 is disabled.
Time
AIN
BIN
Count value