void ad7091r_software_reset(struct ad7091r_dev *dev)
Initiate a software reset of the device. The AD7091R requires the user to initiate a software reset w...
Definition: ad7091r.c:111
float ad7091r_convert_to_volts(int16_t raw_sample, float v_ref)
Converts a 12-bit raw sample to volts.
Definition: ad7091r.c:196
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:82
Header file of SPI Interface.
no_os_spi_init_param spi_init
Definition: ad7091r.h:60
uint16_t ad7091r_read_sample(struct ad7091r_dev *dev)
Initiates one conversion and reads back the result. During this process the device runs in normal mod...
Definition: ad7091r.c:134
Definition: ad9361_util.h:75
int8_t ad7091r_init(struct ad7091r_dev **device, struct ad7091r_init_param init_param)
Initializes the communication peripheral and the initial Values for AD7092R Board.
Definition: ad7091r.c:64
void ad7091r_power_up(struct ad7091r_dev *dev)
Powers up the device by pulling CONVST high. After calling this function, a time delay is required be...
Definition: ad7091r.c:179
void ad7091r_software_reset(struct ad7091r_dev *dev)
Initiate a software reset of the device. The AD7091R requires the user to initiate a software reset w...
Definition: ad7091r.c:111
Header file of AD7091R Driver.
Structure holding SPI descriptor.
Definition: no_os_spi.h:132
no_os_spi_desc * spi_desc
Definition: ad7091r.h:55
int32_t ad7091r_remove(struct ad7091r_dev *dev)
Free the resources allocated by ad7091r_init().
Definition: ad7091r.c:92
void ad7091r_power_down(struct ad7091r_dev *dev)
Puts the device in power-down mode.
Definition: ad7091r.c:157
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:96
uint16_t ad7091r_read_sample(struct ad7091r_dev *dev)
Initiates one conversion and reads back the result. During this process the device runs in normal mod...
Definition: ad7091r.c:134
int32_t ad5686_remove(struct ad7091r_dev *dev)
int32_t no_os_spi_remove(struct no_os_spi_desc *desc)
Free the resources allocated by no_os_spi_init().
Definition: no_os_spi.c:70
int8_t ad7091r_init(struct ad7091r_dev **device, struct ad7091r_init_param init_param)
Initializes the communication peripheral and the initial Values for AD7092R Board.
Definition: ad7091r.c:64
float ad7091r_convert_to_volts(int16_t raw_sample, float v_ref)
Converts a 12-bit raw sample to volts.
Definition: ad7091r.c:196
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:51
void ad7091r_power_up(struct ad7091r_dev *dev)
Powers up the device by pulling CONVST high. After calling this function, a time delay is required be...
Definition: ad7091r.c:179
void ad7091r_power_down(struct ad7091r_dev *dev)
Puts the device in power-down mode.
Definition: ad7091r.c:157
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:112