precision-converters-firmware
|
Configuration file for AD469x device applications. More...
Go to the source code of this file.
Functions | |
int32_t | init_pwm (void) |
Initialize the PWM interface. More... | |
int32_t | init_system (void) |
Initialize the system peripherals. More... | |
void | burst_capture_callback (void *context) |
Interrupt Service Routine to monitor end of conversion event. More... | |
Variables | |
struct no_os_uart_desc * | uart_iio_com_desc |
struct no_os_pwm_desc * | pwm_desc |
struct no_os_irq_ctrl_desc * | trigger_irq_desc |
struct no_os_eeprom_desc * | eeprom_desc |
Configuration file for AD469x device applications.
Copyright (c) 2021-24 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_DEVICE ID_AD4696 |
#define ACTIVE_DEVICE_NAME "ad4696" |
#define ACTIVE_PLATFORM MBED_PLATFORM |
#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (ADC_RESOLUTION-1)) |
#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << ADC_RESOLUTION) - 1) |
#define ADC_RESOLUTION 16 |
#define bsy_extra_init_params mbed_gpio_bsy_extra_init_params |
#define BURST_DATA_CAPTURE 1 |
#define BYTES_PER_SAMPLE sizeof(uint16_t) |
#define CHN_STORAGE_BITS (BYTES_PER_SAMPLE * 8) |
#define cnv_extra_init_params mbed_gpio_cnv_extra_init_params |
#define CONSOLE_STDIO_PORT_AVAILABLE |
#define CONTINUOUS_DATA_CAPTURE 0 |
#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE |
#define DEFAULT_POLARITY_MODE UNIPOLAR_MODE |
#define DEV_AD4696 |
#define DEVICE_NAME "DEV_AD4696" |
#define FIRMWARE_NAME "ad469x_iio" |
#define HW_CARRIER_NAME TARGET_NAME |
#define HW_MEZZANINE_NAME "EVAL-AD4696-ARDZ" |
#define i2c_extra_init_params mbed_i2c_extra_init_params |
#define IIO_UART_BAUD_RATE (230400) |
#define IIO_UART_BAUD_RATE (230400) |
#define INTERFACE_MODE SPI_INTERRUPT |
#define MBED_PLATFORM 0 |
#define NO_OF_CHANNELS 16 |
#define PLATFORM_NAME HW_CARRIER_NAME |
#define PSEUDO_BIPOLAR_MODE 1 |
#define pwm_extra_init_params mbed_pwm_extra_init_params |
#define reset_extra_init_params mbed_gpio_reset_extra_init_params |
#define SPI_DMA 0 |
#define spi_extra_init_params mbed_spi_extra_init_params |
#define SPI_INTERRUPT 1 |
#define STM32_PLATFORM 1 |
#define STR | ( | s | ) | XSTR(s) |
#define trigger_gpio_irq_extra_params mbed_trigger_gpio_irq_init_params |
#define uart_extra_init_params mbed_uart_extra_init_params |
#define UNIPOLAR_MODE 0 |
#define USE_VIRTUAL_COM_PORT |
#define vcom_extra_init_params mbed_vcom_extra_init_params |
#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 burst_capture_callback | ( | void * | context | ) |
Interrupt Service Routine to monitor end of conversion event.
context[in] | - Callback context (unused) |
Interrupt Service Routine to monitor end of conversion event.
context[in] | - Callback context (unused) |
int32_t init_pwm | ( | void | ) |
Initialize the PWM interface.
Initialize the PWM interface.
int32_t init_system | ( | void | ) |
Initialize the system peripherals.
Initialize the system peripherals.
This function initializes system peripherals for the application
|
extern |
|
extern |
|
extern |
|
extern |