NetBurner 3.5.6
PDF Version
serial_config.h
1/*NB_REVISION*/
2
3/*NB_COPYRIGHT*/
4
5#ifndef SB800EX_SERIAL_CONFIG
6#define SB800EX_SERIAL_CONFIG
7
8// Serial level shifter configuration options
9#define SERIAL_XCVR_LOOPBACK 0
10#define SERIAL_XCVR_RS232 2
11#define SERIAL_XCVR_RS485HALF 1
12#define SERIAL_XCVR_RS485FULL 3
13
14int32_t SetSerialMode(uint32_t uartNum, uint8_t mode);
15int32_t GetSerialMode(uint32_t uartNum);
16void Set485TxEnable(uint32_t uartNumber, bool enable);
17
18#endif