
R8C/14 Group, R8C/15 Group 13. Timers
Rev.2.10 Jan 19, 2006 Page 94 of 253
REJ09B0164-0210
Figure 13.8 Operating Example in Pulse Width Measurement Mode
FFFFh
n
0000h
Counter contents (hex)
n = high-level: the contents of TX register, low-level: the contents of PREX register
Count Start
Count Stop
Underflow
Count Stop
Count Start
Period
TXS Bit in
TXMR Register
“1”
“0”
Measurement Pulse
(CNTR0i Pin Input)
“1”
“0”
IR Bit in INT1IC
Register
“1”
“0”
IR Bit in TXIC
Register
“1”
“0”
Conditions: “H” level width of measurement pulse is measured. (R0EDG=1)
i=0 to 1
Set to “1” by program
Set to “0” when interrupt request is acknowledged, or set by program
Set to “0” when interrupt request is acknowledged, or set by program
Comentários a estes Manuais