static void SetCommPara() { InitCommBuf(); SetNewCommInt(); InitComPort(); InitCommBuf(); }
/**************************************************************************** * DESCRIPTION: Initializes the RS485 hardware and variables, and starts in * receive mode. * RETURN: none * ALGORITHM: none * NOTES: none *****************************************************************************/ void RS485_Initialize( void) { /* baud rate */ OpenComPort(RS485_Port); /* FIXME: change to numeric parameters */ InitComPort("38400", '8', 'N', '1'); return; }