參數資料
型號: M37902FJCHP
廠商: Mitsubishi Electric Corporation
英文描述: SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
中文描述: 單片16位CMOS微機
文件頁數: 61/143頁
文件大?。?/td> 1463K
代理商: M37902FJCHP
61
M37902FCCHP, M37902FGCHP, M37902FJCHP
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
TIMER B
Figure 58 shows a block diagram of timer B.
Timer B has three modes: timer mode, event counter mode, and
pulse period measurement/pulse width measurement mode. The
mode is selected with bits 0 and 1 of the timer Bi mode register (i=0
to 2). Each of these modes is described below.
(1) Timer mode [00]
Figure 59 shows the bit configuration of the timer Bi mode register
during timer mode. Bits 0 and 1 of the timer Bi mode register must
always be “0” in timer mode.
Bits 6 and 7 are used to select the clock source. The counting of the
selected clock starts when the count start bit is “1” and stops when
“0”.
As shown in Figure 44, the timer Bi count start bit is at the same ad-
dress as the timer Ai count start bit. The count is decremented, an
interrupt occurs, and the interrupt request bit in the timer Bi interrupt
control register is set when the contents becomes 0000
16
. At the
same time, the contents of the reload register is stored in the counter
and count is continued.
Timer Bi does not have a pulse output function or a gate function like
timer A.
When data is written to timer Bi halted, it is written to the reload reg-
ister and the counter. When data is written to timer Bi which is busy,
the data is written to the reload register, but not to the counter. The
new data is reloaded from the reload register to the counter at the
next reload time and counting continues.
The contents of the counter can be read at any time.
Fig. 58 Block diagram of timer B
Data bus (odd)
Data bus (even)
Reload register (16)
Counter (16)
Count start register
Event counter
mode
Notes 1:
Perform a write and read to/from timer Bi register in the condition of 16-bit data length : data length flag (m) =
0
.
2:
Only for timer B2, a count source in the event counter mode can be selected.
(Address 40
16
)
Counter reset
circuit
Timer mode
Pulse period measurement/Pulse
width measurement mode
(Low-order 8 bits)
(High-order 8 bits)
f
2
f
16
f
64
f
512
Count source select bits
fX
32
Polarity selection
and edge pulse
generator
TBi
IN
Timer B2 clock source
select bit
(Note 2)
Timer B2 clock source select bit : Bit 6 at address 63
16
Addresses
Timer B0 51
16
50
16
Timer B1 53
16
52
16
Timer B2 55
16
54
16
相關PDF資料
PDF描述
M37905F8CFP 16-BIT CMOS MICROCOMPUTER
M37905F8CSP 16-BIT CMOS MICROCOMPUTER
M37905M4C DIODE SCHOTTKY DUAL COMMON-ANODE 25V 200mW 0.32V-vf 200mA-IFM 1mA-IF 2uA-IR SOT-323 3K/REEL
M37905M4C-XXXFP 16 BIT CMOS MICROCOMPUTER
M37905M4C-XXXSP 16 BIT CMOS MICROCOMPUTER
相關代理商/技術參數
參數描述
M37903S4CHP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:16-BIT CMOS MICROCOMPUTER
M37905F8CFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:16-BIT CMOS MICROCOMPUTER
M37905F8CSP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:16-BIT CMOS MICROCOMPUTER
M37905M4C 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:16 BIT CMOS MICROCOMPUTER
M37905M4C-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:16 BIT CMOS MICROCOMPUTER