Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed CANBuffer Watchdog MODSERIAL mbed-rtos xbeeRelay IAP
Fork of SystemManagement by
Constants.h
00001 #ifndef CONSTANTS_H 00002 #define CONSTATNS_H 00003 00004 #define NUM_STORED_PROFILES 3 00005 #define CAN_DEVICE_TIMEOUT 0.2 00006 #define SERIAL_BAUD 230400 // Serial port baud rate 00007 #define CHAR_TIME 0.00005 // Time to send 1 char @ above baud 00008 #define TX_SIZE 1000 // Serial buffer TX size 00009 #define RX_SIZE 60 // Serial buffer RX size 00010 #define CAN_TX_SIZE 128 00011 #define CAN_RX_SIZE 64 00012 00013 #define XBEE_BAUD 250000 // 250k baud serial for xbees 00014 #define XBEE_TX_SIZE 1000 // Serial buffer TX size for xbees 00015 #define XBEE_RX_SIZE 100 // Serial buffer RX size for xbees 00016 00017 #define START_DELAY 10 // Startup delay for latch monitor circuits 00018 #define FAST_LOOP 0.01 // Period (seconds) for fast loop (sampling, filters) 00019 #define GATHER_LOOP 0.1 // Period (seconds) for main data processing loop 00020 #define WDT_TIME 0.5 // Normal, running mode WDT timeout 00021 #define CAN_LOOP 0.1 // Output period for CAN transmissions 00022 00023 #endif
Generated on Fri Jul 15 2022 06:07:18 by
1.7.2
