參數(shù)資料
型號: M30201F6
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
中文描述: 單片16位CMOS微機
文件頁數(shù): 59/159頁
文件大?。?/td> 2319K
代理商: M30201F6
Unde
Timer B
deeopmen
Mitsubishi microcomputers
M30201 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
59
Timer B
Figure 1.48 shows the block diagram of timer B. Figures 1.49 and 1.50 show the timer B-related registers.
Use the timer Bi mode register (i = 0, 1) bits 0 and 1 to choose the desired mode.
Timer B has three operation modes listed as follows:
Timer mode
Event counter mode
Pulse period/pulse width measuring mode
: The timer counts an internal count source.
: The timer counts pulses from an external source or a timer overflow.
: The timer measures an external signal's pulse period or
pulse width.
Figure 1.48. Block diagram of timer B
Timer Bi mode register
Symbol
TBiMR(i = 0, 1)
Address
039B
16
, 039C
16
When reset
00XX0000
2
Bit name
Function
Bit symbol
TMOD0
W
R
b7
b6 b5
b4
b3
b2
b1 b0
0 1 : Event counter mode
1 0 : Pulse period/pulse width
measurement mode
1 1 : Inhibited
b1 b0
TCK1
MR3
MR2
MR1
TMOD1
MR0
TCK0
Function varies with each operation mode
Count source select bit
(Function varies with each operation mode)
Operation mode select bit
(Note 1)
AAA
A
(Note 2)
AAA
AAA
Note 1: Timer B0.
Note 2: Timer B1.
Note 3: Must set “00” to operation mode select bit of M30200.
AAA
A
AAA
A
AA
AA
Clock source selection
Event counter
Timer
Pulse period/pulse width measurement
Reload register (16)
Low-order 8 bits
High-order 8 bits
Data bus low-order bits
Data bus high-order bits
f
1
f
8
f
32
f
C32
TBj overflow
(j = 1 when i = 0,
j = 0 when i = 1)
Can be selected in only
event counter mode
Count start flag
Polarity switching
and edge pulse
TBi
IN
(i = 0, 1)
Counter reset circuit
Counter (16)
Figure 1.49. Timer B-related registers (1)
相關PDF資料
PDF描述
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
M30201M2T SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
相關代理商/技術(shù)參數(shù)
參數(shù)描述
M30201F6FP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201F6SP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201F6TFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30201F6TFP#U1 制造商:Renesas Electronics Corporation 功能描述:
M30201F6TSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER