| 数据搜索系统,热门电子元器件搜索 |
|
ST52F510 数据表(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST52F510 数据表(HTML) 23 Page - STMicroelectronics |
|
23 / 106 page ![]() ST52F510/F513/F514 23/106 Flash and EEPROM are programmed electrically just applying the supply voltage (2.7 V to 5.5 V) and it is also erased electrically; this feature allows the user to easily reprogram the memory without taking the device off from the board (In Situ Programming ISP). Data and commands are transmitted through the I2C serial communication protocol. Data can also be written run-time with the In Application Programming (IAP) NVM can be locked by the user during the programming phase, in order to prevent external operation such as reading the program code and assuring protection of user intellectual property. Flash and EEPROM pages can be protected by unintentional writings. The operations that can be performed on the NVM during the Programming Phase, ISP and IAP are described in detail in the Section 4. Figure 3.3 System and User Stack 3.4 System and User Stacks The System and User Stacks are located in the Program/Data memory in the RAM benches. System Stacks are used to push the Program Counter (PC) after an Interrupt Request or a Subroutine Call. After a RET (Return from a subroutine) or a RETI (Return from an interrupt) the PC that is saved is popped from the stack and restored. After an interrupt request, the flags are also saved in a reserved stack inside the core, so each interrupt has its own flags. The System Stack is located in the last RAM bench starting from the last address (255) inside the bench page. The System Stack Pointer (SSP) can be read and modified by the user. For each level of stack 2 bytes of the RAM are used. The SSP points to the first currently available stack position. When a subroutine call or interrupt request occurs, the content of the PC is stored in a couple of locations pointed to by the SSP that is decreased by 2. 20FFh 2000h 2001h 20FEh REGISTER FILE CONFIGURATION REGISTERS USER STACK TOP MSB USER STACK TOP LSB PROGRAM COUNTER RAM BENCH SYSTEM STACK POINTER USER STACK POINTER USER DATA PAGE NUMBER LOCATION ADRESS IRQ RETI POP X PUSH X REGISTER X LSB MSB SYSTEM STACK SYSTEM STACK SYSTEM STACK SYSTEM STACK LEVEL 1 LEVEL 2 LEVEL 3 LEVEL 4 USER STACK LEVEL 1 USER STACK LEVEL 2 USER STACK LEVEL 3 USER STACK LEVEL 4 |
|
链接网址 |
| 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 |