Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

ST20-SWC Datasheet(PDF) 16 Page - STMicroelectronics

No. de pieza ST20-SWC
Descripción Electrónicos  ST20 software development and debugging tools
PDF  21 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  STMICROELECTRONICS [STMicroelectronics]
Página de inicio  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

ST20-SWC Datasheet(HTML) 16 Page - STMicroelectronics

Back Button ST20-SWC Datasheet HTML 12Page - STMicroelectronics ST20-SWC Datasheet HTML 13Page - STMicroelectronics ST20-SWC Datasheet HTML 14Page - STMicroelectronics ST20-SWC Datasheet HTML 15Page - STMicroelectronics ST20-SWC Datasheet HTML 16Page - STMicroelectronics ST20-SWC Datasheet HTML 17Page - STMicroelectronics ST20-SWC Datasheet HTML 18Page - STMicroelectronics ST20-SWC Datasheet HTML 19Page - STMicroelectronics ST20-SWC Datasheet HTML 20Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 16 / 21 page
background image
ST20–SWC
16/21
|/*
|
* compute factorial
|*
|*/
|
|int factorial(int n)
96
|{
|
if (n>0)
74
|
return(n* factorial(n–1));
|
else
22
|
return (1);
|
|}
|
|int main()
1|{
|
Channel *in, *out;
|
int going = TRUE;
|
|
in = get_param(1);
|
out = get_param(2);
|
|
while (going)
27
|
{
|
int n, tag;
|
|
tag = read_chan (in, &n);
|
switch (tag)
|{
|
case DATA: {
22
|
send_data (out, factorial(n));
|
break;
|}
|
case NEXT: {
/* start a new sequence */
4
|
send_next (out);
|
break;
|}
|
case END: {
/* terminate */
1
|
going = FALSE;
|
send_end (out);
|}
|}
|}
|}
|}
|
######################
# Summary of results #
######################
Source file
: facs.c
Number of runs
: 1
Processors
: All
>From linked unit : facs.lku
Top 10 Blocks!!
Line 25 – 96 times
Line 27 – 74 times
Line 42 – 27 times
Line 29 – 22 times
Line 49 – 22 times
Line 53 – 4 times
Line 34 – 1 time
Line 57 – 1 time
Total number of basic blocks 8
Basic blocks not executed
0
Coverage 100%



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
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