Subversion Repositories HomeAutomation

Rev

Rev 149 | Blame | Last modification | View Log | SVN | RSS feed

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