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

X  

AN413 数据表(PDF) 4 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) 4 Page - STMicroelectronics

  AN413 Datasheet HTML 1Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 4 / 45 page
background image
System reset
AN413
4/45
Doc ID 1875 Rev 2
2
System reset
After processor Reset the control and status registers, located on the group F pages (0-63)
are forced to preset values which define a default Reset configuration for the ST9 system.
By way of example the internal clock frequency (INTCLK) is set to the internal crystal
oscillator (or externally applied clock frequency, if supplied) divided by two without
prescaling, and the individual pins of Parallel Ports 0,1, and 6 are set to bidirectional Pull-up
mode (for systems with on-chip ROM). On releasing the external RESET signal the
processor PC is loaded with the contents of the Reset Vector stored in address locations 0
and 1. This causes a jump to a Reset routine in which the designer may reconfigure the ST9
system as appropriate to the requirements of his particular application, by loading suitable
values into the system registers.
The number of registers to be initialized may be considerable for a representative ST9
system. Additionally, the application-specific interrupt routines will, in general, involve the
manipulation of substantial system resources, e.g. read/write of data registers, and
test/reset of status, mask, and control registers. The associated programming task may
appear daunting in prospect on first acquaintance with the ST9 system.
Conceptually, the organization of the associated software is relatively simple and
straightforward as may be recognized by grouping under four headings the programming
steps involved in the initialization of ST9 peripherals and the organization of interrupt service
routines.
a) ST9 core system configuration
Certain core system resources are common to all on-chip peripherals and may be
specified in a common routine which is invoked at System Reset. Such common
resources include clock configuration, system and user stack specification, global
interrupt masking, processor priority setting, parallel port bit-by-bit specification, and
setting of external memory wait-cycles. The setting up of the interrupt vector table, and
certain global masking or enabling operations, may also be included under this
heading.
b) Individual on-chip peripheral configuration
The configuration of on-chip peripherals, e.g. Multifunction Timers, A/D Converters,
etc., involves the loading of suitable bit-patterns into group F page registers. This
enables the specification of input and output signals, determination of the peripheral’s
mode of operation, and the selection of internal or external clock and control signals.
c) Individual on-chip peripheral initialization
The initialization of a particular on-chip peripheral may involve the setting or clearing of
device-specific enable and masking bits, specification of interrupt priority levels,
clearing of status/flag values, and the loading of data and/or limit registers.
d) Organization of interrupt service routines
This will normally include context-saving and restoring of the PC and system status,
plus the working-register and page-pointer registers, together with the values of any
working registers used in the routine. The routine proper may include testing of status
flag bits, and the reading and writing of data registers associated with the particular



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