Go to the documentation of this file. 99 #define POSCFG_ALIGNMENT 2 109 #define POSCFG_ISR_INTERRUPTABLE 0 118 #define POSCFG_POWER_WAKEUP 1 144 #define POSCFG_TASKSTACKTYPE 0 151 #define POSCFG_CALLINITARCH 1 160 #define POSCFG_PORTMUTEX 0 168 #define POSCFG_DYNAMIC_MEMORY 0 181 #define POSCFG_DYNAMIC_REFILL 0 190 #define POS_MEM_ALLOC(bytes) nosMemAlloc(bytes) 247 #define POSCFG_LOCK_USEFLAGS 0 257 #define POSCFG_LOCK_FLAGSTYPE register VAR_t 267 #define POS_SCHED_LOCK asm volatile("pushf\n" "cli\n"::) 269 #define POS_SCHED_LOCK asm { PUSHF; CLI } 277 #define POS_SCHED_UNLOCK asm volatile("popf\n"::) 279 #define POS_SCHED_UNLOCK asm POPF 296 #define POS_IRQ_DISABLE_ALL POS_SCHED_LOCK 302 #define POS_IRQ_ENABLE_ALL POS_SCHED_UNLOCK 344 #define POSCFG_FBIT_USE_LUTABLE 0 351 #define POSCFG_FBIT_BITSHIFT 1 373 #define NOSCFG_STACK_GROWS_UP 0 379 #define NOSCFG_DEFAULT_STACKSIZE 2048 384 #define NOSCFG_CONOUT_HANDSHAKE 0 393 #define NOSCFG_CONOUT_FIFOSIZE 256 409 #define POS_USERTASKDATA void *stackptr; 415 #if POSCFG_TASKSTACKTYPE == 0 417 #define POS_USERTASKDATA \ 420 #elif POSCFG_TASKSTACKTYPE == 1 422 #define POS_USERTASKDATA \ 426 #elif POSCFG_TASKSTACKTYPE == 2 428 #define FIXED_STACK_SIZE 0x0600 429 #define POS_USERTASKDATA \ 431 unsigned short stack[FIXED_STACK_SIZE];