参数资料
型号: M306N5FCTGP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
封装: 14 X 14 MM, 0.50 MM PITCH, PLASTIC, LQFP-100
文件页数: 52/63页
文件大小: 825K
代理商: M306N5FCTGP
Timer B
Mitsubishi microcomputers
M16C / 62A Group (80-pin)
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
80
Timer B
Figure 1.13.14 shows the block diagram of timer B. Figures 1.13.15 and 1.13.16 show the timer B-related
registers. However, timer B1 is used for internal timer since timer B1 does not have input port.
Use the timer Bi mode register (i = 0 to 5) bits 0 and 1 to choose the desired mode.
Timer B has three 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.
Pulse period/pulse width measuring mode: The timer measures an external signal's pulse period or
pulse width.
Figure 1.13.14. Block diagram of timer B
Timer Bi mode register
Symbol
Address
When reset
TBiMR(i = 0 to 5) 039B16 to 039D16
00XX00002
035B16 to 035D16
00XX00002
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
0 0 : Timer mode
0 1 : Event counter mode
1 0 : Pulse period/pulse width
measurement mode
1 1 : Inhibited
b1 b0
TCK1
MR3
MR2
MR1
TMOD1
MR0
TMOD0
TCK0
Function varies with each operation mode
Count source select bit
(Function varies with each operation mode)
Operation mode select bit
(Note 1)
(Note 2)
Note 1: Timer B0, timer B3.
Note 2: Timer B1, timer B2, timer B4, timer B5.
Note 3: Do not set this mode since timer B1 does not have input port.
(Note 3)
Clock source selection
(address 038016)
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
f1
f8
f32
TBj overflow
(j = i – 1. Note, however,
j = 2 when i = 0,
j = 5 when i = 3)
Can be selected in only
event counter mode
Count start flag
fC32
Polarity switching
and edge pulse
TBiIN
(i = 0 to 5)
Counter reset circuit
Counter (16)
TBi
Address
TBj
Timer B0
039116 039016
Timer B2
Timer B1
039316 039216
Timer B0
Timer B2
039516 039416
Timer B1
Timer B3
035116 035016
Timer B5
Timer B4
035316 035216
Timer B3
Timer B5
035516 035416
Timer B4
Note: TB1IN does not connect to outside. Thus, do not select the function using this pin.
Figure 1.13.15. Timer B-related registers (1)
相关PDF资料
PDF描述
M306N5FCFP 16-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP100
M306N5FCVFP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
M306N5FCVGP 16-BIT, FLASH, 20 MHz, MICROCONTROLLER, PQFP100
M306N5MCT-XXXGP 16-BIT, MROM, 20 MHz, MICROCONTROLLER, PQFP100
M306V0ME-XXXFP 16-BIT, MROM, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
M306N5FCVFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306N5FCVGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306N5MCT-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306N5MCT-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU
M306N5MCV-XXXFP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:Renesas MCU