Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
117:e9facba9db27
Parent:
116:39a41ebb675c
Child:
119:ee6a53069455
diff -r 39a41ebb675c -r e9facba9db27 configs.cpp
--- a/configs.cpp	Thu Apr 23 20:24:09 2015 +0000
+++ b/configs.cpp	Thu Apr 23 21:53:28 2015 +0000
@@ -31,28 +31,15 @@
 
 ///< Configure LPC4088
 void config_lpc( void ){
-    // UART3_IRQ configuration
-    Uart3.attach(&SerialRecvInterrupt, Uart3.RxIrq);
-    
-    // UART3 mode configuration
-    Uart3.format(8,SerialBase::Forced1,1);
-    
+    Uart3.attach(&SerialRecvInterrupt, Uart3.RxIrq);       // UART3_IRQ configuration 
+    Uart3.format(8,SerialBase::Forced1,1);                 // UART3 mode configuration
     Uart3.baud(2000000);                                
-    
-    NVIC_SetPriority(UART3_IRQn,1);
-    
-    // USART to PC USB USART
-    pc.baud(115200);
-    
-    // Extern Pin Interrupt
-    NextData.rise(&get2);
-    
-    // FrameSync for RX - Interrupt
-    FrameSync.rise(&RXFrameSync);
-    
+    NVIC_SetPriority(UART3_IRQn,1);    
+    pc.baud(115200);                                        // USART to PC USB USART
+    NextData.rise(&get2);                                 // Extern Pin Interrupt
+    FrameSync.rise(&RXFrameSync);                         // FrameSync for RX - Interrupt
     __enable_irq();
-    
-    // iniciando o pin de controle do arduino
+    //ticker.attach(&timer,0.01);                         // Timer para Debug 
     hw_extern_wdt = 0;
 }