nutinit.c File Reference

Go to the source code of this file.

Defines

#define NUTMEM_END   (uint16_t)(NUTMEM_START + (uint16_t)NUTMEM_SIZE - 1U)
 Last memory address without using external SRAM.
#define NUT_THREAD_IDLESTACK   128
#define AVR_SLEEP_CTRL_REG   MCUCR

Functions

void NutInit (void)
 Nut/OS Initialization.
void NutAppMain (void *arg)
uint8_t NutThreadSetSleepMode (uint8_t mode)
 Sets the sleep mode to enter in Idle thread.
void NutIdle (void *arg)
 AVR Idle thread.

Variables

uint8_t idle_sleep_mode = SLEEP_MODE_NONE

© 2000-2010 by contributors - visit http://www.ethernut.de/