261
CHAPTER 10 8-BIT TIMER/EVENT COUNTERS 5 AND 6
10.4.2 External event counter operation
The external event counter counts the number of external clock pulses to be input to the TI5/P100/TO5 and TI6/
P101/TO6 pins with 8-bit timer registers 5 and 6 (TM5 and TM6).
TM5 and TM6 are incremented each time the valid edge specified with timer clock select registers 5 and 6 (TCL5
and TCL6) is input. Either rising or falling edge can be selected.
When the TM5 and TM6 counted values match the values of 8-bit compare registers (CR50 and CR60), TM5
and TM6 are cleared to 0 and the interrupt request signals (INTTM5 and INTTM6) are generated.
Figure 10-10. 8-Bit Timer Mode Control Register Setting for External Event Counter Operation
Remarks 1. n = 5, 6
2. x : Don’t care
Figure 10-11. External Event Counter Operation Timings (with Rising Edge Specified)
Remarks 1. N = 00H to FFH
2. n = 5, 6
1
TCEn
0
TMCn6
0
0
x
LVSn LVRn TMCn1 TOEn
TMCn
x
x
0
TOn output disable
Clear & start mode on match of TMn and CRn0
TMn operation enable
00
01
13
N
Count Clock
TMn Count Value
CRn0
TCEn
INTTMn
05
N – 1
00
02
03
01
02
04
N
Содержание PD78076
Страница 2: ...2 MEMO ...
Страница 12: ...12 MEMO ...
Страница 48: ...48 MEMO ...
Страница 64: ...64 MEMO ...
Страница 82: ...82 MEMO ...
Страница 100: ...100 MEMO ...
Страница 130: ...130 MEMO ...
Страница 180: ...180 MEMO ...
Страница 222: ...222 MEMO ...
Страница 248: ...248 MEMO ...
Страница 288: ...288 MEMO ...
Страница 308: ...308 MEMO ...
Страница 364: ...364 MEMO ...
Страница 494: ...494 MEMO ...
Страница 526: ...526 MEMO ...
Страница 544: ...544 MEMO ...
Страница 558: ...558 MEMO ...
Страница 580: ...580 MEMO ...
Страница 596: ...596 MEMO ...
Страница 598: ...598 MEMO ...
Страница 626: ...626 MEMO ...