Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 60 | jimmy | 1 | /** |
| 149 | jimmy | 2 | * Configuration file for the Serial Communication software module. |
| 60 | jimmy | 3 | */ |
| 4 | |||
| 149 | jimmy | 5 | #ifndef SERIAL_CFG_H_ |
| 6 | #define SERIAL_CFG_H_ |
||
| 60 | jimmy | 7 | |
| 149 | jimmy | 8 | |
| 60 | jimmy | 9 | /*----------------------------------------------------------------------------- |
| 10 | * Defines |
||
| 11 | *---------------------------------------------------------------------------*/ |
||
| 12 | |||
| 149 | jimmy | 13 | /** Baudrate */ |
| 522 | arune | 14 | #define SERIAL_BAUDRATE 9600 |
| 149 | jimmy | 15 | |
| 60 | jimmy | 16 | /** Size of the circular receive buffer, must be power of 2 */ |
| 149 | jimmy | 17 | #define SERIAL_RX_BUFFER_SIZE 2 |
| 18 | |||
| 60 | jimmy | 19 | /** Size of the circular transmit buffer, must be power of 2 */ |
| 149 | jimmy | 20 | #define SERIAL_TX_BUFFER_SIZE 64 |
| 60 | jimmy | 21 | |
| 149 | jimmy | 22 | |
| 23 | #endif /*SERIAL_CFG_H_*/ |