參數(shù)資料
型號: M30201F6
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
中文描述: 單片16位CMOS微機
文件頁數(shù): 65/159頁
文件大?。?/td> 2319K
代理商: M30201F6
Unde
Timer X
deeopmen
Mitsubishi microcomputers
M30201 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
65
Timer X
Figure 1.56 shows the block diagram of timer X. Figures 1.57 to 1.59 show the timer X-related registers.
Use the timer Xi mode register bits 0 and 1 to choose the desired mode.
Timer X has the five operation modes listed as follows:
Timer mode
: The timer counts an internal count source.
Event counter mode
: The timer counts pulses from an external source or a timer overflow.
One-shot timer mode
: The timer stops counting when the count reaches “0000
16
”.
Pulse period/pulse width measuring mode
: The timer measures an external signal's pulse period or
pulse width.
Pulse width modulation (PWM) mode
: The timer outputs pulses of a given width.
Figure 1.57. Timer X-related registers (1)
Figure 1.56. Block diagram of timer X
Count start flag
Reload register (16)
Counter (16)
Low-order
8 bits
AAA
AAA
High-order
Clock source
selection
Timer
(gate function)
Timer
One shot
PWM
Pulse period/pulse width measurement
f
1
f
8
f
32
f
C32
External
trigger
TXi
INOUT
(i=0 to 2)
TB1 overflow
Event counter
Clock selection
Pulse output
Toggle flip-flop
Data bus low-order bits
Data bus high-order bits
A
A
Polarity
switching and
edge pulse
Counter reset circuit
*1 = TA0, *2 = TX1 when TX0
*1 = TX0, *2 = TX2 when TX1
*1 = TX1, *2 = TA0 when TX2
*1
*2
Timer Xi mode register
Symbol
TXiMR(i = 0 to 2) 0397
16
to 0399
16
Address
When reset
00
16
Bit name
Function
Bit symbol
TMOD0
W
R
b7
b6 b5
b4
b3
b2
b1 b0
0 1 : Event counter mode
1 0 : One-shot timer mode or pulse period/
pulse width measurement mode
1 1 : Pulse width modulation (PWM) mode
b1 b0
TCK1
MR3
TCK0
MR2
MR1
TMOD1
MR0
Function varies with each operation mode
Count source select bit
(Function varies with each operation mode)
Operation mode
select bit
AAA
AAA
AAA
AAA
AAA
AAA
相關(guān)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
相關(guān)代理商/技術(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