44 #if defined( _USE_PACK ) // set byte alignment 46 #define _USING_BYTE_ALIGNMENT 64 ulong icode_mask = 1
UL << icode_rx;
186 &hdr,
sizeof( hdr ), p,
sizeof( *p ) );
214 #if defined( MBG_ARCH_BIG_ENDIAN ) 221 p,
sizeof( *p ), NULL, 0 );
246 #if defined( _USING_BYTE_ALIGNMENT ) 247 #pragma pack() // set default alignment 248 #undef _USING_BYTE_ALIGNMENT uint16_t type
record type, see CAL_REC_TYPES
#define MSK_ICODE_RX_10000BPS
A mask of IRIG RX formats with 10 kbps data rate.
uint16_t idx
index if several records of same type are supported, see IRIG_RX_COMP_GROUPS
#define _mbg_swab_cal_rec_irig_rx_comp(_p)
static __mbg_inline int mbg_get_cal_rec_irig_rx_comp(MBG_DEV_HANDLE dh, uint16_t idx, CAL_REC_IRIG_RX_COMP *p)
Retrieve IRIG RX calibration record with specific index.
#define MSK_ICODE_RX_DC
A mask of IRIG RX DCLS formats.
The data structure used with the PCPS_GEN_IO_GET_INFO command.
static __mbg_inline int mbg_get_cal_rec_irig_rx_num_rec(MBG_DEV_HANDLE dh, int *p_num_rec)
Get supported number of IRIG RX calibration records.
Structure used to transfer calibration records.
#define MSK_ICODE_RX_100BPS
A mask of IRIG RX formats with 100 bps data rate.
codes B1xx, AFNOR, IEEE1344
#define MSK_ICODE_RX_10KHZ
A mask of IRIG RX formats with 10 kHz carrier.
CAL_REC_IRIG_RX_COMP (read/write)
codes B0xx, AFNOR DC, IEEE1344 DC
uint16_t GEN_IO_INFO_TYPE
#define MSK_ICODE_RX_1KHZ
A mask of IRIG RX formats with 1 kHz carrier.
Structure used to retrieve the number of records for a given type.
#define MSK_ICODE_RX_100KHZ
A mask of IRIG RX formats with 100 kHz carrier.
static __mbg_inline int mbg_get_gen_io_info(MBG_DEV_HANDLE dh, GEN_IO_INFO_TYPE type, GEN_IO_INFO *p)
Get generic I/O support info for a certain data type.
#define MBG_SUCCESS
Error codes used with Meinberg devices and drivers.
_MBG_API_ATTR int _MBG_API mbg_generic_io(MBG_DEV_HANDLE dh, int type, const void *in_p, int in_sz, void *out_p, int out_sz)
IRIG receiver delay compensation.
#define _mbg_swab_gen_io_info(_p)
#define MSK_ICODE_RX_1000BPS
A mask of IRIG RX formats with 1000 bps data rate.
#define _mbg_swab_cal_rec_hdr(_p)
static __mbg_inline int mbg_set_cal_rec_irig_rx_comp(MBG_DEV_HANDLE dh, const CAL_REC_IRIG_RX_COMP *p)
Write an IRIG RX calibration record to a device.
static __mbg_inline int mbg_icode_rx_to_group_idx(int icode_rx)
Get the IRIG calibration group index for a given IRIG RX code.
#define _mbg_swab_gen_io_info_type(_p)