precision-converters-firmware
|
Header file for STM32 platform configurations. More...
#include "stm32_spi.h"
#include "stm32_uart.h"
#include "stm32_gpio.h"
#include "stm32_i2c.h"
#include "stm32_uart_stdio.h"
#include "main.h"
Go to the source code of this file.
Macros | |
#define | SPI_DEVICE_ID 5 |
#define | SPI_CS_PORT 1 |
#define | SPI_CSB 9 |
#define | I2C_DEVICE_ID 3 |
#define | GAIN_PIN 0 |
#define | GAIN_PORT 9 |
#define | RESET_PIN 3 |
#define | RESET_PORT 9 |
#define | LDAC_PIN 4 |
#define | LDAC_PORT 9 |
#define | LED_GREEN LED3 |
#define | LED_GREEN_PORT 10 |
#define | I2C_TIMING 0 |
#define | APP_UART_HANDLE &huart5 |
#define | UART_IRQ_ID UART5_IRQn |
#define | uart_ops stm32_uart_ops |
#define | i2c_ops stm32_i2c_ops |
#define | gpio_ops stm32_gpio_ops |
#define | spi_ops stm32_spi_ops |
Functions | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. | |
Variables | |
struct no_os_uart_desc * | uart_desc |
UART_HandleTypeDef | huart5 |
struct stm32_uart_init_param | stm32_uart_extra_init_params |
struct stm32_spi_init_param | stm32_spi_extra_init_params |
struct stm32_i2c_init_param | stm32_i2c_extra_init_params |
struct stm32_gpio_init_param | stm32_gpio_reset_init_params |
struct stm32_gpio_init_param | stm32_gain_gpio_init_params |
struct stm32_gpio_init_param | stm32_gpio_ldac_init_params |
Header file for STM32 platform configurations.
Copyright (c) 2025 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 APP_UART_HANDLE &huart5 |
#define GAIN_PIN 0 |
#define GAIN_PORT 9 |
#define gpio_ops stm32_gpio_ops |
#define I2C_DEVICE_ID 3 |
#define i2c_ops stm32_i2c_ops |
#define I2C_TIMING 0 |
#define LDAC_PIN 4 |
#define LDAC_PORT 9 |
#define LED_GREEN LED3 |
#define LED_GREEN_PORT 10 |
#define RESET_PIN 3 |
#define RESET_PORT 9 |
#define SPI_CS_PORT 1 |
#define SPI_CSB 9 |
#define SPI_DEVICE_ID 5 |
#define spi_ops stm32_spi_ops |
#define UART_IRQ_ID UART5_IRQn |
#define uart_ops stm32_uart_ops |
|
extern |
Initialize the STM32 system peripherals.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |