#include <sys/thread.h>#include <sys/heap.h>#include <cfg/memory.h>#include <cfg/os.h>#include <cfg/arch/avr.h>#include <cfg/arch.h>#include <dev/board.h>
Go to the source code of this file.
Defines | |
| #define | NUTMEM_END (uint16_t)(NUTXMEM_START + (uint16_t)NUTXMEM_SIZE - 1U) |
| Last memory address using external SRAM. | |
| #define | NUT_THREAD_MAINSTACK 1024 |
| #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 | nutmem_onchip [NUTMEM_RESERVED] |
| Number of bytes reserved in on-chip memory. | |
| uint8_t | idle_sleep_mode = SLEEP_MODE_NONE |