Esempio n. 1
0
File: FAXC.C Progetto: hollylee/EZP
static void SetCommPara()
{
    InitCommBuf();
    SetNewCommInt();
    InitComPort();
    InitCommBuf();
}
Esempio n. 2
0
/****************************************************************************
* 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;
}