165
CHAPTER 8 8/16-BIT CAPTURE TIMER/COUNTER
■
Counter Function
The counter function counts the falling edges of the external clocks input to the P33/EC external pin. The 8/
16-bit capture timer/counter can operate independently because the EC pin acts as an external clock input
pin. Only timer 0 can select the external clock. The counter function operates using timer 0 with the 8-bit
mode or with the 16-bit mode.
•
The counter function counts the number of edges of the external clocks selected by the count clock
selection bit (CINV) of the timer 0 control register (TCR0). When the number of edges equals the
setting value, the counter function generates an interrupt request and inverts the output level of the
square wave output pin.
•
In timer 0 for the 8-bit mode, a count operation up to 2
8
is possible.
•
In the 16-bit mode, a count operation up to 2
16
is possible.
•
Inputting an external clock whose cycle is constant enables the counter to be used as a device whose
function is similar to an interval timer.
Summary of Contents for F2MC-8L F202RA
Page 2: ......
Page 4: ......
Page 32: ...16 CHAPTER 1 OVERVIEW ...
Page 90: ...74 CHAPTER 3 CPU ...
Page 142: ...126 CHAPTER 5 TIME BASE TIMER POPW A RETI ENDS END ...
Page 150: ...134 CHAPTER 6 WATCHDOG TIMER ...
Page 176: ...160 CHAPTER 7 8 BIT PWM TIMER ...
Page 220: ...204 CHAPTER 8 8 16 BIT CAPTURE TIMER COUNTER ...
Page 240: ...224 CHAPTER 9 12 BIT PPG TIMER ...
Page 274: ...258 CHAPTER 11 EXTERNAL INTERRUPT CIRCUIT 2 LEVEL ...
Page 362: ...346 CHAPTER 15 BUZZER OUTPUT ...
Page 390: ...374 CHAPTER 17 FLASH MEMORY ...
Page 419: ...403 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 434: ...418 INDEX ...
Page 436: ......