поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN3181 датащи(PDF) 12 Page - STMicroelectronics

номер детали AN3181
подробное описание детали  Guidelines for obtaining IEC 60335 Class B certification in an STM8 application
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3181 датащи(HTML) 12 Page - STMicroelectronics

Back Button AN3181 Datasheet HTML 8Page - STMicroelectronics AN3181 Datasheet HTML 9Page - STMicroelectronics AN3181 Datasheet HTML 10Page - STMicroelectronics AN3181 Datasheet HTML 11Page - STMicroelectronics AN3181 Datasheet HTML 12Page - STMicroelectronics AN3181 Datasheet HTML 13Page - STMicroelectronics AN3181 Datasheet HTML 14Page - STMicroelectronics AN3181 Datasheet HTML 15Page - STMicroelectronics AN3181 Datasheet HTML 16Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 12 / 31 page
background image
Class B software package
AN3181
12/31
Doc ID 17286 Rev 2
3.1.3
Class B flow control
A specific method is used to test and check program execution flow. Unique user defined
numbers are assigned for every software execution block. These unique numbers are stored
in two complementary counters. When a block is executed, a symmetrical four step change
of the counter pair content is done (add or subtract the label values). The first two steps
check if the block is correctly called from main flow level (processed just before calling and
just after return from the called procedure). The next two steps check if the block is correctly
completed (processed just after enter and just before return from the procedure). An
example is given in Figure 2 where a routine performing a component test is called in the
control flow sequence and the four step checking service is shown. This method decreases
CPU load as the check is done by counting one member of the complementary counter pair
only. As there is always the same number of call/return and entry/exit points, the value
stored in the counter pair must be always complementary after any block is processed.
Several flow check points are placed subsequently in the code flow. Counter integrity is
always checked here and any unexpected value results in calling the FailSafe() routine.
Figure 2.
Control flow four steps check routine
1.
For this example, the unique number for Component test 1 is “5” and for the procedure itself it is defined as
“7”. The counters are initialized to 0x0000 and 0xFFFF. The table in the upper right corner in Figure 2
shows how the counters are changed in four steps. Also shown is their complementary value after the last
step (return from procedure) is done.



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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