precision-converters-firmware
Functions | Variables
ad719x_support.c File Reference

Support file for AD719X device configurations. More...

#include "ad719x_support.h"
#include "ad719x_user_config.h"
#include "ad719x_iio.h"
#include "no_os_error.h"
Include dependency graph for ad719x_support.c:

Functions

int32_t ad719x_gpio_cs_init (void)
 Function to initialize the cs pin gpio. More...
 
int32_t ad719x_noise_config (void)
 Configures the device for noise and 50hz test. More...
 

Variables

struct no_os_gpio_desc * gpio_cs = NULL
 

Detailed Description

Support file for AD719X device configurations.

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

Function Documentation

◆ ad719x_gpio_cs_init()

int32_t ad719x_gpio_cs_init ( void  )

Function to initialize the cs pin gpio.

Returns
0 in case of SUCCESS, negative error code otherwise.

◆ ad719x_noise_config()

int32_t ad719x_noise_config ( void  )

Configures the device for noise and 50hz test.

Returns
0 in case of success, negative error code otherwise.

Variable Documentation

◆ gpio_cs

struct no_os_gpio_desc* gpio_cs = NULL