842
Chapter 41 Up/Down Counter
4.Register
• bit1,0: Select counter clear/gate edge
CGE1 CGE0
Edge detection/level selection
When the counter clear function is selected
(CGSC=“0”)
When the gate function is selected
(CGSC=“1”)
0 0 Disable edge detection. Disable level detection. (Disable count.)
0 1 Detect a falling edge. Detect a “L” level.
1 0 Detect a rising edge. Detect a “H” level.
1 1 Disable setting. Disable setting.