#ifndef SERIAL1_RX_BUFFER_SIZE | #ifndef SERIAL1_RX_BUFFER_SIZE | ||||
#define SERIAL1_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL1_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL1_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL1_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||
#ifndef SERIAL2_RX_BUFFER_SIZE | #ifndef SERIAL2_RX_BUFFER_SIZE | ||||
#define SERIAL2_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL2_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL2_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL2_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||
//////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////// |
#ifndef SERIAL3_RX_BUFFER_SIZE | #ifndef SERIAL3_RX_BUFFER_SIZE | ||||
#define SERIAL3_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL3_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL3_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL3_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||
#ifndef SERIAL4_RX_BUFFER_SIZE | #ifndef SERIAL4_RX_BUFFER_SIZE | ||||
#define SERIAL4_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL4_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL4_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL4_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||
#ifndef SERIAL5_RX_BUFFER_SIZE | #ifndef SERIAL5_RX_BUFFER_SIZE | ||||
#define SERIAL5_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL5_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL5_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL5_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||
#ifndef SERIAL6_RX_BUFFER_SIZE | #ifndef SERIAL6_RX_BUFFER_SIZE | ||||
#define SERIAL6_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL6_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL6_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL6_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||
#ifndef SERIAL6_RX_BUFFER_SIZE | #ifndef SERIAL6_RX_BUFFER_SIZE | ||||
#define SERIAL6_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | #define SERIAL6_RX_BUFFER_SIZE 64 // number of incoming bytes to buffer | ||||
#endif | #endif | ||||
#define RTS_HIGH_WATERMARK 40 // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK 26 // RTS allows sender to resume | |||||
#define RTS_HIGH_WATERMARK (SERIAL6_RX_BUFFER_SIZE-24) // RTS requests sender to pause | |||||
#define RTS_LOW_WATERMARK (SERIAL6_RX_BUFFER_SIZE-38) // RTS allows sender to resume | |||||
#define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | #define IRQ_PRIORITY 64 // 0 = highest priority, 255 = lowest | ||||