参数资料
型号: M34250E2-XXXFP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, OTPROM, 4.4 MHz, MICROCONTROLLER, PDSO20
封装: PLASTIC, SOP-20
文件页数: 19/61页
文件大小: 654K
代理商: M34250E2-XXXFP
23
MITSUBISHI MICROCOMPUTERS
4250 Group
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
(5) Timer output pin (G1/TOUT)
Timer output pin (G1/TOUT) has the function to output the timer
1 underflow signal divided by 2. The selection of G1/TOUT pin
function can be controlled with the bit 3 of register V1.
(6) Timer interrupt request flag (T1F)
Timer interrupt request flag is set to “1” when the timer
underflows. The state of this flag can be examined with the
skip instruction (SNZ1).
Use the register V1 to select an interrupt or a skip instruction.
T1F flag is cleared to “0” when an interrupt occurs or when the
next instruction is skipped with a skip instruction.
(1) Control registers related to timer
Timer control register V1
G1/TOUT pin function selection bit and prescaler/timer 1
operation start bit are assigned to register V1. Set the
contents of this register through register A with the TV1A
instruction. The TAV1 instruction can be used to transfer
the contents of register V1 to register A.
Key-on wakeup control register K0
Prescaler dividing ratio selection bit is assigned to register
K0. Set the contents of this register through register A with
the TK0A instruction. The TAK0 instruction can be used to
transfer the contents of register K0 to register A.
(2) Precautions
Note the following for the use of timers.
Prescaler
Stop the prescaler operation to change its frequency dividing
ratio.
Reading the count value
Stop timer 1 counting and then execute the TAB1 instruction
to read its data.
(3) Prescaler
Prescaler is a frequency divider. Its frequency dividing ratio
can be selected. The count source of prescaler is the
instruction clock.
Use the bit 3 of register K0 to select the prescaler dividing
ratio and the bit 2 of register V1 to start and stop its operation.
Prescaler is initialized, and the output signal (ORCLK) stops
when the bit 2 of register V1 is cleared to “0.”
(4) Timer 1 (interrupt function)
Timer 1 is an 8-bit binary down counter with the timer 1 reload
register (R1). Data can be set simultaneously in timer 1 and
the reload register (R1) with the T1AB instruction.
Timer 1 starts counting after the following process;
set data in timer 1, and
set the bit 2 of register V1 to “1.”
Once count is started, when timer 1 underflows (the next count
pulse is input after the contents of timer 1 becomes “0”), the
timer 1 interrupt request flag (T1F) is set to “1,” new data is
loaded from reload register R1, and count continues (auto-
reload function).
When a value set in reload register R1 is n, timer 1 divides the
count source signal by n + 1 (n = 0 to 255).
Data can be read from timer 1 to registers A and B with the
TAB1 instruction. When reading the data, stop the counter
and then execute the TAB1 instruction. Timer 1 underflow
signal divided by 2 can be output from G1/TOUT pin.
相关PDF资料
PDF描述
M34250M2-XXXFP 4-BIT, MROM, 4.4 MHz, MICROCONTROLLER, PDSO20
M34250M2-XXXFP 4-BIT, MROM, 4.4 MHz, MICROCONTROLLER, PDSO20
M34280M1-XXXFP 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO20
M34280M1-XXXGP 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO20
M34280E1GP 4-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDSO20
相关代理商/技术参数
参数描述
M34250M2 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34250M2-066FP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34250M2-086FP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34250M2-099FP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34250M2-116FP 制造商:MITSUBISHI 制造商全称:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER