Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ADUC831BCP Datasheet(PDF) 42 Page - Analog Devices

Part # ADUC831BCP
Description  MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
PDF  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AD [Analog Devices]
Direct Link  http://www.analog.com
Logo AD - Analog Devices

ADUC831BCP Datasheet(HTML) 42 Page - Analog Devices

Back Button ADUC831BCP Datasheet HTML 38Page - Analog Devices ADUC831BCP Datasheet HTML 39Page - Analog Devices ADUC831BCP Datasheet HTML 40Page - Analog Devices ADUC831BCP Datasheet HTML 41Page - Analog Devices ADUC831BCP Datasheet HTML 42Page - Analog Devices ADUC831BCP Datasheet HTML 43Page - Analog Devices ADUC831BCP Datasheet HTML 44Page - Analog Devices ADUC831BCP Datasheet HTML 45Page - Analog Devices ADUC831BCP Datasheet HTML 46Page - Analog Devices Next Button
Zoom Inzoom in Zoom Outzoom out
 42 / 76 page
background image
REV. 0
–42–
ADuC831
Table XIII. DPCON SFR Bit Designations
Bit
Name
Description
7
----
Reserved for Future Use.
6
DPT
Data Pointer Automatic Toggle Enable.
Cleared by 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.
5DP1m1
Shadow Data Pointer Mode.
4DP1m0
These two bits enable extra modes of the shadow data pointer operation, allowing for more compact
and more efficient code size and execution.
m1
m0
Behavior of the Shadow Data Pointer
00
8052 Behavior
01
DPTR is post-incremented after a MOVX or a MOVC instruction.
10
DPTR is post-decremented after a MOVX or MOVC instruction.
11
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.)
3DP0m1
Main Data Pointer Mode.
2DP0m0
These two bits enable extra modes of the main data pointer operation, allowing for more compact and
more efficient code size and execution.
m1
m0
Behavior of the Main Data Pointer
00
8052 Behavior
01
DPTR is post-incremented after a MOVX or a MOVC instruction.
10
DPTR is post-decremented after a MOVX or MOVC instruction.
11
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.)
1This bit is not implemented to allow the INC DPCON instruction toggle the data pointer without
incrementing the rest of the SFR.
0
DPSEL
Data Pointer Select.
Cleared by user to select the main data pointer. This means that the contents of this 24-bit register
is placed into the three SFRs DPL, DPH, and DPP.
Set by the user to select the shadow data pointer. This means that the contents of a separate 24-bit
register appears in the three SFRs DPL, DPH, and DPP.
DUAL DATA POINTER
The ADuC831 incorporates two data pointers. The second data
pointer is a shadow data pointer and is selected via the data
pointer control SFR (DPCON). DPCON also includes some
nice features such as automatic hardware post-increment and
post-decrement as well as automatic data pointer toggle.
DPCON is described in Table XIII.
DPCON
Data Pointer Control SFR
SFR Address
A7H
Power-On Default Value
00H
Bit Addressable
No
Note 1: This is the only place where the main and shadow data
pointers are distinguished. Everywhere else in this data sheet
wherever the DPTR is mentioned, operation on the active
DPTR is implied.
Note 2: Only MOVC/MOVX @DPTR instructions are relevant
above. MOVC/MOVX PC/@Ri instructions will not cause the
DPTR to automatically post increment/decrement, and so on.
To illustrate the operation of DPCON, the following code will
copy 256 bytes of code memory at address D000H into XRAM
starting from address 0000H.
The following code uses 16 bytes and 2054 cycles. To perform
this on a standard 8051 requires approximately 33 bytes and
7172 cycles (depending on how it is implemented).
MOV
DPTR,#0
; Main DPTR = 0
MOV
DPCON,#55H
; Select shadow DPTR
; DPTR1 increment mode,
; DPTR0 increment mode
; DPTR auto toggling ON
MOV
DPTR,#0D000H
; Shadow DPTR = D000H
MOVELOOP:
CLR
A
MOVC A,@A+DPTR
; Get data
; Post Inc DPTR
; Swap to Main DPTR (Data)
MOVX @DPTR,A
; Put ACC in XRAM
; Increment main DPTR
; Swap Shadow DPTR (Code)
MOV
A, DPL
JNZ
MOVELOOP



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com