844
Chapter 41 Up/Down Counter
4.Register
To enable interrupt requests, the interrupt request permission bit must be set (UDIE= “1”).
• bit1,0: Up/down flag
UDF1 UDF0 Previous count operation
0 0 No input
0 1 Count down
1 0 Count up
1 1 Both of count up and count down