ssp_router2/can_ssp_router_test_project/src/main.c

00001 #include <includes.h>
00002 
00003 void FIQ_Handler(void) __irq 
00004 {
00005   csr_ssp_isr();
00006 }
00007 
00008 void init(void)
00009 {
00010   setup_hardware(); 
00011   setup_software();
00012 }
00013 
00014 int main (void)
00015 {
00016   
00018  //Debugger switch setup. Execution stops here until switch is flipped.
00019    #ifdef DEBUG
00020     while (FIO0PIN & 1<<14)
00021     {
00022       FIO0CLR = 1<<24;   //Turn on MCU red LED
00023     }
00024   #endif
00025 
00026 
00027   init();
00028  
00029   while(1)
00030   {
00031     asched_run();
00032     route_frames(); 
00033   }
00034 }
00035 
Generated on Tue Jun 29 16:36:14 2010 by  doxygen 1.6.3