Subversion Repositories HomeAutomation

Rev

Rev 142 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 142 Rev 149
Line 1... Line 1...
1
/**
1
/**
2
 * Configuration file for the UART software module.
2
 * Configuration file for the Serial Communication software module.
3
 */
3
 */
4
 
4
 
5
#ifndef UART_CFG_H_
5
#ifndef SERIAL_CFG_H_
6
#define UART_CFG_H_
6
#define SERIAL_CFG_H_
-
 
7
 
7
 
8
 
8
/*-----------------------------------------------------------------------------
9
/*-----------------------------------------------------------------------------
9
 * Defines
10
 * Defines
10
 *---------------------------------------------------------------------------*/
11
 *---------------------------------------------------------------------------*/
11
 
12
 
12
/** UART baudrate */
13
/** Baudrate */
13
#define BAUD 115200
14
#define SERIAL_BAUDRATE         115200
-
 
15
 
14
/** Size of the circular receive buffer, must be power of 2 */
16
/** Size of the circular receive buffer, must be power of 2 */
15
#define UART_RX_BUFFER_SIZE 8
17
#define SERIAL_RX_BUFFER_SIZE   2
-
 
18
 
16
/** Size of the circular transmit buffer, must be power of 2 */
19
/** Size of the circular transmit buffer, must be power of 2 */
17
#define UART_TX_BUFFER_SIZE 64
20
#define SERIAL_TX_BUFFER_SIZE   64
-
 
21
 
18
 
22
 
19
#endif /*UART_CFG_H_*/
23
#endif /*SERIAL_CFG_H_*/