ioexpander.c File Reference

Go to the source code of this file.

Defines

#define KEY1   (1<<0)
#define KEY2   (1<<1)
#define KEY3   (1<<2)
#define KEY4   (1<<3)

Functions

void Thread1 (void *arg)
void Thread2 (void *arg)
int main (void)


Define Documentation

#define KEY1   (1<<0)

Definition at line 59 of file ioexpander.c.

#define KEY2   (1<<1)

Definition at line 60 of file ioexpander.c.

#define KEY3   (1<<2)

Definition at line 61 of file ioexpander.c.

#define KEY4   (1<<3)

Definition at line 62 of file ioexpander.c.


Function Documentation

void Thread1 ( void *  arg  ) 

Examples:
ioexpander/ioexpander.c, and threads/threads.c.

Definition at line 65 of file ioexpander.c.

References IOXP_PORT1, NutRegisterLed(), NutSetLed(), NutSleep(), NutThreadSetPriority(), and printf.

Referenced by main().

void Thread2 ( void *  arg  ) 

int main ( void   ) 


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/