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

X  

AN3307 数据表(PDF) 21 Page - STMicroelectronics

部件名 AN3307
功能描述  Guidelines for obtaining IEC 60335 Class B certification for any STM32 application
PDF  37 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3307 数据表(HTML) 21 Page - STMicroelectronics

Back Button AN3307 Datasheet HTML 17Page - STMicroelectronics AN3307 Datasheet HTML 18Page - STMicroelectronics AN3307 Datasheet HTML 19Page - STMicroelectronics AN3307 Datasheet HTML 20Page - STMicroelectronics AN3307 Datasheet HTML 21Page - STMicroelectronics AN3307 Datasheet HTML 22Page - STMicroelectronics AN3307 Datasheet HTML 23Page - STMicroelectronics AN3307 Datasheet HTML 24Page - STMicroelectronics AN3307 Datasheet HTML 25Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 21 / 37 page
background image
AN3307
Class B solution structure
Doc ID 18186 Rev 4
21/37
5
Class B solution structure
5.1
Integrating the software into the user application
Class B routines are divided into two main processes: startup and periodic runtime self
tests. The periodic runtime test must be initialized by a set-up block before it is applied. All
the processes are covered by adequate caller-called controls checked at a number of flow
check points. All class B variables are kept redundantly in duplicate control registers stored
in user-defined Class B variable space. This space is split into two separate RAM regions
which are under permanent control of a transparent test which is part of the runtime tests.
Figure 5 shows the basic principle of how to integrate the Class B software package into a
user software solution. The reset vector should be forced by the user to jump to the
STL_StartUp() procedure which contains all the system self tests to be performed at
startup. If all these tests pass sucessfully then the standard startup procedure
__iar_program_start() for IAR or Reset_Handler() for the KEIL solution is performed.
Figure 5.
Integration of startup and periodic runtime self-tests into the application
While the application is running, periodic tests are performed at certain intervals. To run
them, users must execute an initialization block by calling STL_InitRunTimeChecks()
routine in the initialization phase and then insert a periodic call to
STL_DoRunTimeChecks() at the main level, preferably in the main loop. Periodic system
interrupts are configured by initializing the SysTick clock frequency and themain time base
measurement in the initial routine. The RTC is also reset and synchronized to allow
RESET
Start up self-test
(STL _StartUp ())
Application startup
Periodic runtime self-test init
(STL_InitRunTimeChecks())
Main loop
Task 1
Task 2
Task 3
Timebase ISR
ISR 1
ISR 2
Fail Safe routine
(FailSafePOR())
MS18592V2
Periodic runtime self-test
(STL_DoRunTimeChecks())
(SysTick_Handler())



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


数据表 下载

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