NEC PD78P214 Manuale Utente

Pagina di 487
210
µ
PD78214 Sub-Series
(b)  Restart after 0 is set in TM3 cleared
Count clock
TM3
CE3
n-1
n
0
0
1
When the CE3 bit is set to 1 after this count clock,
counting starts from 0 on the count clock input
after the CE3 bit has been set.
(c)  Restart before 0 is set in TM3 cleared
Count clock
TM3
CE3
n-1
When the CE3 bit is set to 1 before this count clock, Clearing
TM3 by CE3
←0 and counting by CE3←1 are performed simultaneously.
n
0
1
2
7.4.5  Compare Register Operation
Eight-bit timer/counter 3 performs a compare operation to compare the value set in the compare register with a
timer count value.
When the value set in the compare register (CR30) coincides with a count value of 8-bit timer 3 (TM3), the interrupt
request (INTC30) is generated.
After the value of the CR30 register coincides with a count value of TM3, the value of TM3 is automatically cleared.
Thus, 8-bit timer/counter 3 can operate as an interval timer for repeatedly counting up to the value set in the CR30
register.