AppliBouton.c File Reference

Description : Application file for the manging of the buttons. More...

#include <ProgConfig.h>
#include <cc2420.h>

Include dependency graph for AppliBouton.c:

Go to the source code of this file.

Functions

 PT_THREAD (gestionBouton(struct pt *pt))

Variables

unsigned int BOUTON1 = 0
unsigned int BOUTON2 = 0
unsigned int BOUTON3 = 0
unsigned int BOUTON4 = 0


Detailed Description

Description : Application file for the manging of the buttons.

Author:
Jerome Astier
Version:
1.0
Date:
15/10/2008

Definition in file AppliBouton.c.


Function Documentation

PT_THREAD ( gestionBouton(struct pt *pt  ) 

ETAT_BOUTON1==0 -> Button1 pressed

ETAT_BOUTON1==1 -> Button1 released

ETAT_BOUTON2==0 -> Button2 pressed

ETAT_BOUTON2==1 -> Button2 released

ETAT_BOUTON3==0 -> Button3 pressed

ETAT_BOUTON3==1 -> Button3 released

ETAT_BOUTON23==0 -> Button4 pressed

ETAT_BOUTON3==1 -> Button4 released

Definition at line 18 of file AppliBouton.c.

References BOUTON1, BOUTON2, BOUTON3, BOUTON4, ETAT_BOUTON1, ETAT_BOUTON2, ETAT_BOUTON3, ETAT_BOUTON4, F_TimeOut, Flag_PT, flag_protothreads::gestionBouton, PT_BEGIN, PT_END, and PT_WAIT_UNTIL.


Variable Documentation

unsigned int BOUTON1 = 0

Definition at line 14 of file AppliBouton.c.

Referenced by PT_THREAD().

unsigned int BOUTON2 = 0

Definition at line 15 of file AppliBouton.c.

Referenced by PT_THREAD().

unsigned int BOUTON3 = 0

Definition at line 16 of file AppliBouton.c.

Referenced by PT_THREAD().

unsigned int BOUTON4 = 0

Definition at line 17 of file AppliBouton.c.

Referenced by PT_THREAD().


Generated on Wed Jun 3 12:05:35 2009 for PowWow v1.0 by  doxygen 1.5.6