Renesas SH7709S Manual Do Utilizador

Página de 807
Rev. 5.00, 09/03, page 401 of 760
Select operation
Select counter
clock
Set underflow
interrupt generation
Set timer constant
register
Initialize timer
counter
Start counting
(1)
(2)
(4)
(5)
(6)
Set interrupt
generation
When using input
capture function
(3)
Note:  When an interrupt has been generated, clear the flag in the interrupt handler that 
caused it. If interrupts are enabled without clearing the flag, another interrupt will be 
generated.
Figure 12.2   Setting the Count Operation