precision-converters-firmware
|
Header file for application configurations (platform-agnostic) 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_desc |
struct no_os_gpio_desc * | led_gpio_desc |
struct no_os_irq_ctrl_desc * | trigger_irq_desc |
Header file for application configurations (platform-agnostic)
Copyright (c) 2020-2023 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_AD7606B |
#define ACTIVE_DEVICE_NAME "ad7606b" |
#define ACTIVE_PLATFORM MBED_PLATFORM |
#define AD7606X_ADC_CHANNELS 8 |
#define AD7606X_ADC_RESOLUTION 16 |
#define ADC_MAX_COUNT_BIPOLAR (uint32_t)(1 << (AD7606X_ADC_RESOLUTION-1)) |
#define ADC_MAX_COUNT_UNIPOLAR (uint32_t)((1 << AD7606X_ADC_RESOLUTION) - 1) |
#define BURST_DATA_CAPTURE 0 |
#define busy_gpio_extra_init_params mbed_busy_gpio_extra_init_params |
#define BYTES_PER_SAMPLE sizeof(uint16_t) |
#define CONTINUOUS_DATA_CAPTURE 1 |
#define convst_gpio_extra_init_params mbed_convst_gpio_extra_init_params |
#define DATA_CAPTURE_MODE CONTINUOUS_DATA_CAPTURE |
#define DEV_AD7606B |
#define DEVICE_NAME "DEV_AD7606B" |
#define FIRMWARE_NAME "ad7606_iio" |
#define gpio_ops mbed_gpio_ops |
#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 IRQ_INT_ID GPIO_IRQ_ID1 |
#define irq_ops mbed_gpio_irq_ops |
#define MBED_PLATFORM 1 |
#define osr0_gpio_extra_init_params mbed_osr0_gpio_extra_init_params |
#define osr1_gpio_extra_init_params mbed_osr1_gpio_extra_init_params |
#define osr2_gpio_extra_init_params mbed_osr2_gpio_extra_init_params |
#define PLATFORM_NAME HW_CARRIER_NAME |
#define pwm_extra_init_params mbed_pwm_extra_init_params |
#define range_gpio_extra_init_params mbed_range_gpio_extra_init_params |
#define reset_gpio_extra_init_params mbed_reset_gpio_extra_init_params |
#define spi_extra_init_params mbed_spi_extra_init_params |
#define spi_ops mbed_spi_ops |
#define stdby_gpio_extra_init_params mbed_stdby_gpio_extra_init_params |
#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_vcom_extra_init_params |
#define uart_ops mbed_virtual_com_ops |
#define USE_VIRTUAL_COM_PORT |
#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.
int32_t init_system | ( | void | ) |
Initialize the system peripherals.
Initialize the system peripherals.
This function initializes system peripherals for the application
|
extern |
|
extern |
|
extern |