
Section 12 Timer Unit (TMU)
SH7751 Group, SH7751R Group
Page 328 of 1128
R01UH0457EJ0301 Rev. 3.01
Sep 24, 2013
1
2
Operation selection
Select count clock
Underflow interrupt
g
eneration settin
g
When input capture
function is used
3
4
5
6
Input capture interrupt
g
eneration settin
g
Timer constant
re
g
ister settin
g
Set initial timer
counter value
Start count
Note: When an interrupt is
g
enerated, clear the source fla
g
in the interrupt handler. If the interrupt
enabled state is set without clearin
g
the fla
g
, another interrupt will be
g
enerated.
Figure 12.2 Example of Count Operation Setting Procedure