aversive_10-03-12/projects/firefly_example1/main.c File Reference

#include <aversive.h>
#include <aversive/pgmspace.h>
#include <aversive/error.h>
#include <aversive/errno.h>
#include <aversive/wait.h>
#include <avr/interrupt.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <uart.h>
#include <spi.h>
#include <cc2420.h>
#include <cc2420_arch.h>
#include <time_ext.h>
#include "firefly2_2.h"

Go to the source code of this file.

Functions

 ISR (__vector_default)
void mylog (struct error *e,...)
void init_ports (void)
int main (void)

Variables

uint8_t i


Function Documentation

void init_ports ( void   ) 

Definition at line 118 of file main.c.

References BUTTON_DDR, BUTTON_PIN, cbi, LED_BLUE, LED_DDR, LED_GREEN, LED_ORANGE, and LED_RED.

Referenced by main().

ISR ( __vector_default   ) 

Definition at line 52 of file main.c.

References EFAULT, EMERG, LED_BLUE, LED_CLR, LED_GREEN, LED_ORANGE, LED_RED, LED_SET, and TRUE.

int main ( void   ) 

void mylog ( struct error e,
  ... 
)


Variable Documentation

uint8_t i


Generated on Fri Mar 12 06:32:07 2010 for AVR by  doxygen 1.5.6