FLANGE_SER_RXD_INFO_EX
This structure is used to receive the transmitted serial data value when using Flange Serial (extended version). Compared to FLANGE_SER_RXD_INFO, this version additionally includes a target port number field.
BYTE# |
Field Name |
Data Type |
Value |
Remarks |
|---|---|---|---|---|
0 |
|
|
RX Data length |
|
2 |
|
|
256bytes data value |
|
258 |
|
|
0~N |
Target port number (e.g., 0: X1, 1: X2) |
Total size: 259 bytes
Defined in: DRFS.h
typedef struct _FLANGE_SER_RXD_INFO_EX
{
/* size of serial data */
short _iSize; // max 256 bytes
/* raw serial data */
unsigned char _cRxd[256];
/* target port # */
unsigned char _portNum;
} FLANGE_SER_RXD_INFO_EX, *LPFLANGE_SER_RXD_INFO_EX;