ade7169f16 Analog Devices, Inc., ade7169f16 Datasheet - Page 132

no-image

ade7169f16

Manufacturer Part Number
ade7169f16
Description
Single-phase Energy Measurement Ic With 8052 Mcu, Rtc And Lcd Driver
Manufacturer
Analog Devices, Inc.
Datasheet
ADE7169F16
DUAL DATA POINTERS
The ADE7169F16 incorporates two data pointers. The second
data pointer is a shadow data pointer and is selected via the data
Table 132. Data Pointer Control SFR SFR (DPCON, 0xA7)
Bit
Location
7
6
5, 4
3, 2
1
0
Note the following:
Bit
Mnemonic
----
DPT
DP1m1,
DP1m0
DP0m1,
DP0m0
----
DPSEL
Default
Value
0
0
0
0
0
0
Description
Not Implemented. Write Don’t Care.
Data Pointer Automatic Toggle Enable.
Cleared by the user to disable auto swapping of the DPTR.
Set in user software to enable automatic toggling of the DPTR after each MOVX or MOVC
instruction.
Shadow Data Pointer Mode. These bits enable extra modes of the shadow data pointer
operation, allowing more compact and more efficient code size and execution.
DP1m1
0
0
1
1
Main Data Pointer Mode. These bits enable extra modes of the main data pointer operation,
allowing more compact and more efficient code size and execution.
DP0m1
0
0
1
1
Not Implemented. Write Don’t Care.
Data Pointer Select.
Cleared by the user to select the main data pointer. This means that the contents of this 16-
bit register are placed into the DPL, and DPH SFRs.
Set by the user to select the shadow data pointer. This means that the contents of a separate
16-bit register appear in the DPL, and DPH SFRs.
DP1m0
0
1
0
1
DP0m0
0
1
0
1
Rev. PrD | Page 132 of 140
8052 behavior.
DPTR is post-incremented after a MOVX or a MOVC instruction.
DPTR is post-decremented after a MOVX or MOVC instruction.
DPTR LSB is toggled after a MOVX or MOVC instruction. (This
instruction can be useful for moving 8-bit blocks to/from 16-bit
devices.)
8052 behavior.
DPTR is post-incremented after a MOVX or a MOVC instruction.
DPTR is post-decremented after a MOVX or MOVC instruction.
DPTR LSB is toggled after a MOVX or MOVC instruction. (This
instruction is useful for moving 8-bit blocks to/from 16-bit devices.)
Behavior of the Shadow Data Pointer
Behavior of the Main Data Pointer
pointer control SFR (DPCON). DPCON features automatic
hardware post-increment and post-decrement as well as an
automatic data pointer toggle.
The Dual Data Pointer section is the only place in which
main and shadow data pointers are distinguished.
Preliminary Technical Data

Related parts for ade7169f16