参数资料
型号: ADE7518ASTZF16
厂商: Analog Devices Inc
文件页数: 96/128页
文件大小: 0K
描述: IC ENERGY METER MCU 16K 64LQFP
产品变化通告: Product Discontinuance 27/Oct/2011
特色产品: ADE7518: Single-phase Energy-Measurement IC
标准包装: 160
输入阻抗: *
测量误差: *
电压 - 高输入/输出: *
电压 - 低输入/输出: *
电流 - 电源: *
电源电压: *
测量仪表类型: *
工作温度: *
安装类型: 表面贴装
封装/外壳: 64-LQFP
供应商设备封装: 64-LQFP(10x10)
包装: 托盘
产品目录页面: 797 (CN2011-ZH PDF)
ADE7518
Mode 2 (8-Bit Timer/Counter with Autoreload)
Mode 2 configures the timer register as an 8-bit counter (TL0)
with automatic reload, as shown in Figure 84. Overflow from TL0
not only sets TF0 but also reloads TL0 with the contents of TH0,
which is preset by software. The reload leaves TH0 unchanged.
f CORE
TIMER 2
Timer/Counter 2 Data Registers
Timer/Counter 2 also has two pairs of 8-bit data registers asso-
ciated with it: Timer 2 High Byte SFR (TH2, 0xCD), Timer 2
Low Byte SFR (TL2, 0xCC), Timer 2 Reload/Capture High Byte
SFR (RCAP2H, 0xCB), and Timer 2 Reload/Capture Low Byte
C/T0 = 0
TL0
(8 BITS)
TF0
INTERRUPT
SFR (RCAP2L, 0xCA). These are used as both timer data registers
and as timer capture/reload registers (see Table 99 to Table 102).
C/T0 = 1
Timer/Counter 2 Operating Modes
P0.6/T0
TR0
CONTROL
The following sections describe the operating modes for
Timer/Counter 2. The operating modes are selected by bits in
the Timer/Counter 2 Control SFR (T2CON, 0xC8), as shown in
GATE
INT0
RELOAD
TH0
(8 BITS)
Table 94 and Table 103.
Table 103. T2CON Operating Modes
Figure 84. Timer/Counter 0, Mode 2
Mode 3 (Two 8-Bit Timer/Counters)
Mode 3 has different effects on Timer 0 and Timer 1. Timer 1 in
Mode 3 simply holds its count. The effect is the same as setting
TR1 = 0. Timer 0 in Mode 3 establishes TL0 and TH0 as two
RCLK or TCLK
0
0
1
X
CAP2
0
1
X
X
TR2
1
1
1
0
Mode
16-bit autoreload
16-bit capture
Baud rate
Off
separate counters. This configuration is shown in Figure 85.
TL0 uses the Timer 0 control bits, C/T0, Gate0 (see Table 92),
TR0, TF0 (see Table 93), and INT0. TH0 is locked into a timer
function (counting machine cycles) and takes over the use of
TR1 and TF1 from Timer 1. Therefore, TH0 controls the Timer 1
interrupt. Mode 3 is provided for applications requiring an
extra 8-bit timer or counter.
When Timer 0 is in Mode 3, Timer 1 can be turned on and off
by switching it out of and into its own Mode 3, or it can be used
by the serial interface as a baud rate generator. In fact, Timer 1
can be used in any application not requiring an interrupt from
Timer 1 itself.
16-Bit Autoreload Mode
Autoreload mode has two options that are selected by Bit EXEN2
in Timer/Counter 2 Control SFR (T2CON, 0xC8). If EXEN2 = 0
when Timer 2 rolls over, it not only sets TF2 but also causes the
Timer 2 registers to be reloaded with the 16-bit value in both the
Timer 2 Reload/Capture High Byte SFR (RCAP2H, 0xCB) and
Timer 2 Reload/Capture Low Byte SFR (RCAP2L, 0xCA)
registers, which are preset by software. If EXEN2 = 1, Timer 2
performs the same events as when EXEN2 = 0 but adds a 1-to-0
transition at the external input T2EX, which triggers the 16-bit
reload and sets EXF2. Autoreload mode is shown in Figure 86.
16-Bit Capture Mode
f CORE
CORE
CLK/12
Capture mode has two options that are selected by Bit EXEN2
C/T0 = 0
TL0
(8 BITS)
TF0
INTERRUPT
in Timer/Counter 2 Control SFR (T2CON, 0xC8). If EXEN2 = 0,
Timer 2 is a 16-bit timer or counter that, upon overflowing, sets
P0.6/T0
C/T0 = 1
Bit TF2, the Timer 2 overflow bit, which can be used to generate
an interrupt. If EXEN2 = 1, Timer 2 performs the same events
GATE
INT 0
TR0
CONTROL
as when EXEN2 = 0 but adds a l-to-0 transition on external
input T2EX, which causes the current value in the Timer 2
registers, TL2 and TH2, to be captured into the RCAP2L and
RCAP2H registers, respectively. In addition, the transition at
T2EX causes Bit EXF2 in T2CON to be set, and EXF2, like TF2,
can generate an interrupt. Capture mode is shown in Figure 87.
f CORE /12
TH0
(8 BITS)
TF1
INTERRUPT
The baud rate generator mode is selected by RCLK = 1 and/or
TCLK = 1.
TR1
Figure 85. Timer/Counter 0, Mode 3
In either case, if Timer 2 is used to generate the baud rate, the TF2
interrupt flag does not occur. Therefore, Timer 2 interrupts do not
occur and do not have to be disabled. In this mode, the EXF2 flag
can, however, still cause interrupts that can be used as a third
external interrupt. Baud rate generation is described as part of the
UART serial port operation in the UART Serial Interface section.
Rev. 0 | Page 96 of 128
相关PDF资料
PDF描述
ADE7156ASTZF8 IC ENERGY METER 64-LQFP
ADE7156ASTZF16-RL IC ENERGY METER 64-LQFP
ADE7116ASTZF8-RL IC ENERGY METER 64-LQFP
ADE7116ASTZF8 IC ENERGY METER 64-LQFP
ADE5166ASTZF62-RL IC METER/8052/RTC/LCD DRV 64LQFP
相关代理商/技术参数
参数描述
ADE7518ASTZF16-RL 功能描述:IC ENERGY METER MCU 16K 64LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 能量测量 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:*
ADE7518ASTZF8 功能描述:IC ENERGY METER MCU 8K 64LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 能量测量 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:*
ADE7518ASTZF8-RL 功能描述:IC ENERGY METER MCU 8K 64LQFP RoHS:是 类别:集成电路 (IC) >> PMIC - 能量测量 系列:- 产品培训模块:Lead (SnPb) Finish for COTS Obsolescence Mitigation Program 标准包装:2,500 系列:*
ADE7566 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver
ADE7566ACPZF16 制造商:AD 制造商全称:Analog Devices 功能描述:Single-Phase Energy Measurement IC with 8052 MCU, RTC, and LCD Driver