Go to the documentation of this file.
16 #define ADI_POW2_48 ((uint64_t)1u<<48)
17 #define ADI_MAXUINT48 (ADI_POW2_48 - 1)
19 #define ADI_POW2_32 ((uint64_t)1u<<32)
20 #define ADI_MAXUINT32 (ADI_POW2_32 - 1)
21 #define ADI_MAXUINT24 (0xFFFFFF)
22 #define ADI_GET_BYTE(w, p) (uint8_t)(((w) >> (p)) & 0xFF)
25 #define U64MSB 0x8000000000000000ull
40 typedef int32_t(*
spi_xfer_t)(
void *user_data, uint8_t *indata, uint8_t *outdata,
55 typedef int32_t(*
delay_us_t)(
void *user_data, uint32_t us);
164 uint8_t dev_revision;
@ SYNCOUTB_0
Definition: api_def.h:215
@ PRBS_NONE
Definition: api_def.h:258
@ SPI_SDO
Definition: api_def.h:182
@ SIGNAL_CMOS
Definition: api_def.h:194
@ PRBS31
Definition: api_def.h:261
@ PRBS7
Definition: api_def.h:259
Definition: api_def.h:155
int(* tx_en_pin_ctrl_t)(void *user_data, uint8_t enable)
TX_ENABLE PIN CONTROL FUNCTION.
Definition: api_def.h:133
@ SIGNAL_UNKNOWN
Definition: api_def.h:196
signal_type_t
Definition: api_def.h:193
@ COUPLING_DC
Definition: api_def.h:202
@ SYSREF_CONT
Definition: api_def.h:224
uint8_t val
Definition: api_def.h:159
int(* hw_close_t)(void *user_data)
Closes any platform hardware resources for the AD9164 Device.
Definition: api_def.h:98
@ SYNCOUTB_1
Definition: api_def.h:216
@ JESD_LINK_0
Definition: api_def.h:208
int(* event_handler_t)(uint16_t event, uint8_t ref, void *data)
Client Event Handler.
Definition: api_def.h:113
@ SIGNAL_LVDS
Definition: api_def.h:195
spi_sdo_config_t
Definition: api_def.h:175
signal_coupling_t
Definition: api_def.h:200
jesd_prbs_pattern_t
Definition: api_def.h:257
Definition: api_def.h:230
@ SYSREF_MODE_INVLD
Definition: api_def.h:226
jesd_sysref_mode_t
Definition: api_def.h:221
@ SPI_CONFIG_MAX
Definition: api_def.h:189
@ JESD_LINK_1
Definition: api_def.h:209
@ PRBS_MAX
Definition: api_def.h:262
int(* delay_us_t)(void *user_data, unsigned int us)
Delay for specified number of microseconds. Platform Dependant.
Definition: api_def.h:62
int(* spi_xfer_t)(void *user_data, uint8_t *indata, uint8_t *outdata, int size_bytes)
Platform dependent SPI access functions.
Definition: api_def.h:47
@ COUPLING_UNKNOWN
Definition: api_def.h:203
int(* reset_pin_ctrl_t)(void *user_data, uint8_t enable)
RESETB PIN CONTROL FUNCTION.
Definition: api_def.h:152
@ SYSREF_NONE
Definition: api_def.h:222
@ SYSREF_MON
Definition: api_def.h:225
@ SYNCOUTB_ALL
Definition: api_def.h:217
@ COUPLING_AC
Definition: api_def.h:201
@ JESD_LINK_ALL
Definition: api_def.h:210
Definition: api_def.h:163
@ SPI_NONE
Definition: api_def.h:177
int(* hw_open_t)(void *user_data)
Platform hardware initialisation for the AD9164 Device.
Definition: api_def.h:80
jesd_link_t
Definition: api_def.h:207
uint16_t reg
Definition: api_def.h:157
@ PRBS15
Definition: api_def.h:260
@ SYSREF_ONESHOT
Definition: api_def.h:223
@ SPI_SDIO
Definition: api_def.h:187
jesd_syncoutb_t
Definition: api_def.h:214