Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

System Initialization
[Nut/OS APIThread Management]


Detailed Description

Nut/OS initialization.


Defines

#define PSEUDO_RAM_SIZE
 Nut/OS Initialization.


Functions

 NutIdle (void *arg)
 Idle thread.

void NutInit (void)
 Nut/OS Initialization.

void NutThreadInit (void)
NUTFILENUT_freopen (CONST char *name, CONST char *mode, NUTFILE *stream)
int main (int argc, char *argv[])
u_long NutVersion (void)
 Return Nut/OS version.

CONST char * NutVersionString (void)
 Return Nut/OS version string.


Variables

u_char PSEUDO_RAM [PSEUDO_RAM_SIZE]
NUTFILE__iob []


Define Documentation

#define PSEUDO_RAM_SIZE
 

Nut/OS Initialization.

Initializes the memory management and the thread system and starts an idle thread, which in turn initializes the timer management. Finally the application's main() function is called.


Function Documentation

NutIdle void *  arg  ) 
 

Idle thread.

After initializing the timers, the idle thread switches to priority 254 and enters an endless loop.

void NutInit void   ) 
 

Nut/OS Initialization.

Initializes the memory management and the thread system and starts an idle thread, which in turn initializes the timer management. Finally the application's main() function is called.

u_long NutVersion void   ) 
 

Return Nut/OS version.

Returns:
Version coded into an unsigned long. Most significant byte is the major version number, followed by the minor version number, again followed by the release number and finally the build number in the least significant byte.

CONST char* NutVersionString void   ) 
 

Return Nut/OS version string.

Returns:
Pointer to a printable string containing the version number. The string contains 4 numbers separated by dots. The first is the major version number, followed by the minor version number, again followed by the release number and finally followed by the build number. In non-official releases this may be optionally followed by a space and an additional release state.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/