công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

ST10F280 bảng dữ liệu(PDF) 43 Page - STMicroelectronics

tên linh kiện ST10F280
Giải thích chi tiết về linh kiện  16-bit MCU with MAC unit, 512 Kbyte Flash memory and 18 Kbyte RAM
PDF  239 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST10F280 bảng dữ liệu(HTML) 43 Page - STMicroelectronics

Back Button ST10F280_12 Datasheet HTML 39Page - STMicroelectronics ST10F280_12 Datasheet HTML 40Page - STMicroelectronics ST10F280_12 Datasheet HTML 41Page - STMicroelectronics ST10F280_12 Datasheet HTML 42Page - STMicroelectronics ST10F280_12 Datasheet HTML 43Page - STMicroelectronics ST10F280_12 Datasheet HTML 44Page - STMicroelectronics ST10F280_12 Datasheet HTML 45Page - STMicroelectronics ST10F280_12 Datasheet HTML 46Page - STMicroelectronics ST10F280_12 Datasheet HTML 47Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 239 page
background image
ST10F280
Internal Flash memory
Doc ID 8673 Rev. 3
43/239
EXTS Rwn,#LENGTH
;the value of Rwn determines the 8-bit segment
;valid for the corresponding data access for any
;long or indirect address in the following(s)
;instruction(s). LENGTH defines the number of
;the effected instruction(s) and has to be a value
;between 1...4
MOV [Rwm],Rwo
;indirect addressing with segment number from
;EXTS
5.5.3
Programming examples
Most of the microcontroller programs are written in the C language where the data page
pointers are automatically set by the compiler. But because the C compiler may use the not
allowed direct addressing mode for Flash write addresses, it is necessary to program the
organizational Flash accesses (command sequences) with assembler in-line routines which
use indirect addressing.
Example 1: Performing the command Read/Reset
We assume that in the initialization phase the lowest 32K Bytes of Flash memory (sector 0)
have been mapped to segment 1.
According to the usual way of ST10 data addressing with data page pointers, address bit
A15 and A14 of a 16-bit command write address select the data page pointer (DPP) which
contains the upper 10-bit for building the 24-bit physical data address. Address bit A13...A0
represent the address offset. As the bit A14...A18 are "don’t care" when written a Flash
command in the Command Interface (CI), we can choose the most convenient DPPx
register for address handling.
The following examples are making usage of DPP0. We just have to make sure, that DPP0
points to active Flash memory space.
To be independent of mapping of sector 0 we choose for all DPPs which are used for Flash
address handling, to point to segment 2.
For this reason we load DPP0 with value 08h (00 0000 l000b).
MOV R5, #01554h
;load auxilary register R5 with command address
;(used in command cycle 1)
MOV R6, #02AA8h
;load auxilary register R6 with command address
;(used in command cycle 2)
SCXT DPPO, #08h
;push data page pointer 0 and load it to point to
;segment 2
MOV R7, #0A8h
;load register R7 with 1st CI enable command
MOV [R5], R7
;command cycle 1
MOV R7, #054h
;load register R7 with 2cd CI enable command
MOV [R6], R7
;command cycle 2
MOV R7, #0F0h
;load register R7 with Read/Reset command
MOV [R5], R7
;command cycle 3. Address is don’t care
POP DPP0
;restore DPP0 value
In the example above the 16-bit registers R5 and R6 are used as auxiliary registers for
indirect addressing.



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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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