hollyhock
Loading...
Searching...
No Matches
comm.h
Go to the documentation of this file.
1
5
6
#pragma once
7
8
#include <stdint.h>
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
20
enum
Comm_Status
{
21
COMM_OK
= 0x00,
22
COMM_NO_DATA
= 0x01,
23
COMM_BUSY
= 0x02,
24
COMM_NOT_READY
= 0x03,
25
COMM_ALREADY_OPEN
= 0x04,
26
COMM_NOT_OPEN
= 0x05,
27
COMM_EVENT
= 0x06,
28
COMM_READY
= 0x08,
29
COMM_ERROR
= 0x09,
30
COMM_CANCELLED
= 0x0a,
31
COMM_NOT_INITIALISED
= 0x0b,
32
COMM_INVALID_ARG
= 0x12,
33
COMM_WOULD_BLOCK
= 0x18
34
};
35
36
#ifdef __cplusplus
37
}
38
#endif
Comm_Status
Comm_Status
Status returned by the Comm, Serial and USB SDK entry points.
Definition
comm.h:20
COMM_EVENT
@ COMM_EVENT
Definition
comm.h:27
COMM_READY
@ COMM_READY
Definition
comm.h:28
COMM_ALREADY_OPEN
@ COMM_ALREADY_OPEN
Definition
comm.h:25
COMM_NO_DATA
@ COMM_NO_DATA
Definition
comm.h:22
COMM_NOT_OPEN
@ COMM_NOT_OPEN
Definition
comm.h:26
COMM_ERROR
@ COMM_ERROR
Definition
comm.h:29
COMM_NOT_READY
@ COMM_NOT_READY
Definition
comm.h:24
COMM_INVALID_ARG
@ COMM_INVALID_ARG
Definition
comm.h:32
COMM_CANCELLED
@ COMM_CANCELLED
Definition
comm.h:30
COMM_BUSY
@ COMM_BUSY
Definition
comm.h:23
COMM_OK
@ COMM_OK
Definition
comm.h:21
COMM_NOT_INITIALISED
@ COMM_NOT_INITIALISED
Definition
comm.h:31
COMM_WOULD_BLOCK
@ COMM_WOULD_BLOCK
Definition
comm.h:33
include
sdk
os
comm.h
Generated by
1.15.0