
8
◆
Standard Function Library
‧
The user program in the data collector can complete the tasks by
using standard C language function library. The function library is
enclosed in the developing environment (ARM Software Development
Toolkit). When the developing environment installation was completed,
you will find the include head file of standard C language function
library in the directory
\\ARM251\Include
. The following are the
available include head file list in standard C language function library:
<assert.h>
__assert ;
<ctype.h>
isalnum ; isalpha ; iscntrl ; isdigit ;isgraph ; islower ; ispr; ispunct ;
isspace ; isupper ; isxdigit ; tolower ;toupper ;
<locale.h>
setlocale; localeconv;
<math.h>
acos; asin;
atan; atan2;cos; sin; tan; cosh;
sinh; tanh;
exp; frexp;ldexp; log; log10; modf;
pow; sqrt; ceil; fabs;__d_abs; floor; fmod;
<setjmp.h
>
setjmp; longjmp;
<signal.h
>
signal; raise;
<stdio.h
>
sprintf; sscanf;
<stdlib.h
>
atof; atoi; long atol; strtod;long strtol;
strtoul; rand ; srand;
_ANSI_rand; _ANSI_srand; abort; atexit; exit; getenv; system; bsearch;
qsort; abs; long labs;
‧
If you need to use standar C language functions in the user program,
please import the correlated include head files, and import #include
<header file name> in the top of the file. See following sample:
#include <stdio.h>
‧
If follow the steps above, after running the Compile and Link, all the
correlated functions will be imported and used to generate as the
UserProg.bin file.
Содержание PT-10
Страница 4: ...3 Keyboard Wedge 99 System 101 Power 102 Other 102 ...
Страница 13: ...12 6 Development Flow Chart ...
Страница 53: ...52 Returns No returns Notes ...