參數(shù)資料
型號: M30201
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
中文描述: 單片16位CMOS微機
文件頁數(shù): 63/159頁
文件大?。?/td> 2319K
代理商: M30201
Unde
Timer B
deeopmen
Mitsubishi microcomputers
M30201 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
63
Item
Specification
Count source
Count operation
f
1
, f
8
, f
32
, f
c32
Up count
Counter value “0000
16
” is transferred to reload register at measurement
pulse's effective edge and the timer continues counting
Count start flag is set (= 1)
Count start flag is reset (= 0)
Interrupt request generation timing
When measurement pulse's effective edge is input
(Note 1)
When an overflow occurs. (Simultaneously, the timer Bi overflow flag
changes to “1”. The timer Bi overflow flag changes to “0” when the count
start flag is “1” and a value is written to the timer Bi mode register.)
TBi
IN
pin function
Measurement pulse input
Read from timer
When timer Bi register is read, it indicates the reload register’s content
(measurement result)
(Note 2)
Write to timer
Cannot be written to
Note 1:
An interrupt request is not generated when the first effective edge is input after the timer has started counting.
Note 2:
The value read out from the timer Bi register is indeterminate until the second effective edge is input after the timer.
Count start condition
Count stop condition
(3) Pulse period/pulse width measurement mode
In this mode, the timer measures the pulse period or pulse width of an external signal. (See Table 1.20.)
Figure 1.53 shows the timer Bi mode register in pulse period/pulse width measurement mode. Figure
1.54 shows the operation timing when measuring a pulse period. Figure 1.55 shows the operation timing
when measuring a pulse width.
Table 1.20. Timer specifications in pulse period/pulse width measurement mode
Figure 1.53. Timer Bi mode register in pulse period/pulse width measurement mode
Timer Bi mode register
b7
b6
b5
b4
b3 b2
Symbol
TBiMR(i=0 , 1)
Address
039B
16
, 039C
16
When reset
00XX0000
2
Bit name
Bit symbol
b1
1
b0
0
Operation mode
select bit
measurement mode
b1 b0
TMOD1
TMOD0
MR0
Measurement mode
select bit
MR1
MR3
TCK1
TCK0
0 0 : Pulse period measurement (Interval between
measurement pulse's falling edge to falling edge)
0 1 : Pulse period measurement (Interval between
measurement pulse's rising edge to rising edge)
1 0 : Pulse width measurement (Interval between
measurement pulse's falling edge to rising edge,
and between rising edge to falling edge)
1 1 : Inhibited
Function
b3 b2
Count source
select bit
Timer Bi overflow
flag ( Note)
0 : Timer did not overflow
1 : Timer has overflowed
1
0 1 : f
8
1 0 : f
32
1 1 : f
C32
b7 b6
Note : The timer Bi overflow flag changes to “0” when the count start flag is “1” and a value is written to the
timer Bi mode register. This flag cannot be set to “1” by software.
AA
AA
A
A
A
A
A
A
A
A
AA
AA
A
Nothing is assigned.
When write, set "0". When read, their contents are indeterminate.
相關PDF資料
PDF描述
M30201F6 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201F6FP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201F6SP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201F6TSP SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201M2 SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
相關代理商/技術參數(shù)
參數(shù)描述
M30201_M 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY
M30201E6T-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201E6T-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201E6-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201E6-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER