Go to the documentation of this file.
34 #ifndef IIO_MAX31855_H
35 #define IIO_MAX31855_H
#define END_ATTRIBUTES_ARRAY
Definition: iio_types.h:116
Definition: iio_max31855.h:47
uint8_t no_of_active_channels
Definition: iio_max31855.h:51
@ IIO_VAL_INT
Definition: iio_types.h:50
Struct describing the scan type.
Definition: iio_types.h:168
Definition: iio_max31855.h:58
char sign
Definition: iio_types.h:153
#define NO_OS_GENMASK(h, l)
Definition: no_os_util.h:82
Structure holding channel attributess.
Definition: iio_types.h:103
@ IIO_VAL_INT_PLUS_MICRO
Definition: iio_types.h:51
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
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
struct max31855_init_param * max31855_dev_init
Definition: iio_max31855.h:59
MAX31855 descriptor.
Definition: max31855.h:97
const char * name
Definition: iio_types.h:131
int max31855_read_raw(struct max31855_dev *device, uint32_t *val)
Read raw register value.
Definition: max31855.c:105
const char * name
Definition: iio_types.h:170
int max31855_iio_remove(struct max31855_iio_dev *)
Free resources allocated by the init function.
Definition: iio_max31855.c:165
Structure holding pointers to show and store functions.
Definition: iio_types.h:129
int max31855_iio_init(struct max31855_iio_dev **, struct max31855_iio_dev_init_param *)
Initializes the MAX31855 IIO driver.
Definition: iio_max31855.c:132
MAX31855 comm init param.
Definition: max31855.h:68
@ IIO_MOD_TEMP_AMBIENT
Definition: iio_types.h:93
uint32_t active_channels
Definition: iio_max31855.h:50
struct max31855_dev * max31855_desc
Definition: iio_max31855.h:48
int iio_format_value(char *buf, uint32_t len, enum iio_val fmt, int32_t size, int32_t *vals)
Definition: iio.c:686
struct iio_device * iio_dev
Definition: iio_max31855.h:49
uint32_t address
Definition: iio_types.h:113
uint32_t no_os_field_get(uint32_t mask, uint32_t word)
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
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
@ IIO_TEMP
Definition: iio_types.h:69
enum iio_chan_type type
Definition: iio_types.h:109
unsigned int no_os_hweight8(uint8_t word)
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 max31855_iio_remove(struct max31855_iio_dev *desc)
Free resources allocated by the init function.
Definition: iio_max31855.c:165
Definition: iio_types.h:151
Header file of utility functions.
int32_t no_os_sign_extend32(uint32_t value, int index)
int max31855_iio_init(struct max31855_iio_dev **iio_dev, struct max31855_iio_dev_init_param *init_param)
Initializes the MAX31855 IIO driver.
Definition: iio_max31855.c:132
int max31855_init(struct max31855_dev **device, struct max31855_init_param *init_param)
Device and comm init function.
Definition: max31855.c:57
Error macro definition for ARM Compiler.
int max31855_remove(struct max31855_dev *device)
Remove resources allocated by the init function.
Definition: max31855.c:84
Header file of IIO MAX31855 driver.