pico]OS  1.1.0
Macros
port.h File Reference

port configuration file More...

Go to the source code of this file.

Macros

#define MVAR_t   char
 
#define MVAR_BITS   8 /* = (sizeof(MVAR_t) * 8) */
 
#define MPTR_t   long
 
#define POSCFG_ALIGNMENT   2
 
#define POSCFG_ISR_INTERRUPTABLE   0
 
#define POSCFG_POWER_WAKEUP   1
 
#define POSCFG_TASKSTACKTYPE   0
 
#define POSCFG_CALLINITARCH   1
 
#define POSCFG_PORTMUTEX   0
 
#define POSCFG_DYNAMIC_MEMORY   0
 
#define POSCFG_DYNAMIC_REFILL   0
 
#define POS_MEM_ALLOC(bytes)   nosMemAlloc(bytes)
 
#define POSCFG_LOCK_USEFLAGS   0
 
#define POSCFG_LOCK_FLAGSTYPE   register VAR_t
 
#define POS_SCHED_LOCK   asm { PUSHF; CLI }
 
#define POS_SCHED_UNLOCK   asm POPF
 
#define POS_IRQ_DISABLE_ALL   POS_SCHED_LOCK
 
#define POS_IRQ_ENABLE_ALL   POS_SCHED_UNLOCK
 
#define POSCFG_FBIT_USE_LUTABLE   0
 
#define POSCFG_FBIT_BITSHIFT   1
 
#define NOSCFG_STACK_GROWS_UP   0
 
#define NOSCFG_DEFAULT_STACKSIZE   2048
 
#define NOSCFG_CONOUT_HANDSHAKE   0
 
#define NOSCFG_CONOUT_FIFOSIZE   256
 
#define POS_USERTASKDATA   void *stackptr;
 

Detailed Description

port configuration file

Author
Dennis Kuschel

This file is originally from the pico]OS realtime operating system (http://picoos.sourceforge.net).

Macro Definition Documentation

§ POS_USERTASKDATA

#define POS_USERTASKDATA   void *stackptr;

Add user defined data elements to the global task structure. Please see detailed description of POSTASK_t.

See also
POSTASK_t