precision-converters-firmware
Functions | Variables
ad5592r_console_app.h File Reference

AD5592R console application interfaces. More...

#include "adi_console_menu.h"
Include dependency graph for ad5592r_console_app.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int32_t ad5592r_app_initalization (void)
 Initialize AD5592/3R. ACTIVE_DEVICE defined in app_config.h. More...
 

Variables

console_menu ad5592r_main_menu
 

Detailed Description

AD5592R console application interfaces.

:

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

◆ ad5592r_app_initalization()

int32_t ad5592r_app_initalization ( void  )

Initialize AD5592/3R. ACTIVE_DEVICE defined in app_config.h.

The device initialization varies depending on what ACTIVE_DEVICE is defined. Device is reset and default register map values written. SPI or I2C initialization occurs.

Returns
0 in case of success, negative error code otherwise.
Here is the caller graph for this function:

Variable Documentation

◆ ad5592r_main_menu

console_menu ad5592r_main_menu
extern