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

X  

ST52X420 数据表(PDF) 17 Page - STMicroelectronics

部件名 ST52X420
功能描述  8-BIT INTELLIGENT CONTROLLER UNIT (ICU) Three Timer/PWMs, ADC, WDG
PDF  84 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST52X420 数据表(HTML) 17 Page - STMicroelectronics

Back Button ST52X420 Datasheet HTML 13Page - STMicroelectronics ST52X420 Datasheet HTML 14Page - STMicroelectronics ST52X420 Datasheet HTML 15Page - STMicroelectronics ST52X420 Datasheet HTML 16Page - STMicroelectronics ST52X420 Datasheet HTML 17Page - STMicroelectronics ST52X420 Datasheet HTML 18Page - STMicroelectronics ST52X420 Datasheet HTML 19Page - STMicroelectronics ST52X420 Datasheet HTML 20Page - STMicroelectronics ST52X420 Datasheet HTML 21Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 17 / 84 page
background image
ST52T410/ST52T420/E420
17/84
The ST52T410/ST52x420 core uses flags that
correspond to the actual mode. As soon as an
interrupt is generated the ST52T410/ST52x420
core uses the interrupt flags instead of the normal
flags.
Each interrupt level has its own set of flags, which
is saved in the STACK together with the Program
Counter. These flags are restored from the STACK
automatically when a RETI instruction is executed.
If the MCU was in normal mode before an interrupt,
the normal flags are restored when the RETI
instruction is executed.
Note: A CALL subroutine is a normal mode
execution. For this reason, a RET instruction,
consequent to a CALL instruction does not affect
the normal mode set of flags.
Flags are not cleared during context switching and
remain in the state they were at the end of the last
interrupt routine switching.
The Carry flag is set when an overflow occurs
during arithmetic operations, otherwise it
is
cleared.
The Sign flag is set when an underflow occurs
during
arithmetic operations,
otherwise
it
is
cleared.
2.3 Address Spaces
ST52T410/ST52x420 has four separate address
spaces:
Figure 2.3 Address Spaces Description
I RAM: 128 Bytes
I Input Registers: 18 8-bit registers
I Output Registers 9 8-bit registers
I Configuration Registers: 17 8-bit registers
I Program memory up to 4K Bytes
Program memory will be described in further
details in the MEMORY section
2.3.1 RAM and STACK.
RAM memory consists of 128 general purpose 8-
bit RAM registers.
All the registers in RAM can be specified by using
a decimal address. For example, 0 identifies the
first register of RAM.
To read or write RAM registers LOAD instructions
must be used. See Table 2.5
Each interrupt level has its own set of flags, which
is saved in the STACK together with the Program
Counter. These flags are restored from the STACK
automatically when a RETI instruction is executed.
When the instructions like Interrupt request or
CALL are executed, a STACK level is used to push
the PC.
The STACK is located in 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 127). The maximum level of stack
must be less than 128.



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


数据表 下载

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