precision-converters-firmware
Macros | Functions
ad579x_support.h File Reference

AD579x No-OS driver support header file. More...

#include <stdbool.h>
#include <stdint.h>
#include "ad5791.h"
Include dependency graph for ad579x_support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define AD579X_ADDRESS_MASK   NO_OS_GENMASK(23, 20)
 

Functions

int ad579x_reconfig_ldac (struct ad5791_dev *device)
 Reconfigure LDAC pin as GPIO output. More...
 

Detailed Description

AD579x No-OS driver support header file.

Copyright (c) 2023 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.

Macro Definition Documentation

◆ AD579X_ADDRESS_MASK

#define AD579X_ADDRESS_MASK   NO_OS_GENMASK(23, 20)

Function Documentation

◆ ad579x_reconfig_ldac()

int ad579x_reconfig_ldac ( struct ad5791_dev *  device)

Reconfigure LDAC pin as GPIO output.

Parameters
device[in]- AD579x device instance
Returns
0 in case of success, negative error code otherwise