serialport.types

Definitions of using types

Members

Aliases

SPHandle
alias SPHandle = int

Posix handle is int

SPHandle
alias SPHandle = HANDLE

Windows is HANDLE

closeHandle
alias closeHandle = posixClose
Undocumented in source.
closeHandle
alias closeHandle = CloseHandle
Undocumented in source.
posixClose
alias posixClose = core.sys.posix.unistd.close
Undocumented in source.
posixRead
alias posixRead = core.sys.posix.unistd.read
Undocumented in source.
posixWrite
alias posixWrite = core.sys.posix.unistd.write
Undocumented in source.

Enums

DataBits
enum DataBits
Parity
enum Parity
StopBits
enum StopBits

Functions

GetCommState
bool GetCommState(HANDLE hFile, DCB* lpDCB)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
SetCommState
bool SetCommState(HANDLE hFile, DCB* lpDCB)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.
SetCommTimeouts
bool SetCommTimeouts(HANDLE hFile, COMMTIMEOUTS* lpCommTimeouts)
Undocumented in source but is binding to Windows. You might be able to learn more by searching the web for its name.

Manifest constants

EVENPARITY
enum EVENPARITY;
Undocumented in source.
MARKPARITY
enum MARKPARITY;
Undocumented in source.
NOPARITY
enum NOPARITY;
Undocumented in source.
ODDPARITY
enum ODDPARITY;
Undocumented in source.
ONE5STOPBITS
enum ONE5STOPBITS;
Undocumented in source.
ONESTOPBIT
enum ONESTOPBIT;
Undocumented in source.
SPACEPARITY
enum SPACEPARITY;
Undocumented in source.
TWOSTOPBITS
enum TWOSTOPBITS;
Undocumented in source.
initHandle
enum initHandle;
Undocumented in source.
initHandle
enum initHandle;
Undocumented in source.

Static variables

modeSplitChar
string modeSplitChar;
unixBaudList
auto unixBaudList;
Undocumented in source.
unixBaudList
auto unixBaudList;
Undocumented in source.

Structs

COMMTIMEOUTS
struct COMMTIMEOUTS
Undocumented in source.
DCB
struct DCB
Undocumented in source.

Meta