System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Constants.h
- Committer:
- pspatel321
- Date:
- 2015-01-06
- Revision:
- 33:6bc82b6b62e5
- Child:
- 36:0afc0fc8f86b
File content as of revision 33:6bc82b6b62e5:
#ifndef CONSTANTS_H #define CONSTATNS_H #define BAUD 460800 // Serial port baud rate #define CHAR_TIME 0.00002 // Time to send 1 char @ above baud #define TX_SIZE 1000 // Serial buffer TX size #define RX_SIZE 100 // Serial buffer RX size #define XBEE_BAUD 250000 // 250k baud serial for xbees #define XBEE_TX_SIZE 1000 // Serial buffer TX size for xbees #define XBEE_RX_SIZE 100 // Serial buffer RX size for xbees #define START_DELAY 10 // Startup delay for latch monitor circuits #define FAST_LOOP 0.01 // Period (seconds) for fast loop (sampling, filters) #define GATHER_LOOP 0.1 // Period (seconds) for main data processing loop #define WDT_TIME 0.1 // Normal, running mode WDT timeout #define CAN_LOOP 0.1 // Output period for CAN transmissions #endif