MRPT  2.0.4
Namespaces | Macros | Typedefs
CInterfaceFTDI_WIN.cpp File Reference
#include "comms-precomp.h"
#include <iostream>
#include <windows.h>
#include <mrpt/comms/CInterfaceFTDI.h>
#include <mrpt/core/exceptions.h>
Include dependency graph for CInterfaceFTDI_WIN.cpp:

Go to the source code of this file.

Namespaces

 comms
 

Macros

#define FTD2XX_API   __declspec(dllimport)
 
#define FT_OPEN_BY_SERIAL_NUMBER   1
 
#define FT_OPEN_BY_DESCRIPTION   2
 
#define FT_LIST_NUMBER_ONLY   0x80000000
 
#define FT_LIST_BY_INDEX   0x40000000
 
#define FT_LIST_ALL   0x20000000
 
#define FT_LIST_MASK   (FT_LIST_NUMBER_ONLY | FT_LIST_BY_INDEX | FT_LIST_ALL)
 
#define FT_BAUD_300   300
 
#define FT_BAUD_600   600
 
#define FT_BAUD_1200   1200
 
#define FT_BAUD_2400   2400
 
#define FT_BAUD_4800   4800
 
#define FT_BAUD_9600   9600
 
#define FT_BAUD_14400   14400
 
#define FT_BAUD_19200   19200
 
#define FT_BAUD_38400   38400
 
#define FT_BAUD_57600   57600
 
#define FT_BAUD_115200   115200
 
#define FT_BAUD_230400   230400
 
#define FT_BAUD_460800   460800
 
#define FT_BAUD_921600   921600
 
#define FT_BITS_8   (unsigned char)8
 
#define FT_BITS_7   (unsigned char)7
 
#define FT_BITS_6   (unsigned char)6
 
#define FT_BITS_5   (unsigned char)5
 
#define FT_STOP_BITS_1   (unsigned char)0
 
#define FT_STOP_BITS_1_5   (unsigned char)1
 
#define FT_STOP_BITS_2   (unsigned char)2
 
#define FT_PARITY_NONE   (unsigned char)0
 
#define FT_PARITY_ODD   (unsigned char)1
 
#define FT_PARITY_EVEN   (unsigned char)2
 
#define FT_PARITY_MARK   (unsigned char)3
 
#define FT_PARITY_SPACE   (unsigned char)4
 
#define FT_FLOW_NONE   0x0000
 
#define FT_FLOW_RTS_CTS   0x0100
 
#define FT_FLOW_DTR_DSR   0x0200
 
#define FT_FLOW_XON_XOFF   0x0400
 
#define FT_PURGE_RX   1
 
#define FT_PURGE_TX   2
 
#define FT_EVENT_RXCHAR   1
 
#define FT_EVENT_MODEM_STATUS   2
 
#define FT_DEFAULT_RX_TIMEOUT   300
 
#define FT_DEFAULT_TX_TIMEOUT   300
 

Typedefs

using comms::FT_HANDLE = unsigned long
 
using comms::PFT_EVENT_HANDLER = void(*)(unsigned long, unsigned, long)
 

Macro Definition Documentation

◆ FT_BAUD_115200

#define FT_BAUD_115200   115200

Definition at line 73 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_1200

#define FT_BAUD_1200   1200

Definition at line 65 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_14400

#define FT_BAUD_14400   14400

Definition at line 69 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_19200

#define FT_BAUD_19200   19200

Definition at line 70 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_230400

#define FT_BAUD_230400   230400

Definition at line 74 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_2400

#define FT_BAUD_2400   2400

Definition at line 66 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_300

#define FT_BAUD_300   300

Definition at line 63 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_38400

#define FT_BAUD_38400   38400

Definition at line 71 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_460800

#define FT_BAUD_460800   460800

Definition at line 75 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_4800

#define FT_BAUD_4800   4800

Definition at line 67 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_57600

#define FT_BAUD_57600   57600

Definition at line 72 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_600

#define FT_BAUD_600   600

Definition at line 64 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_921600

#define FT_BAUD_921600   921600

Definition at line 76 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BAUD_9600

#define FT_BAUD_9600   9600

Definition at line 68 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BITS_5

#define FT_BITS_5   (unsigned char)5

Definition at line 85 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BITS_6

#define FT_BITS_6   (unsigned char)6

Definition at line 84 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BITS_7

#define FT_BITS_7   (unsigned char)7

Definition at line 83 of file CInterfaceFTDI_WIN.cpp.

◆ FT_BITS_8

#define FT_BITS_8   (unsigned char)8

Definition at line 82 of file CInterfaceFTDI_WIN.cpp.

◆ FT_DEFAULT_RX_TIMEOUT

#define FT_DEFAULT_RX_TIMEOUT   300

Definition at line 133 of file CInterfaceFTDI_WIN.cpp.

◆ FT_DEFAULT_TX_TIMEOUT

#define FT_DEFAULT_TX_TIMEOUT   300

Definition at line 134 of file CInterfaceFTDI_WIN.cpp.

◆ FT_EVENT_MODEM_STATUS

#define FT_EVENT_MODEM_STATUS   2

Definition at line 127 of file CInterfaceFTDI_WIN.cpp.

◆ FT_EVENT_RXCHAR

#define FT_EVENT_RXCHAR   1

Definition at line 126 of file CInterfaceFTDI_WIN.cpp.

◆ FT_FLOW_DTR_DSR

#define FT_FLOW_DTR_DSR   0x0200

Definition at line 111 of file CInterfaceFTDI_WIN.cpp.

◆ FT_FLOW_NONE

#define FT_FLOW_NONE   0x0000

Definition at line 109 of file CInterfaceFTDI_WIN.cpp.

◆ FT_FLOW_RTS_CTS

#define FT_FLOW_RTS_CTS   0x0100

Definition at line 110 of file CInterfaceFTDI_WIN.cpp.

◆ FT_FLOW_XON_XOFF

#define FT_FLOW_XON_XOFF   0x0400

Definition at line 112 of file CInterfaceFTDI_WIN.cpp.

◆ FT_LIST_ALL

#define FT_LIST_ALL   0x20000000

Definition at line 55 of file CInterfaceFTDI_WIN.cpp.

◆ FT_LIST_BY_INDEX

#define FT_LIST_BY_INDEX   0x40000000

Definition at line 54 of file CInterfaceFTDI_WIN.cpp.

◆ FT_LIST_MASK

#define FT_LIST_MASK   (FT_LIST_NUMBER_ONLY | FT_LIST_BY_INDEX | FT_LIST_ALL)

Definition at line 57 of file CInterfaceFTDI_WIN.cpp.

◆ FT_LIST_NUMBER_ONLY

#define FT_LIST_NUMBER_ONLY   0x80000000

Definition at line 53 of file CInterfaceFTDI_WIN.cpp.

◆ FT_OPEN_BY_DESCRIPTION

#define FT_OPEN_BY_DESCRIPTION   2

◆ FT_OPEN_BY_SERIAL_NUMBER

#define FT_OPEN_BY_SERIAL_NUMBER   1

◆ FT_PARITY_EVEN

#define FT_PARITY_EVEN   (unsigned char)2

Definition at line 101 of file CInterfaceFTDI_WIN.cpp.

◆ FT_PARITY_MARK

#define FT_PARITY_MARK   (unsigned char)3

Definition at line 102 of file CInterfaceFTDI_WIN.cpp.

◆ FT_PARITY_NONE

#define FT_PARITY_NONE   (unsigned char)0

Definition at line 99 of file CInterfaceFTDI_WIN.cpp.

◆ FT_PARITY_ODD

#define FT_PARITY_ODD   (unsigned char)1

Definition at line 100 of file CInterfaceFTDI_WIN.cpp.

◆ FT_PARITY_SPACE

#define FT_PARITY_SPACE   (unsigned char)4

Definition at line 103 of file CInterfaceFTDI_WIN.cpp.

◆ FT_PURGE_RX

#define FT_PURGE_RX   1

Definition at line 117 of file CInterfaceFTDI_WIN.cpp.

Referenced by mrpt::comms::CInterfaceFTDI::Purge().

◆ FT_PURGE_TX

#define FT_PURGE_TX   2

Definition at line 118 of file CInterfaceFTDI_WIN.cpp.

Referenced by mrpt::comms::CInterfaceFTDI::Purge().

◆ FT_STOP_BITS_1

#define FT_STOP_BITS_1   (unsigned char)0

Definition at line 91 of file CInterfaceFTDI_WIN.cpp.

◆ FT_STOP_BITS_1_5

#define FT_STOP_BITS_1_5   (unsigned char)1

Definition at line 92 of file CInterfaceFTDI_WIN.cpp.

◆ FT_STOP_BITS_2

#define FT_STOP_BITS_2   (unsigned char)2

Definition at line 93 of file CInterfaceFTDI_WIN.cpp.

◆ FTD2XX_API

#define FTD2XX_API   __declspec(dllimport)

Definition at line 37 of file CInterfaceFTDI_WIN.cpp.




Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020