A SERVICE OF

logo

CAVR-4
viii
AVR® IAR C/C++ Compiler
Reference Guide
System startup and termination ......................................................64
System startup ....................................................................................65
System termination ............................................................................65
Customizing system initialization ...................................................66
__low_level_init ...............................................................................66
Modifying the file cstartup.s90 .........................................................67
Standard streams for input and output ........................................67
Implementing low-level character input and output ..........................67
Configuration symbols for printf and scanf .................................69
Customizing formatting capabilities ..................................................70
File input and output .............................................................................70
Locale ...........................................................................................................71
Locale support in prebuilt libraries ....................................................71
Customizing the locale support ..........................................................71
Changing locales at runtime ...............................................................72
Environment interaction .....................................................................73
Signal and raise ........................................................................................73
Time .............................................................................................................74
Strtod ...........................................................................................................74
Assert ...........................................................................................................75
Heaps ...........................................................................................................75
C-SPY Debugger runtime interface ..............................................76
Low-level debugger runtime interface ...............................................76
The debugger terminal I/O window ...................................................77
Checking module consistency ...........................................................77
Runtime model attributes ..................................................................77
Using runtime model attributes ..........................................................78
Predefined runtime attributes .............................................................79
User-defined runtime model attributes ..............................................80
Implementation of system startup code ......................................81
Modules and segment parts ................................................................81
Added C functionality ...........................................................................82
stdint.h ................................................................................................83
stdbool.h .............................................................................................83