R8C/13 Group
12.1 Timer (Timer X)
n = high-level: the contents of TX register, low-level: the contents of PREX register
FFFF16
n
Count start
Underflow
Count stop
Count stop
Count restart
Time
000016
Set to "1" by program
“1”
“0”
TXS bit in TXMR
register
“H”
“L”
Measurement pulse
(CNTR0 pin input)
Cleared to “0” when interrupt request is accepted, or cleared by program
Cleared to “0” when interrupt request is accepted, or cleared by program
“1”
“0”
IR bit in INT1IC
register
IR bit in TXIC
register
“1”
“0”
Conditions: "H" level width of measurement pulse is measured. (R0EDG=1)
Figure 12.8 Operation Example in Pulse Width Measurement Mode
Rev.1.20 Jan 27, 2006 page 77 of 205
REJ09B0111-0120