数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST52T400 数据表(PDF) 22 Page - STMicroelectronics

部件名 ST52T400
功能描述  8-BIT INTELLIGENT CONTROLLER UNIT ICU Timer/PWM, Analog Comparator, Triac/PWM Timer, WDG
PDF  94 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST52T400 数据表(HTML) 22 Page - STMicroelectronics

Back Button ST52T400 Datasheet HTML 18Page - STMicroelectronics ST52T400 Datasheet HTML 19Page - STMicroelectronics ST52T400 Datasheet HTML 20Page - STMicroelectronics ST52T400 Datasheet HTML 21Page - STMicroelectronics ST52T400 Datasheet HTML 22Page - STMicroelectronics ST52T400 Datasheet HTML 23Page - STMicroelectronics ST52T400 Datasheet HTML 24Page - STMicroelectronics ST52T400 Datasheet HTML 25Page - STMicroelectronics ST52T400 Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 94 page
background image
ST52T400/T440/E440/T441
22/94
2.2.1 Ram and Stack.
RAM consists of 128 (G0/G1/F0/F1 types) or 256
(G2/G3/F2/F3 types) general purpose 8-bit regis-
ters.
All the registers in RAM can be specified by using
a decimal address, e.g. 0 identifies the first regis-
ter of RAM.
To read or write in the RAM registers, the LOAD
instructions must be used (see Table 2.5).
When the instructions like Interrupt request or
CALL are executed, a STACK is used to push the
PC. The STACK is push directly in the RAM. For
each level of stack 2 bytes of RAM are used. The
values of this stack are stored from the last RAM
register (address 255). The maximum level of
stack must be less than 128. When a subroutine
call or interrupt request occurs, the contents of
each level is shifted into the next level while the
content of the PC is shifted into the first level.
When a subroutine or interrupt return occurs (RET
or RETI instructions), the first level register is
shifted back into the PC and the value of each
level is popped back into the previous level. These
operating modes are illustrated in Figure 2.5.
2.2.2 Input Registers Bench.
The Input Registers (IR) bench consists of 20 8-bit
registers containing data deriving from the periph-
erals and parallel ports.
All the registers can be specified by using a deci-
mal address, e.g. 0 identifies the first register of
the IR.
The assembler instruction:
LDRI reg,inp_teg loads
the value in the
inp IR to the register (RAM loca-
tion) identified by the address reg.
The first input register is dedicated to store the
value of the stack pointer. The next 12 registers of
the IR are dedicated to the 6 (for ST52X440G/
441G) or the 4 converted values (for ST52X440F/
441F) in case of converted values coming from
the Analog Comparator (in ST52x400 devices
these registers are not used). Each of these val-
ues are stored on two bytes because of the reso-
lution of the A/D conversion process. The last 7
registers contain data from the I/O ports and
PWM/Timers.
Table
2.1
summarizes
the
IR
address and the relative peripheral. In order to
simplify
the
concept
a
mnemonic
name
is
assigned to the registers. The same name is used
in VISUAL FIVE development tools.
Figure 2.5 Stack Operation
PROGRAM COUNTER
RAM
REG 0
REG 1
REG 2
REG 3
REG 4
REG 5
REG 255
REG 254
REG 253
REG 252
STACK LEVEL 1
STACK LEVEL 2
..........................
STACK LEVEL n
WHEN CALL OR
INTERRUPT REQ.
WHEN RETI OR RET
OCCURS
OCCURS
Stack
Pointer



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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