versadac
1
versadac - Scalable Recorder Firmware
Main Page
Classes
Files
File List
File Members
core
common
sysSerial.h
1
/*******************************************************************************
2
FILE : sysSerial.h
3
SYSTEM : Diab compiler for Power PC using vxWorks
4
DESCRIPTION : Serial Comms interface routines
5
*******************************************************************************/
6
7
#ifndef __SYS_SERIAL_H
8
#define __SYS_SERIAL_H
9
10
void
sysSerialInit();
11
12
int
sysSerialSetup(
int
baudRate,
13
int
numStopBits,
14
int
parity,
15
int
numDataBits);
16
17
BOOL sysSerialRxPacketRecieved(
int
timeout);
18
void
sysSerialGetRxPacket(UINT16 * z_count,
char
* z_buf);
19
void
sysSerialSetTxPacket(UINT16 z_count,
char
* z_buf);
20
int
getSerialFD();
21
22
enum
ENUM_ModbusTimerMode
23
{
24
TX,
25
RX
26
};
27
28
#endif
/* __SYS_SERIAL_H */
Generated on Wed Aug 19 2020 10:33:38 for versadac by
1.8.9.1