MAIN.C File Reference

Description : Initialize hardware and software parameters Initialize and schedule the protothreads. More...

#include <in430.h>
#include <msp430.h>
#include <bite.h>
#include <timedef.h>
#include <ProgConfig.h>
#include <serial.h>
#include <param_flash.h>
#include <string.h>
#include <hal_wait.h>
#include <set_hardware.h>
#include <cc2420.h>
#include <fifo.h>
#include <ManagePT.h>
#include <NodeDef.h>
#include <reprogrammation.h>

Include dependency graph for MAIN.C:

Go to the source code of this file.

Functions

void init (void)
void init_table (void)
void init_table_voisinage (void)
void initWB (void)
void main (void)

Variables

flag_protothreads Flag_PT


Detailed Description

Description : Initialize hardware and software parameters Initialize and schedule the protothreads.

Definition in file MAIN.C.


Function Documentation

void init ( void   ) 

void init_table ( void   ) 

Definition at line 33 of file MAIN.C.

References t_node_info::coord, t_node_info::energie, t_node_info::id_capteur, t_node_info::id_noeud, Id_x, Id_y, t_node_info::info_noeud, initialiserFile(), IT_IS_A_BASE, NB_NOEUDS, Ptr_noeuds, Tab_noeuds, Tab_Prio_Noeuds, t_node_info::temperature, noeud::x, and noeud::y.

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

void init_table_voisinage ( void   ) 

Definition at line 69 of file MAIN.C.

References voisin::id_x, voisin::id_y, Ptr_voisinage, and Tab_voisinage.

Referenced by init().

Here is the caller graph for this function:

void initWB ( void   ) 

void main ( void   ) 


Variable Documentation

Definition at line 26 of file MAIN.C.


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