![]() |
no-OS
|
Definitions specific to STM32 platform used by eval-pulsar_adc project. More...
#include "stm32_hal.h"#include "stm32_irq.h"#include "stm32_gpio_irq.h"#include "stm32_spi.h"#include "stm32_gpio.h"#include "stm32_uart.h"#include "stm32_uart_stdio.h"Macros | |
| #define | SAMPLES_PER_CHANNEL_PLATFORM 2000 |
| #define | MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL_PLATFORM * sizeof(uint32_t)) |
| #define | ADC_DDR_BASEADDR ((uint32_t *)in_buff) |
| #define | UART_IRQ_ID UART5_IRQn |
| #define | UART_DEVICE_ID 5 |
| #define | UART_BAUDRATE 230400 |
| #define | UART_EXTRA &pulsar_adc_uart_extra_ip |
| #define | UART_OPS &stm32_uart_ops |
| #define | SPI_DEVICE_ID 1 |
| #define | SPI_BAUDRATE 20000000 |
| #define | SPI_CS 14 |
| #define | SPI_CS_PORT GPIO_PORT_A |
| #define | SPI_OPS &stm32_spi_ops |
| #define | SPI_EXTRA &pulsar_adc_spi_extra_ip |
| #define | GPIO_CNV 15 |
| #define | GPIO_OPS &stm32_gpio_ops |
| #define | GPIO_CNV_PORT GPIO_PORT_A |
| #define | GPIO_PORT_A 0 |
| #define | PULSAR_ADC_ADC_REF_VOLTAGE 5000 |
Variables | |
| UART_HandleTypeDef | huart5 |
| uint8_t | in_buff [] |
| struct stm32_uart_init_param | pulsar_adc_uart_extra_ip |
| struct stm32_spi_init_param | pulsar_adc_spi_extra_ip |
Definitions specific to STM32 platform used by eval-pulsar_adc project.
Copyright 2024(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define ADC_DDR_BASEADDR ((uint32_t *)in_buff) |
| #define GPIO_CNV 15 |
| #define GPIO_CNV_PORT GPIO_PORT_A |
| #define GPIO_OPS &stm32_gpio_ops |
| #define GPIO_PORT_A 0 |
| #define MAX_SIZE_BASE_ADDR (SAMPLES_PER_CHANNEL_PLATFORM * sizeof(uint32_t)) |
| #define PULSAR_ADC_ADC_REF_VOLTAGE 5000 |
| #define SAMPLES_PER_CHANNEL_PLATFORM 2000 |
| #define SPI_BAUDRATE 20000000 |
| #define SPI_CS 14 |
| #define SPI_CS_PORT GPIO_PORT_A |
| #define SPI_DEVICE_ID 1 |
| #define SPI_EXTRA &pulsar_adc_spi_extra_ip |
| #define SPI_OPS &stm32_spi_ops |
| #define UART_BAUDRATE 230400 |
| #define UART_DEVICE_ID 5 |
| #define UART_EXTRA &pulsar_adc_uart_extra_ip |
| #define UART_IRQ_ID UART5_IRQn |
| #define UART_OPS &stm32_uart_ops |
|
extern |
|
extern |
|
extern |
|
extern |