int32_t max24287_iio_init(struct max24287_iio_desc **iio_dev, struct max24287_iio_init_param *init_param)
Definition: iio_max24287.c:131
bool max24287_link_is_up(struct max24287_desc *dev)
Definition: max24287.c:258
int32_t max24287_iio_remove(struct max24287_iio_desc *iiodev)
Definition: iio_max24287.c:162
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
@ MAX24287_IIO_ATTR_PAR_SPEED
Definition: iio_max24287.h:17
@ IIO_VAL_INT
Definition: iio_types.h:50
Definition: iio_max24287.h:7
int max24287_config_link(struct max24287_desc *dev, bool up)
Definition: max24287.c:249
int max24287_get_config_parallel(struct max24287_desc *dev, enum max24287_parallel *par, enum max24287_speed *speed)
Definition: max24287.c:183
Structure holding channel attributess.
Definition: iio_types.h:103
@ MAX24287_SGMII
Definition: max24287.h:85
struct max24287_desc * dev
Definition: iio_max24287.h:8
Header file of Delay functions.
int max24287_write(struct max24287_desc *dev, uint8_t addr, uint16_t val)
Definition: max24287.c:112
int max24287_config_serial(struct max24287_desc *dev, enum max24287_serial ser, enum max24287_speed speed)
Definition: max24287.c:200
@ MAX24287_IIO_ATTR_SER_LINK
Definition: iio_max24287.h:18
Definition: ad9361_util.h:69
max24287_speed
Definition: max24287.h:89
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
int max24287_read(struct max24287_desc *dev, uint8_t addr, uint16_t *val)
Definition: max24287.c:129
const char * name
Definition: iio_types.h:131
@ MAX24287_RGMII
Definition: max24287.h:80
struct max24287_desc * dev
Definition: iio_max24287.h:13
struct iio_device * iio_dev
Definition: iio_max24287.h:9
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
@ MAX24287_IIO_ATTR_SER_SPEED
Definition: iio_max24287.h:19
int32_t iio_parse_value(char *buf, enum iio_val fmt, int32_t *val, int32_t *val2)
Definition: iio.c:630
Definition: max24287.h:109
Definition: iio_max24287.h:12
int iio_format_value(char *buf, uint32_t len, enum iio_val fmt, int32_t size, int32_t *vals)
Definition: iio.c:686
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
int max24287_config_parallel(struct max24287_desc *dev, enum max24287_parallel par, enum max24287_speed speed)
Definition: max24287.c:162
#define NULL
Definition: wrapper.h:64
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
int max24287_get_config_serial(struct max24287_desc *dev, enum max24287_serial *ser, enum max24287_speed *speed)
Definition: max24287.c:226
int32_t max24287_iio_init(struct max24287_iio_desc **iiodev, struct max24287_iio_init_param *init_param)
Definition: iio_max24287.c:131
Header file of utility functions.
int32_t max24287_iio_remove(struct max24287_iio_desc *desc)
Definition: iio_max24287.c:162
struct iio_attribute * attributes
Definition: iio_types.h:256
max24287_iio_attr_id
Definition: iio_max24287.h:16