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

X  

AN413 数据表(PDF) 6 Page - STMicroelectronics

部件名 AN413
功能描述  Initialization of the ST9
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN413 数据表(HTML) 6 Page - STMicroelectronics

Back Button AN413 Datasheet HTML 2Page - STMicroelectronics AN413 Datasheet HTML 3Page - STMicroelectronics AN413 Datasheet HTML 4Page - STMicroelectronics AN413 Datasheet HTML 5Page - STMicroelectronics AN413 Datasheet HTML 6Page - STMicroelectronics AN413 Datasheet HTML 7Page - STMicroelectronics AN413 Datasheet HTML 8Page - STMicroelectronics AN413 Datasheet HTML 9Page - STMicroelectronics AN413 Datasheet HTML 10Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 6 / 45 page
background image
ST9 basic system configuration
AN413
6/45
Doc ID 1875 Rev 2
3
ST9 basic system configuration
Table 3 and Table 3 in Appendix A list the registers which should be loaded with specified
bit-patterns in order to initialize the ST9 to a basic system configuration. A demonstration
routine which carries this out for a representative ST9 system is listed in Appendix B. The
main routine, RESET_START, is invoked at system Reset. Also shown in Appendix B are
the Assembler Declarations and directives which enable the Interrupt Vector Address Table
to be set up in program memory.
3.1
The vector address table
The ST9 implements an interrupt vectoring structure that allows the on-chip peripheral to
identify the location of the first instruction of the Interrupt Service Routine (ISR). Each
interrupt module has a specific Interrupt Vector Register (IVR) mapped on the register file
pages. When the interrupt request is acknowledged, the peripheral interrupt module
provides, via the IVR, the vector to point to the address of the Interrupt Service Routine in
the Vector Table.
The Interrupt Vector table containing the list of addresses of the Interrupt Service Routine
must be located in the first 256 locations of program memory. The first 6 locations of
Program memory are reserved as follows:
Note that since the above locations are fixed by the hardware no associated IVR register is
involved. For certain interrupt modules more than one interrupt routine may be required. For
example the A/D Converter has separate interrupts for the End of Conversion and Channel
6/7 analog underflow/overflow conditions.
In such cases the IVR register specifies the more significant, and the interrupt module
hardware specifies the least significant bits of the Vector Table address.
The following Assembler outline shows how the corresponding Vector table entries may be
established.
ADC_IT_VECT:= 30h
.
.org ADC_IT_VECT
.word ADC_WDG
Table 1.
Reserved locations of program memory
Address
Content
0
Address high of Power on Reset routine
1
Address low of Power on Reset routine
2
Address high of Divide by Zero Trap Subroutine
3
Address low of Divide by Zero Trap Subroutine
4
Address high of Top Level ISR
5
Address low of Top Level ISR



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


数据表 下载

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