| 
    precision-converters-firmware
    
   | 
 
AD5710r No-OS driver support header file. More...
#include <stdint.h>#include "ad5710r.h"

Go to the source code of this file.
Enumerations | |
| enum | ad5710r_ldac_pin_state {  AD5710R_LDAC_GPIO_OUTPUT , AD5710R_LDAC_PWM }  | 
Functions | |
| int | ad5710r_spi_read_mask (struct ad5710r_desc *desc, uint32_t addr, uint32_t mask, uint16_t *val) | 
| SPI read from device using a mask.   | |
| int | ad5710r_reconfig_ldac (struct ad5710r_desc *device, enum ad5710r_ldac_pin_state pin_state) | 
| Reconfigure LDAC pin as either GPIO output or PWM based on the pin_state value.   | |
AD5710r No-OS driver support header file.
Copyright (c) 2024-25 Analog Devices, Inc. All rights reserved.
This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.
| int ad5710r_reconfig_ldac | ( | struct ad5710r_desc * | device, | 
| enum ad5710r_ldac_pin_state | pin_state | ||
| ) | 
Reconfigure LDAC pin as either GPIO output or PWM based on the pin_state value.
| device[in] | - AD3530r device instance | 
| pin_state[in] | - State of conversion pin | 
| int ad5710r_spi_read_mask | ( | struct ad5710r_desc * | desc, | 
| uint32_t | addr, | ||
| uint32_t | mask, | ||
| uint16_t * | val | ||
| ) | 
SPI read from device using a mask.
| desc[in] | - AD5710R device instance | 
| addr[in] | - Register address | 
| mask[in] | - Mask for a specific register field | 
| val[in,out] | - Register value |