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

XgNutInit


Functions

void NutMain (void *arg) __attribute__((noreturn))
 Main application routine.

int NutLoadConfig (void)
 Load Nut/OS configuration from the EEPROM.

int NutSaveConfig (void)
 Save Nut/OS configuration in the EEPROM.

int main (void)
 Boot loader entry.


Function Documentation

int main void   
 

Boot loader entry.

This boot loader is very special. It is completely self contained, which means that it runs without any library. This entry point must be linked first and will be located at byte address 0x1F000 in the program flash ROM.

Returns:
Never, but jumps at absolute address 0 when done.

int NutLoadConfig void   
 

Load Nut/OS configuration from the EEPROM.

This routine is automatically called during system initialization.

Returns:
0 if OK, -1 if configuration isn't available.

NutMain void *    arg
 

Main application routine.

Nut/OS automatically calls this entry after initialization.

int NutSaveConfig void   
 

Save Nut/OS configuration in the EEPROM.

Returns:
0 if OK, -1 on failures.


Generated on Thu Jan 30 22:30:59 2003 for EduNet by doxygen1.2.18