SZS ez430-RF2480 1.0

ZigBee Sensor Network with synchronized time and time-stamped measurements.
main.c File Reference

Program main file. More...

#include <msp430.h>
#include <ti/mcu/msp430/Grace.h>
#include <xdc/std.h>
#include "clock.h"
#include "spi.h"
#include "cc2480ai.h"
#include "nwk.h"
#include "adc.h"
#include "uart.h"
#include "led.h"
#include "but.h"
#include "rep.h"
#include "im.h"
+ Include dependency graph for main.c:

Go to the source code of this file.

Macros

#define MAIN_TASK_SCH_SPI   main_taskSchedule[0]
 
#define MAIN_TASK_SCH_CCAI   main_taskSchedule[1]
 
#define MAIN_TASK_SCH_NWK   main_taskSchedule[2]
 
#define MAIN_TASK_SCH_ADC   main_taskSchedule[3]
 
#define MAIN_TASK_SCH_UART   main_taskSchedule[4]
 
#define MAIN_TASK_SCH_LED   main_taskSchedule[5]
 
#define MAIN_TASK_SCH_BUT   main_taskSchedule[6]
 
#define MAIN_TASK_SCH_REP   main_taskSchedule[7]
 
#define MAIN_TASK_SCH_WDT   main_taskSchedule[8]
 
#define MAIN_TASK_COUNT   9
 
#define MAIN_FLAG_WDT_BIT   1
 

Functions

void main ()
 Main function of the program. More...
 
UInt8 TMRB0_ISR ()
 Tiner B0 ISR. More...
 

Variables

UInt16 main_taskSchedule [MAIN_TASK_COUNT]
 Task schedule for each task.
 

Detailed Description

Program main file.

C code file main.

Definition in file main.c.