precision-converters-firmware
Functions
ad7091r_support.c File Reference

AD7091R No-OS driver support functionality. More...

#include "ad7091r_support.h"
#include "ad7091r_user_config.h"
#include "app_config.h"
#include "no_os_error.h"
Include dependency graph for ad7091r_support.c:

Functions

int ad7091r_reconfig_conv (struct ad7091r8_dev *device, enum ad7091r_conv_pin_state pin_state)
 Reconfigure Conversion pin from GPIO output to PWM and vice versa. More...
 

Detailed Description

AD7091R No-OS driver support functionality.

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

◆ ad7091r_reconfig_conv()

int ad7091r_reconfig_conv ( struct ad7091r8_dev *  device,
enum ad7091r_conv_pin_state  pin_state 
)

Reconfigure Conversion pin from GPIO output to PWM and vice versa.

Parameters
device[in]- AD7091r device instance
pin_state[in]- Current state of conversion pin
Returns
0 in case of success, negative error code otherwise