コード例 #1
0
ファイル: FAXC.C プロジェクト: hollylee/EZP
static void SetCommPara()
{
    InitCommBuf();
    SetNewCommInt();
    InitComPort();
    InitCommBuf();
}
コード例 #2
0
ファイル: rs485.c プロジェクト: HITliuyu/NES15_HEVC
/****************************************************************************
* 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;
}