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

Initialization
[ARM]

Collaboration diagram for Initialization:


Detailed Description

Starting Nut/OS.


Defines

#define NUT_THREAD_MAINSTACK   1024
#define NUT_THREAD_IDLESTACK   512
#define NUTMEM_END   (uptr_t)(NUTMEM_START + NUTMEM_SIZE - 1U)
 Last memory address.
#define HEAP_START   &__heap_start
#define HEAP_SIZE   ((uptr_t) (NUTMEM_END - 256 - (uptr_t) (&__heap_start)))

Functions

void NutAppMain (void *arg)
void NutIdle (void *arg)
 Idle thread.
void NutInit (void)
 Nut/OS Initialization.

Variables

void * __heap_start


Function Documentation

void NutIdle void *  arg  ) 
 

Idle thread.

Parameters:
arg Ignored by the idle thread.
This function runs in an endless loop as a lowest priority thread.

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.


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