precision-converters-firmware
Loading...
Searching...
No Matches
Macros
app_config.h File Reference

: AD5592R/AD5593R device selection. Pin mappings. More...

#include <stdint.h>
#include "app_config_mbed.h"
Include dependency graph for app_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MBED_PLATFORM   1
 
#define STM32_PLATFORM   2
 
#define ACTIVE_PLATFORM   STM32_PLATFORM
 
#define DEV_AD5592R   0
 
#define DEV_AD5593R   1
 
#define AD5593R_A0_STATE   0
 
#define ACTIVE_DEVICE   DEV_AD5592R
 
#define NUM_CHANNELS   8
 
#define AD5593R_I2C   (0x10 | (AD5593R_A0_STATE & 0x01))
 
#define spi_init_extra_params   mbed_spi_extra_init_params
 
#define i2c_init_extra_params   mbed_i2c_extra_init_params
 

Detailed Description

: AD5592R/AD5593R device selection. Pin mappings.

:

Copyright (c) 2020, 2022, 2025 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.

Macro Definition Documentation

◆ ACTIVE_DEVICE

#define ACTIVE_DEVICE   DEV_AD5592R

◆ ACTIVE_PLATFORM

#define ACTIVE_PLATFORM   STM32_PLATFORM

◆ AD5593R_A0_STATE

#define AD5593R_A0_STATE   0

◆ AD5593R_I2C

#define AD5593R_I2C   (0x10 | (AD5593R_A0_STATE & 0x01))

◆ DEV_AD5592R

#define DEV_AD5592R   0

◆ DEV_AD5593R

#define DEV_AD5593R   1

◆ i2c_init_extra_params

#define i2c_init_extra_params   mbed_i2c_extra_init_params

◆ MBED_PLATFORM

#define MBED_PLATFORM   1

◆ NUM_CHANNELS

#define NUM_CHANNELS   8

◆ spi_init_extra_params

#define spi_init_extra_params   mbed_spi_extra_init_params

◆ STM32_PLATFORM

#define STM32_PLATFORM   2