precision-converters-firmware
|
: Implementation for the menu functions that handles the nanodac functionality More...
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "app_config.h"
#include "ad5686.h"
#include "nanodac_console_app.h"
#include "no_os_error.h"
#include "no_os_delay.h"
#include "no_os_i2c.h"
#include "no_os_spi.h"
#include "mbed_platform_support.h"
#include "mbed_gpio.h"
#include "mbed_i2c.h"
#include "mbed_spi.h"
Macros | |
#define | I2C_SLAVE_ADDRESS 0 |
#define | INTERNAL_VREF_VOLTAGE 2.5 |
#define | INTERNAL_VREF_SOURCE 0U |
#define | EXTERNAL_VREF_SOURCE 1U |
#define | GAIN_LOW 1 |
#define | GAIN_HIGH 2 |
Functions | |
int32_t | nanodac_app_initialize (void) |
: Implementation for the menu functions that handles the nanodac functionality
: This file is specific to nanodac console menu application handle. The functions defined in this file performs the action
Copyright (c) 2020-2022 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.
#define EXTERNAL_VREF_SOURCE 1U |
#define GAIN_HIGH 2 |
#define GAIN_LOW 1 |
#define I2C_SLAVE_ADDRESS 0 |
#define INTERNAL_VREF_SOURCE 0U |
#define INTERNAL_VREF_VOLTAGE 2.5 |
int32_t nanodac_app_initialize | ( | void | ) |
console_menu dac_channel_select_menu |
|
extern |
console_menu gain_select_menu |
console_menu ldac_mask_select_menu |
console_menu ldac_pin_select_menu |
console_menu nanodac_main_menu |
console_menu operating_mode_select_menu |
console_menu vref_select_menu |