#include <nz_serDataPorts.h>
Data Fields | |
| union { | |
| struct { | |
| unsigned int type: 5 | |
| "Serial Data Port" Type, is a SERPORT_TYPE_xx define | |
| unsigned int fill5_7: 3 | |
| Reserved, might add to type if required. | |
| unsigned int typeInfo: 3 | |
| Additional info for "Serial Data Port" Type. | |
| unsigned int fill11_14: 4 | |
| Reserved. | |
| unsigned int bEnabled: 1 | |
| "Serial Data Port" Enabled. Must match SERPORT_STAT_ENABLED! | |
| } flagBits | |
| struct { | |
| BYTE LB | |
| Lower Byte, contains Buffer Type and Format. | |
| BYTE HB | |
| Upper Byte. | |
| } flagBytes | |
| WORD flagVal | |
| }; | |
| CIRBUF | cbufTx |
| TX Circular Buffer, use bufXxx functions. | |
| CIRBUF | cbufRx |
| RX Circular Buffer, use bufXxx functions. | |
| BYTE | fill |
| Reserved. | |
| BYTE | strId |
"Serial Data Port" structure, TX and RX "Circular Buffers" (CIRBUF structures).