参数资料
型号: M34283G2GP
元件分类: 微控制器/微处理器
英文描述: 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO20
封装: 4.40 X 6.50 MM, 0.65 MM PITCH, PLASTIC, LSSOP-20
文件页数: 8/41页
文件大小: 441K
代理商: M34283G2GP
Rev.1.01
Mar 20, 2006
page 14 of 62
REJ03B0109-0101
4283 Group
(3) Timer 1
Timer 1 is an 8-bit binary down counter with the timer 1 reload
register (R1).
When timer is stopped, data can be set simultaneously in timer
1 and the reload register (R1) with the T1AB instruction.
When timer is operating, data can be set to only reload register
R1 with the T1AB instruction.
When setting the next count data to reload register R1 at
operating, set data before timer 1 underflows.
Timer 1 starts counting after the following process;
set data in timer 1,
select the count source with the bit 1 of register V1, and
set the bit 0 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 underflow 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).
When the bit 2 of register V1 is set to “1,” the carrier wave
output enable/disable interval of port CARR is alternately
generated each timer 1 underflows (Figure 15).
Data can be read from timer 1 to registers A and B. When
reading the data, stop the counter and then execute the TAB1
instruction.
(4) Timer 2
Timer 2 is an 8-bit binary down counter with the timer 2 reload
registers (R2H and R2L).
Data can be set simultaneously in timer 2 and the reload
register (R2L) with the T2AB instruction.
The contents of reload register (R2L) set with the T2AB
instruction can be set again to timer 2 with the T2R2L
instruction. Data can be set to reload register (R2H) with the
T2HAB instruction.
Timer 2 starts counting after the following process;
set data in timer 2,
select the count source with the bit 1 of register V2, and
select the valid/invalid of the carrier wave generation
function by bit 2 of register V1 (when this function is valid,
select the valid/invalid of the carrier wave “H” interval
expansion by bit 3), and
set the bit 0 of register V1 to “1.”
When the carrier wave generation function is invalid (V22=“0”),
the following operation is performed;
Once count is started, when timer 2 underflows (the next count
pulse is input after the contents of timer 2 becomes “0”), the
timer 2 underflow flag (T2F) is set to “1,” new data is loaded
from reload register R2L, and count continues (auto-reload
function).
When a value set in reload register R2L is n, timer 2 divides
the count source signal by n + 1 (n = 0 to 255).
When the carrier wave generation function is valid (V22=“1”),
the carrier wave which has the “L” interval set to the reload
register R2L and “H” interval set to the reload register R2H
can be output (Figure 16).
After the count of the “L” interval of carrier wave is started,
timer 2 underflows and the timer 2 underflow flag (T2F) is set
to “1”. Then, the “H” interval data of carrier wave is reloaded
from the reload register R2H, and count continues.
When timer underflows again after auto-reload, the T2F flag
is set to “1”. And then, the “L” interval data of carrier wave is
reloaded from the reload register R2L, and count continues.
After that, each timer underflows, data is reloaded from reload
register R2H and R2L alternately.
When a value set in reload register R2H is n, “H” interval of
carrier wave is as follows;
When to expand “H” interval is invalid (V23 = “0”),
Count source (n+1), n = 0 to 255
When to expand “H” interval is valid (V23 = “1”),
Count source (n+1.5), n = 1 to 255
When a value set in reload register R2L is m, “L” interval of
carrier wave is as follows;
Count source (m+1), m = 0 to 255
Data can be read from timer 2 to registers A and B. When
reading the data, stop the counter and then execute the TAB2
instruction.
(5) Timer underflow flags (T1F, T2F)
Timer 1 underflow flag or timer 2 underflow flag is set to “1”
when the timer 1 or timer 2 underflows. The state of flags T1F
and T2F can be examined with the skip instruction (SNZT1,
SNZT2).
Flags T1F and T2F are cleared to “0” when the next instruction
is skipped with a skip instruction.
相关PDF资料
PDF描述
M34283G2-XXXGP 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PDSO20
M34502E4FP 4-BIT, OTPROM, MICROCONTROLLER, PDSO24
M34502M4-XXXFP 4-BIT, MROM, MICROCONTROLLER, PDSO24
M34502M2-XXXFP 4-BIT, MROM, MICROCONTROLLER, PDSO24
M34508G4GP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
相关代理商/技术参数
参数描述
M34283G2GP#U1 制造商:Renesas Electronics Corporation 功能描述:MICROCONTROLLER
M34283G2-XXXGP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34286 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34286G2GP 制造商:RENESAS 制造商全称:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34286G2GP#U0 功能描述:MCU 1.8/3.6V 2KB ROM 20-LSSOP RoHS:是 类别:集成电路 (IC) >> 嵌入式 - 微控制器, 系列:720/4500 标准包装:38 系列:Encore!® XP® 核心处理器:eZ8 芯体尺寸:8-位 速度:5MHz 连通性:IrDA,UART/USART 外围设备:欠压检测/复位,LED,POR,PWM,WDT 输入/输出数:16 程序存储器容量:4KB(4K x 8) 程序存储器类型:闪存 EEPROM 大小:- RAM 容量:1K x 8 电压 - 电源 (Vcc/Vdd):2.7 V ~ 3.6 V 数据转换器:- 振荡器型:内部 工作温度:-40°C ~ 105°C 封装/外壳:20-SOIC(0.295",7.50mm 宽) 包装:管件 其它名称:269-4116Z8F0413SH005EG-ND