11.07.2015 Views

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

MSP430 IAR C/C++ Compiler reference guide - Rice University

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Library functions<strong>IAR</strong> DLIB LibraryThe <strong>IAR</strong> DLIB Library provides most of the important C and <strong>C++</strong> library definitionsthat apply to embedded systems. These are of the following types:●●●●●Adherence to a free-standing implementation of the ISO/ANSI standard for theprogramming language C. For additional information, see the chapterImplementation-defined behavior in this <strong>guide</strong>.Standard C library definitions, for user programs.Embedded <strong>C++</strong> library definitions, for user programs.CSTARTUP, the module containing the start-up code. It is described in the chapterThe DLIB runtime environment in this <strong>guide</strong>.Runtime support libraries; for example low-level floating-point routines.● Intrinsic functions, allowing low-level use of <strong>MSP430</strong> features. See the chapterIntrinsic functions for more information.In addition, the <strong>IAR</strong> DLIB Library includes some added C functionality, partly takenfrom the C99 standard, see Added C functionality, page 236.C HEADER FILESThis section lists the header files specific to the DLIB library C definitions. Header filesmay additionally contain target-specific definitions; these are documented in the chapter<strong>Compiler</strong> extensions.The following table lists the C header files:Header fileassert.hctype.herrno.hfloat.hinttypes.hiso646.hlimits.hlocale.hmath.hsetjmp.hsignal.hstdarg.hUsageEnforcing assertions when functions executeClassifying charactersTesting error codes reported by library functionsTesting floating-point type propertiesDefining formatters for all types defined in stdint.hUsing Amendment 1—iso646.h standard headerTesting integer type propertiesAdapting to different cultural conventionsComputing common mathematical functionsExecuting non-local goto statementsTable 40: Traditional standard C header files—DLIBControlling various exceptional conditionsAccessing a varying number of argumentsPart 2. <strong>Compiler</strong> <strong>reference</strong>233

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!