precision-converters-firmware
|
Configuration file for AD4130 device applications. More...
Go to the source code of this file.
Functions | |
int32_t | init_system (void) |
Initialize the system peripherals. More... | |
uint8_t | get_eeprom_detected_dev_addr (void) |
Get the EEPROM device address detected by firmware. More... | |
bool | is_eeprom_valid_dev_addr_detected (void) |
Return the flag indicating if valid EEPROM address is detected. More... | |
void | ad4130_fifo_event_handler (void *ctx) |
This is an ISR (Interrupt Service Routine) to monitor FIFO data available event. This function is expected to be called asynchronously when data from internal device FIFO is available to read. More... | |
Variables | |
struct no_os_uart_desc * | uart_desc |
struct no_os_gpio_desc * | trigger_gpio_desc |
struct no_os_spi_init_param | spi_init_params |
struct no_os_gpio_init_param | trigger_gpio_param |
struct no_os_eeprom_desc * | eeprom_desc |
struct no_os_irq_ctrl_desc * | trigger_irq_desc |
Configuration file for AD4130 device applications.
Copyright (c) 2020-23 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 ACTIVE_DEMO_MODE_CONFIG USER_DEFAULT_CONFIG |
#define ACTIVE_DEVICE_NAME "ad4130-8" |
#define ACTIVE_IIO_CLIENT IIO_CLIENT_REMOTE |
#define ACTIVE_PLATFORM MBED_PLATFORM |
#define AD4130_AVDD_VOLTAGE 3.3 |
#define ad4130_init_params ad4130_user_config_params |
#define AD4130_REFIN1_VOLTAGE 2.5 |
#define AD4130_REFIN2_VOLTAGE 2.5 |
#define AD4130_WLCSP_PACKAGE_TYPE |
#define AD4170_1_25V_INT_REF_VOLTAGE 1.25 |
#define AD4170_2_5V_INT_REF_VOLTAGE 2.5 |
#define ADC_DIFFERENTIAL_CHNS 8 |
#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (ADC_RESOLUTION-1)) |
#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << ADC_RESOLUTION) - 1) |
#define ADC_PRESETS 7 |
#define ADC_PSEUDO_DIFF_CHNS 16 |
#define ADC_RESOLUTION 24 |
#define BURST_DATA_CAPTURE 0 |
#define CONTINUOUS_DATA_CAPTURE 1 |
#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE |
#define DEVICE_NAME "DEV_AD4130" |
#define ECG_CONFIG 7 |
#define ext_int_extra_init_params mbed_ext_int_extra_init_params |
#define FIFO_DATA_CAPTURE 2 |
#define FIRMWARE_NAME "ad4130_iio" |
#define gpio_ops mbed_gpio_ops |
#define HW_CARRIER_NAME TARGET_NAME |
#define HW_MEZZANINE_NAME "EV-AD4130WASDZ-U1" |
#define i2c_extra_init_params mbed_i2c_extra_init_params |
#define i2c_ops mbed_i2c_ops |
#define IIO_CLIENT_LOCAL 1 |
#define IIO_CLIENT_REMOTE 0 |
#define IIO_UART_BAUD_RATE (230400) |
#define irq_ops mbed_irq_ops |
#define LOADCELL_CONFIG 6 |
#define MBED_PLATFORM 1 |
#define NOISE_TEST_CONFIG 8 |
#define PLATFORM_NAME HW_CARRIER_NAME |
#define POWER_TEST_CONFIG 9 |
#define RTD_2WIRE_CONFIG 1 |
#define RTD_3WIRE_CONFIG 2 |
#define RTD_4WIRE_CONFIG 3 |
#define spi_extra_init_params mbed_spi_extra_init_params |
#define spi_ops mbed_spi_ops |
#define STR | ( | s | ) | XSTR(s) |
#define THERMISTOR_CONFIG 4 |
#define THERMOCOUPLE_CONFIG 5 |
#define TICKER_ID TICKER_INT_ID |
#define ticker_int_extra_init_params mbed_ticker_int_extra_init_params |
#define trigger_gpio_extra_init_params mbed_trigger_gpio_extra_init_params |
#define trigger_gpio_handle 0 |
#define trigger_gpio_irq_extra_params mbed_trigger_gpio_irq_init_params |
#define trigger_gpio_irq_ops mbed_gpio_irq_ops |
#define trigger_gpio_ops mbed_gpio_ops |
#define TRIGGER_GPIO_PIN CONV_MON |
#define TRIGGER_GPIO_PORT 0 |
#define TRIGGER_INT_ID GPIO_IRQ_ID1 |
#define uart_extra_init_params mbed_vcom_extra_init_params |
#define uart_ops mbed_virtual_com_ops |
#define USE_VIRTUAL_COM_PORT |
#define USER_DEFAULT_CONFIG 0 |
#define VIRTUAL_COM_PORT_PID 0xb66c |
#define VIRTUAL_COM_PORT_VID 0x0456 |
#define VIRTUAL_COM_SERIAL_NUM (FIRMWARE_NAME "_" DEVICE_NAME "_" STR(PLATFORM_NAME)) |
#define XSTR | ( | s | ) | #s |
void ad4130_fifo_event_handler | ( | void * | ctx | ) |
This is an ISR (Interrupt Service Routine) to monitor FIFO data available event. This function is expected to be called asynchronously when data from internal device FIFO is available to read.
ctx[in] | - Callback context (unused) |
uint8_t get_eeprom_detected_dev_addr | ( | void | ) |
Get the EEPROM device address detected by firmware.
int32_t init_system | ( | void | ) |
Initialize the system peripherals.
Initialize the system peripherals.
This function initializes system peripherals for the application
bool is_eeprom_valid_dev_addr_detected | ( | void | ) |
Return the flag indicating if valid EEPROM address is detected.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |