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