precision-converters-firmware
|
Configuration file for AD738x device application. More...
Go to the source code of this file.
Functions | |
int32_t | init_system (void) |
Initialize the system peripherals. More... | |
int32_t | init_pwm_trigger (void) |
Initialize the PWM trigger contoller. More... | |
Variables | |
struct no_os_uart_desc * | uart_iio_com_desc |
struct no_os_uart_desc * | uart_console_stdio_desc |
struct no_os_irq_ctrl_desc * | trigger_irq_desc |
struct no_os_spi_init_param | spi_init_params |
Configuration file for AD738x device application.
Copyright (c) 2022-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_DEVICE_NAME "ad7380-2" |
#define ACTIVE_PLATFORM MBED_PLATFORM |
#define ADC_CHANNELS 2 |
#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (ADC_RESOLUTION-1)) |
#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << ADC_RESOLUTION) - 1) |
#define ADC_REF_VOLTAGE 3.3 |
#define ADC_RESOLUTION 16 |
#define BURST_DATA_CAPTURE 0 |
#define CONSOLE_STDIO_PORT_AVAILABLE |
#define CONTINUOUS_DATA_CAPTURE 1 |
#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE |
#define DEVICE_NAME "DEV_AD7380_2" |
#define FIRMWARE_NAME "ad738x_iio" |
#define HW_CARRIER_NAME TARGET_NAME |
#define i2c_extra_init_params mbed_i2c_extra_init_params |
#define i2c_ops mbed_i2c_ops |
#define IIO_UART_BAUD_RATE (230400) |
#define MBED_PLATFORM 1 |
#define PLATFORM_NAME HW_CARRIER_NAME |
#define pwm_extra_init_params mbed_pwm_extra_init_params |
#define spi_extra_init_params mbed_spi_extra_init_params |
#define SPI_MODULE 0 |
#define spi_ops mbed_spi_ops |
#define STR | ( | s | ) | XSTR(s) |
#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 PWM_TRIGGER |
#define TRIGGER_GPIO_PORT 0 |
#define TRIGGER_INT_ID GPIO_IRQ_ID1 |
#define uart_extra_init_params mbed_uart_extra_init_params |
#define UART_MODULE 0 |
#define uart_ops mbed_uart_ops |
#define USE_VIRTUAL_COM_PORT |
#define vcom_extra_init_params mbed_vcom_extra_init_params |
#define vcom_ops mbed_virtual_com_ops |
#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 |
int32_t init_pwm_trigger | ( | void | ) |
Initialize the PWM trigger contoller.
Initialize the PWM trigger contoller.
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 |