| 전자부품 데이터시트 검색엔진 |
|
AT89LP6440 데이터시트(PDF) 28 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT89LP6440 데이터시트(HTML) 28 Page - ATMEL Corporation |
|
28 / 194 page ![]() 28 3706A–MICRO–9/09 AT89LP6440 - Preliminary 5.2.2.2 Index Disable The MOVC Index Disable bit, MVCD (DSPR.1), disables the indexed addressing mode of the MOVC A, @A+DPTR instruction. When MVCD = 1, the MOVC instruction functions as MOVC A, @DPTR with no indexing as shown in Table 5-7. MVCD can improve the efficiency of routines that must fetch multiple operands from program memory. DPRB can change the MOVC destination register from ACC to B, but has no effect on the MOVC index register. 5.2.2.3 Circular Buffers The CBE0 and CBE1 bits in DSPR can configure DPTR0 and DPTR1, respectively, to operate in circular buffer mode. The AT89LP6440 maps circular buffers into two identically sized regions of EDATA/XDATA. These buffers can speed up convolution computations such as FIR and IAR digital filters. The length of the buffers are set by the value of the FIRD (E3H) register for up to 256 entries. Buffer A is mapped from 0000H to FIRD and Buffer B is mapped from 0100H to 100H+FIRD as shown in Figure 5-6. Both data pointers may operate in either buffer. When cir- cular buffer mode is enabled, updates to a data pointer referencing the buffer region will follow circular addressing rules. If the data pointer is equal to FIRD or 100H+FIRD any increment will cause it to overflow to 0000H or 0100H respectively. If the data pointer is equal to 0000H or 0100H any decrement will cause it to underflow to FIRD or 100H+FIRD respectively. In this mode, updates can be either an explicit INC DPTR or an automatic update using DPUn where the DPDn bits control the direction. The data pointer will increment or decrement normally at any other addresses. Therefore, when circular addressing is in use, the data pointers can still oper- ate as regular pointers in the FIRD+1 to 00FFH and greater than 100H+FIRD ranges. Figure 5-6. Circular Buffer Mode Table 5-7. MOVC @DPTR Operating Modes MVCD DPRB Equivalent Operation for MOVC A, @A+DPTR DPS = 0 DPS = 1 DPTR /DPTR DPTR /DPTR 00 MOVC A, @A+DPTR0 MOVC A, @A+DPTR1 MOVC A, @A+DPTR1 MOVC A, @A+DPTR0 01 MOVC A, @A+DPTR0 MOVC B, @A+DPTR1 MOVC B, @A+DPTR1 MOVC A, @A+DPTR0 10 MOVC A, @DPTR0 MOVC A, @DPTR1 MOVC A, @DPTR1 MOVC A, @DPTR0 11 MOVC A, @DPTR0 MOVC B, @DPTR1 MOVC B, @DPTR1 MOVC A, @DPTR0 0000h DPTR 0100h FIRD 100h + FIRD DPTR A B |
|
링크 URL |
| ALLDATASHEET 가 귀하에 도움이 되셨나요? [ DONATE ] |
Alldatasheet는? | 광고문의 | 운영자에게 연락하기 | 개인정보취급방침 | 링크 투 데이터시트 | 링크교환 | 제조사별 검색 All Rights Reserved©Alldatasheet.com |
| 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 |