SerialDeviceCodes.h File Reference

#include "ApparatusFramework/KernelServices/KeSeDecl.h"
#include "ApparatusFramework/DeviceServices/SerialPortIf.h"

Go to the source code of this file.

Namespaces

namespace  ApparatusFramework

Enumerations

enum  ApparatusFramework::SerialDeviceIoCtlCmdEnum {
  ApparatusFramework::SERIAL_DEVICE_SET_BAUDRATE, ApparatusFramework::SERIAL_DEVICE_SET_CHAR_SIZE, ApparatusFramework::SERIAL_DEVICE_SET_PARITY, ApparatusFramework::SERIAL_DEVICE_SET_STOP_BITS,
  ApparatusFramework::SERIAL_DEVICE_ENABLE_DUPLEX, ApparatusFramework::SERIAL_DEVICE_SET_COMPORT
}
enum  ApparatusFramework::SerialDeviceRetVal {
  ApparatusFramework::SERIAL_DEVICE_INVALID_PARAMETER = -512, ApparatusFramework::SERIAL_DEVICE_GET_COMM_STATE_FAILED = -513, ApparatusFramework::SERIAL_DEVICE_SET_COMM_STATE_FAILED = -514, ApparatusFramework::SERIAL_DEVICE_GET_COMM_TIMEOUTS_FAILED = -515,
  ApparatusFramework::SERIAL_DEVICE_SET_COMM_TIMEOUTS_FAILED = -516, ApparatusFramework::SERIAL_DEVICE_SET_COMM_MASK_FAILED = -517, ApparatusFramework::SERIAL_DEVICE_EMPTY_BUFFERS_FAILED = -518, ApparatusFramework::SERIAL_DEVICE_START_COMM_THREAD_FAILED = -519,
  ApparatusFramework::SERIAL_DEVICE_NO_COMM_DEVICE = -520, ApparatusFramework::SERIAL_DEVICE_RESTORE_COMM_STATE_FAILED = -521, ApparatusFramework::SERIAL_DEVICE_RESTORE_COMM_TIMEOUTS_FAILED = -522, ApparatusFramework::SERIAL_DEVICE_WAIT_COMM_EVENT_FAILED = -523,
  ApparatusFramework::SERIAL_DEVICE_READ_FILE_FAILED = -524, ApparatusFramework::SERIAL_DEVICE_TRANSFERRED_BYTES_INCORRECT = -525, ApparatusFramework::SERIAL_DEVICE_WRITE_FILE_FAILED = -526, ApparatusFramework::SERIAL_DEVICE_FATAL_ERROR = -527,
  ApparatusFramework::SERIAL_DEVICE_STILL_WRITING = -528, ApparatusFramework::SERIAL_DEVICE_INPUT_BUFFER_FULL = -529, ApparatusFramework::SERIAL_DEVICE_OUTPUT_BUFFER_FULL = -530, ApparatusFramework::SERIAL_DEVICE_INPUT_BUFFER_NOT_ENOUGH_DATA = -531,
  ApparatusFramework::SERIAL_DEVICE_SETUP_COMM_FAILED = -532
}

Variables

const uint16 ApparatusFramework::SERIAL_DEVICE_NR_OF_BAUDRATES = SP_NR_OF_BAUDRATES
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_110 = SPBR_110
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_300 = SPBR_300
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_600 = SPBR_600
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_1200 = SPBR_1200
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_2400 = SPBR_2400
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_4800 = SPBR_4800
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_9600 = SPBR_9600
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_14400 = SPBR_14400
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_19200 = SPBR_19200
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_38400 = SPBR_38400
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_56000 = SPBR_56000
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_57600 = SPBR_57600
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_115200 = SPBR_115200
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_128000 = SPBR_128000
const uint32 ApparatusFramework::SERIAL_DEVICE_BAUD_256000 = SPBR_256000
const uint16 ApparatusFramework::SERIAL_DEVICE_NR_OF_PARITY_TYPES = SP_NR_OF_PARITY_TYPES
const uint8 ApparatusFramework::SERIAL_DEVICE_NOPARITY = SP_NOPARITY
const uint8 ApparatusFramework::SERIAL_DEVICE_ODDPARITY = SP_ODDPARITY
const uint8 ApparatusFramework::SERIAL_DEVICE_EVENPARITY = SP_EVENPARITY
const uint8 ApparatusFramework::SERIAL_DEVICE_MARKPARITY = SP_MARKPARITY
const uint8 ApparatusFramework::SERIAL_DEVICE_SPACEPARITY = SP_SPACEPARITY
const uint16 ApparatusFramework::SERIAL_DEVICE_NR_OF_STOPBIT_TYPES = SP_NR_OF_STOPBIT_TYPES
const uint8 ApparatusFramework::SERIAL_DEVICE_ONESTOPBIT = SP_ONESTOPBIT
const uint8 ApparatusFramework::SERIAL_DEVICE_ONE5STOPBITS = SP_ONE5STOPBITS
const uint8 ApparatusFramework::SERIAL_DEVICE_TWOSTOPBITS = SP_TWOSTOPBITS
const uint32 ApparatusFramework::SERIAL_DEVICE_INFINITE = SP_INFINITE
const uint32 ApparatusFramework::SERIAL_DEVICE_HUNDRED = SP_HUNDRED
const uint32 ApparatusFramework::SERIAL_DEVICE_THOUSAND = SP_THOUSAND
const uint8 ApparatusFramework::SERIAL_DEVICE_WORD_LENGTH_7 = 7
const uint8 ApparatusFramework::SERIAL_DEVICE_WORD_LENGTH_8 = 8
© 2004-2010 bbv Software Services AG / Apparatus Services