uartdrv_config.h

Go to the documentation of this file.
00001 /***************************************************************************/
00015 #ifndef __SILICON_LABS_UARTDRV_CONFIG_H__
00016 #define __SILICON_LABS_UARTDRV_CONFIG_H__
00017 
00018 /***************************************************************************/
00023 /***************************************************************************/
00028 
00029 #ifndef EMDRV_UARTDRV_MAX_CONCURRENT_RX_BUFS
00030 #define EMDRV_UARTDRV_MAX_CONCURRENT_RX_BUFS    6
00031 #endif
00032 
00034 #ifndef EMDRV_UARTDRV_MAX_CONCURRENT_TX_BUFS
00035 #define EMDRV_UARTDRV_MAX_CONCURRENT_TX_BUFS    6
00036 #endif
00037 
00039 #ifndef EMDRV_UARTDRV_HW_FLOW_CONTROL_ENABLE
00040 #define EMDRV_UARTDRV_HW_FLOW_CONTROL_ENABLE    1
00041 #endif
00042 
00044 #ifndef EMDRV_UARTDRV_MAX_DRIVER_INSTANCES
00045 #define EMDRV_UARTDRV_MAX_DRIVER_INSTANCES      4
00046 #endif
00047 
00049 #ifndef UARTDRV_FC_SW_XON
00050 #define UARTDRV_FC_SW_XON                       0x11
00051 #endif
00052 
00054 #ifndef UARTDRV_FC_SW_XOFF
00055 #define UARTDRV_FC_SW_XOFF                      0x13
00056 #endif
00057 
00061 #endif /* __SILICON_LABS_UARTDRV_CONFIG_H__ */