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

: defines the console menu structure for the AD5770R example code More...

#include <stdint.h>
#include "adi_console_menu.h"
Include dependency graph for ad5770r_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 ad5770r_app_initialize (void)
 Initialize the AD5770R device and the SPI port as required. More...
 

Variables

console_menu ad5770r_main_menu
 

Detailed Description

: defines the console menu structure for the AD5770R example code

:

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

◆ ad5770r_app_initialize()

int32_t ad5770r_app_initialize ( void  )

Initialize the AD5770R device and the SPI port as required.

Returns
0 in case of success, negative error code otherwise

This resets and then writes the default register map value to the device. A call to init the SPI port is made, but may not actually do very much, depending on the platform

Here is the caller graph for this function:

Variable Documentation

◆ ad5770r_main_menu

console_menu ad5770r_main_menu
extern