|
mbgtools-lx
4.2.8
|
Data Structures | |
| struct | GEN_IO_INFO |
| The data structure used with the PCPS_GEN_IO_GET_INFO command. More... | |
Macros | |
| #define | _mbg_swab_gen_io_info_type(_p) _mbg_swab16( _p ) |
| #define | _mbg_swab_gen_io_info(_p) |
Typedefs | |
| typedef uint16_t | GEN_IO_INFO_TYPE |
Enumerations | |
| enum | PCPS_GEN_IO_TYPES { PCPS_GEN_IO_GET_INFO, PCPS_GEN_IO_CAL_REC_IRIG_RX_COMP, N_PCPS_GEN_IO_TYPE } |
| Data types used with GEN_IO_INFO::type. More... | |
The definitions below are used with the GENERIC_IO API.
This API is NOT supported by all devices, it depends on the type of the device, and the firmware version. The macro _pcps_has_generic_io() or the corresponding function mbg_dev_has_generic_io() should be used by applications to check whether a particular bus-level device supports this.
| #define _mbg_swab_gen_io_info | ( | _p | ) |
Definition at line 10371 of file gpsdefs.h.
Referenced by mbg_get_cal_rec_irig_rx_num_rec(), and mbg_get_gen_io_info().
| #define _mbg_swab_gen_io_info_type | ( | _p | ) | _mbg_swab16( _p ) |
Definition at line 10353 of file gpsdefs.h.
Referenced by mbg_get_gen_io_info().
| typedef uint16_t GEN_IO_INFO_TYPE |
| enum PCPS_GEN_IO_TYPES |
Data types used with GEN_IO_INFO::type.
The first type specifier, PCPS_GEN_IO_GET_INFO, can be used to find out which of the other data types are supported, and how many data sets of the specified type are supported by a device.
| Enumerator | |
|---|---|
| PCPS_GEN_IO_GET_INFO | GEN_IO_INFO (read only) |
| PCPS_GEN_IO_CAL_REC_IRIG_RX_COMP | CAL_REC_IRIG_RX_COMP (read/write) |
| N_PCPS_GEN_IO_TYPE | number of known types |