System Management code
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Diff: Constants.h
- Revision:
- 33:6bc82b6b62e5
- Child:
- 36:0afc0fc8f86b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Constants.h Tue Jan 06 20:45:26 2015 +0000 @@ -0,0 +1,19 @@ +#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 \ No newline at end of file