English
Language : 

M16C6NK Datasheet, PDF (155/404 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/60 SERIES
Under development
This document is under development and its contents are subject to change.
M16C/6N Group (M16C/6NK, M16C/6NM)
13. Timers
Count source
Measurement pulse "H"
"L"
Reload register counter
transfer timing
Timing at which counter
reaches "0000h"
"1"
TBiS bit
"0"
Transfer
(indeterminate value)
Transfer
(measured value)
(NOTE 1)
(NOTE 1)
(NOTE 2)
IR bit in
"1"
TBiIC register
"0"
MR3 bit in
"1"
TBiMR register
"0"
Set to "0" upon accepting an interrupt request or by writing in program
The TB0S to TB2S bits are assigned to bit 5 to bit 7 in the TABSR register, and the TB3S to TB5S bits
are assigned to bit 5 to bit 7 in the TBSR register.
i = 0 to 5
NOTES:
1. Counter is initialized at completion of measurement.
2. Timer has overflown.
3. This timing diagram is for the case where the MR1 to MR0 bits in the TBiMR register are "00b" (measure the interval
from falling edge to falling edge of the measurement pulse).
Figure 13.21 Operation Timing When Measuring Pulse Period
Count source
"H"
Measurement pulse
"L"
Reload register counter
transfer timing
Timing at which counter
reaches "0000h"
Transfer
(indeterminate
value)
Transfer
(measured value)
Transfer
(measured
value)
Transfer
(measured value)
(NOTE 1) (NOTE 1)
(NOTE 1) (NOTE 1)
(NOTE 2)
TBiS bit
"1"
"0"
IR bit in
"1"
TBiIC register
"0"
MR3 bit in
"1"
TBiMR register
"0"
Set to "0" upon accepting an interrupt request or by
writing in program
The TB0S to TB2S bits are assigned to bit 5 to bit 7 in the TABSR register, and the TB3S to TB5S bits
are assigned to bit 5 to bit 7 in the TBSR register.
i = 0 to 5
NOTES:
1. Counter is initialized at completion of measurement.
2. Timer has overflown.
3. This timing diagram is for the case where the MR1 to MR0 bits in the TBiMR register are "10b" (measure the
interval from a falling edge to the next rising edge and the interval from a rising edge to the next falling edge
of the measurement pulse).
Figure 13.22 Operation Timing When Measuring Pulse Width
Rev.2.00 Nov 28, 2005 page 137 of 378
REJ09B0124-0200