FreeRDP
comm_sercx2_sys.c File Reference
#include <winpr/assert.h>
#include <winpr/wlog.h>
#include "comm_serial_sys.h"
#include "comm_sercx_sys.h"
#include "comm_sercx2_sys.h"

Functions

static BOOL set_serial_chars (WINPR_COMM *pComm, const SERIAL_CHARS *pSerialChars)
 
static BOOL get_serial_chars (WINPR_COMM *pComm, SERIAL_CHARS *pSerialChars)
 
static BOOL set_wait_mask (WINPR_COMM *pComm, const ULONG *pWaitMask)
 
static BOOL purge (WINPR_COMM *pComm, const ULONG *pPurgeMask)
 
const SERIAL_DRIVERSerCx2Sys_s (void)
 

Variables

static const ULONG SERCX2_SYS_SUPPORTED_EV_MASK
 
static SERIAL_DRIVER SerCx2Sys
 

Function Documentation

◆ get_serial_chars()

static BOOL get_serial_chars ( WINPR_COMM *  pComm,
SERIAL_CHARS pSerialChars 
)
static

◆ purge()

static BOOL purge ( WINPR_COMM *  pComm,
const ULONG *  pPurgeMask 
)
static
Here is the call graph for this function:

◆ SerCx2Sys_s()

const SERIAL_DRIVER* SerCx2Sys_s ( void  )

WinPR: Windows Portable Runtime Serial Communication API

Copyright 2014 Hewlett-Packard Development Company, L.P.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set_serial_chars()

static BOOL set_serial_chars ( WINPR_COMM *  pComm,
const SERIAL_CHARS pSerialChars 
)
static

WinPR: Windows Portable Runtime Serial Communication API

Copyright 2011 O.S. Systems Software Ltda. Copyright 2011 Eduardo Fiss Beloni belon.nosp@m.i@os.nosp@m.syste.nosp@m.ms.c.nosp@m.om.br Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2014 Hewlett-Packard Development Company, L.P.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

◆ set_wait_mask()

static BOOL set_wait_mask ( WINPR_COMM *  pComm,
const ULONG *  pWaitMask 
)
static
Here is the call graph for this function:

Variable Documentation

◆ SERCX2_SYS_SUPPORTED_EV_MASK

const ULONG SERCX2_SYS_SUPPORTED_EV_MASK
static
Initial value:
=
#define SERIAL_EV_TXEMPTY
Definition: libwinpr/comm/comm.h:86
#define SERIAL_EV_RING
Definition: libwinpr/comm/comm.h:92
#define SERIAL_EV_RX80FULL
Definition: libwinpr/comm/comm.h:94
#define SERIAL_EV_BREAK
Definition: libwinpr/comm/comm.h:90
#define SERIAL_EV_RXCHAR
Definition: libwinpr/comm/comm.h:84
#define SERIAL_EV_DSR
Definition: libwinpr/comm/comm.h:88
#define SERIAL_EV_RXFLAG
Definition: libwinpr/comm/comm.h:85
#define SERIAL_EV_RLSD
Definition: libwinpr/comm/comm.h:89
#define SERIAL_EV_ERR
Definition: libwinpr/comm/comm.h:91
#define SERIAL_EV_CTS
Definition: libwinpr/comm/comm.h:87

◆ SerCx2Sys

SERIAL_DRIVER SerCx2Sys
static