FM

Dependencies:   SimpleDMA eeprom mbed-rtos mbed FreescaleIAP

Fork of CDMS_CODE by shubham c

Revision:
52:0bd68655c651
Parent:
37:c9a739750806
Child:
56:a88e16f6c18e
Child:
57:bf998cb2a104
diff -r da85d84768e2 -r 0bd68655c651 DefinitionsAndGlobals.h
--- a/DefinitionsAndGlobals.h	Tue Jan 12 15:08:29 2016 +0000
+++ b/DefinitionsAndGlobals.h	Thu Jan 14 06:16:42 2016 +0000
@@ -1,8 +1,8 @@
 // **************DEFINITIONS*********************
 // COM_RX
     #define RX_TIMEOUT_LIMIT 0.5
-    #define COM_RX_UART_TX USBTX
-    #define COM_RX_UART_RX USBRX
+    #define COM_RX_UART_TX PTE20
+    #define COM_RX_UART_RX PTE21
 
 // COMMON SPI
     #define SPI_MOSI PTE1
@@ -14,6 +14,7 @@
     
 // COM_TX
     #define COM_TX_CONFIG_LIMIT 3
+    #define COM_TX_TICKER_LIMIT 32
 
 // ADF INTERRUPUT
     #define ADF_IRQ PTA14
@@ -61,10 +62,15 @@
     #define PSC_START_VALUE 1
     
     // APID list
+    #define APID_COM 0
     #define APID_BAE 1
     #define APID_CDMS 2
     #define APID_SPEED 3
     
+    //SERVICE
+    #define SERVICE_OBOSC 0xB
+    #define SERVICE_OBSRS 0xF
+    
     // HIGH PRIORITY TC - priority list
     // not correct values here
     #define HPTC1 5