precision-converters-firmware
|
Header file for STM32 platform configurations. More...
#include "main.h"
#include "stm32_uart.h"
#include "stm32_spi.h"
#include "stm32_gpio.h"
#include "stm32_i2c.h"
#include "stm32_dma.h"
Go to the source code of this file.
Macros | |
#define | HW_CARRIER_NAME NUCLEO_H563ZI |
#define | SPI_DEVICE_ID 1 |
#define | SPI_CS_PORT 5 |
#define | SPI_CSB 3 |
#define | SPI_DCS_CSB_PORT 3 |
#define | SPI_DCS_CSB 14 |
#define | SPI_CFG_SPEED 15625000 |
#define | SPI_DATA_SPEED 15625000 |
#define | QSPI_DEVICE_ID 1 |
#define | QSPI_SPEED 15625000 |
#define | QSPI_DMA_HANDLE handle_GPDMA1_Channel0 |
#define | QSPI_DMA_CH GPDMA1_Channel0 |
#define | QSPI_DMA_IRQ GPDMA1_Channel0_IRQn |
#define | QSPI_DMA_NUM_CH 1 |
#define | I2C_DEVICE_ID 1 |
#define | I2C_TIMING 0x00000E14 |
#define | UART_DEVICE_ID 3 |
#define | APP_UART_HANDLE huart3 |
#define | UART_IRQ_ID USART3_IRQn |
#define | GPIO_AFE_CTRL_PORT 3 |
#define | GPIO_AFE_CTRL 15 |
#define | GPIO_GP1_PORT 6 |
#define | GPIO_GP1 12 |
#define | GPIO_GP2_PORT 6 |
#define | GPIO_GP2 11 |
#define | GPIO_XTAL_OSC_EN_PORT 4 |
#define | GPIO_XTAL_OSC_EN 14 |
#define | GPIO_GP3_PORT 4 |
#define | GPIO_GP3 13 |
#define | GPIO_OSC_EN_40M_PORT 6 |
#define | GPIO_OSC_EN_40M 14 |
#define | GPIO_OSC_EN_20M_PORT 1 |
#define | GPIO_OSC_EN_20M 6 |
#define | GPIO_OSC_EN_10M_PORT 1 |
#define | GPIO_OSC_EN_10M 7 |
Functions | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. | |
Variables | |
UART_HandleTypeDef | APP_UART_HANDLE |
DMA_HandleTypeDef | QSPI_DMA_HANDLE |
struct stm32_spi_init_param | stm32_config_spi_extra_init_params |
struct stm32_spi_init_param | stm32_data_spi_extra_init_params |
struct stm32_xspi_init_param | stm32_data_qspi_extra_init_params |
struct stm32_uart_init_param | stm32_uart_extra_init_params |
struct stm32_gpio_init_param | stm32_gpio_xtal_osc_en_init_params |
struct stm32_gpio_init_param | stm32_gpio_gp1_init_params |
struct stm32_gpio_init_param | stm32_gpio_gp2_init_params |
struct stm32_gpio_init_param | stm32_gpio_gp3_init_params |
struct stm32_gpio_init_param | stm32_gpio_40m_osc_init_params |
struct stm32_gpio_init_param | stm32_gpio_20m_osc_init_params |
struct stm32_gpio_init_param | stm32_gpio_10m_osc_init_params |
struct stm32_gpio_init_param | stm32_gpio_afe_ctrl_init_params |
struct stm32_i2c_init_param | stm32_i2c_extra_init_params |
Header file for STM32 platform configurations.
Copyright (c) 2024-25 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 huart3 |
#define GPIO_AFE_CTRL 15 |
#define GPIO_AFE_CTRL_PORT 3 |
#define GPIO_GP1 12 |
#define GPIO_GP1_PORT 6 |
#define GPIO_GP2 11 |
#define GPIO_GP2_PORT 6 |
#define GPIO_GP3 13 |
#define GPIO_GP3_PORT 4 |
#define GPIO_OSC_EN_10M 7 |
#define GPIO_OSC_EN_10M_PORT 1 |
#define GPIO_OSC_EN_20M 6 |
#define GPIO_OSC_EN_20M_PORT 1 |
#define GPIO_OSC_EN_40M 14 |
#define GPIO_OSC_EN_40M_PORT 6 |
#define GPIO_XTAL_OSC_EN 14 |
#define GPIO_XTAL_OSC_EN_PORT 4 |
#define HW_CARRIER_NAME NUCLEO_H563ZI |
#define I2C_DEVICE_ID 1 |
#define I2C_TIMING 0x00000E14 |
#define QSPI_DEVICE_ID 1 |
#define QSPI_DMA_CH GPDMA1_Channel0 |
#define QSPI_DMA_HANDLE handle_GPDMA1_Channel0 |
#define QSPI_DMA_IRQ GPDMA1_Channel0_IRQn |
#define QSPI_DMA_NUM_CH 1 |
#define QSPI_SPEED 15625000 |
#define SPI_CFG_SPEED 15625000 |
#define SPI_CS_PORT 5 |
#define SPI_CSB 3 |
#define SPI_DATA_SPEED 15625000 |
#define SPI_DCS_CSB 14 |
#define SPI_DCS_CSB_PORT 3 |
#define SPI_DEVICE_ID 1 |
#define UART_DEVICE_ID 3 |
#define UART_IRQ_ID USART3_IRQn |
void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |