precision-converters-firmware
|
Header file for STM32 platform configurations. More...
#include <stdint.h>
#include "stm32_i2c.h"
#include "stm32_irq.h"
#include "stm32_gpio_irq.h"
#include "stm32_spi.h"
#include "stm32_gpio.h"
#include "stm32_uart.h"
#include "stm32_pwm.h"
#include "stm32_usb_uart.h"
#include "stm32_uart_stdio.h"
Go to the source code of this file.
Macros | |
#define | TARGET_NAME SDP_K1 |
#define | APP_UART_USB_HANDLE hUsbDeviceHS |
#define | APP_UART_HANDLE &huart5 |
#define | UART_IRQ_ID UART5_IRQn |
#define | UART_ID 5 |
#define | I2C_DEV_ID 1 |
#define | SPI_DEVICE_ID 1 |
#define | SPI_CSB 15 |
#define | SPI_CS_PORT 0 |
#define | LDAC_GPIO_PORT 0 |
#define | LDAC_GPIO 10 |
#define | CLEAR_GPIO_PORT 6 |
#define | CLEAR_GPIO 9 |
#define | TRIGGER_INT_ID LDAC_GPIO |
#define | IRQ_CTRL_ID 10 |
#define | LDAC_PWM_ID 1 |
#define | LDAC_PWM_CHANNEL 3 |
#define | LDAC_PWM_CLK_DIVIDER 2 |
#define | LDAC_PWM_PRESCALER 3 |
#define | LDAC_PWM_HANDLE htim1 |
#define | LDAC_GPIO_PRIORITY 1 |
#define | MAX_SPI_CLK 11250000 |
#define | gpio_ops stm32_gpio_ops |
#define | spi_ops stm32_spi_ops |
#define | i2c_ops stm32_i2c_ops |
#define | uart_ops stm32_uart_ops |
#define | pwm_ops stm32_pwm_ops |
#define | trigger_gpio_irq_ops stm32_gpio_irq_ops |
#define | vcom_ops stm32_usb_uart_ops |
#define | MAX_SAMPLING_RATE (uint32_t)(45823) |
Functions | |
void | stm32_system_init (void) |
Initialize the STM32 system peripherals. | |
Variables | |
I2C_HandleTypeDef | hi2c1 |
SPI_HandleTypeDef | hspi1 |
UART_HandleTypeDef | huart5 |
TIM_HandleTypeDef | htim1 |
USBD_HandleTypeDef | APP_UART_USB_HANDLE |
struct stm32_usb_uart_init_param | stm32_vcom_extra_init_params |
struct stm32_uart_init_param | stm32_uart_extra_init_params |
struct stm32_spi_init_param | stm32_spi_extra_init_params |
struct stm32_gpio_init_param | stm32_ldac_gpio_init_params |
struct stm32_gpio_init_param | stm32_clear_gpio_init_params |
struct stm32_gpio_irq_init_param | stm32_trigger_gpio_irq_init_params |
struct stm32_pwm_init_param | stm32_pwm_extra_init_params |
struct stm32_gpio_init_param | stm32_pwm_gpio_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 APP_UART_USB_HANDLE hUsbDeviceHS |
#define CLEAR_GPIO 9 |
#define CLEAR_GPIO_PORT 6 |
#define gpio_ops stm32_gpio_ops |
#define I2C_DEV_ID 1 |
#define i2c_ops stm32_i2c_ops |
#define IRQ_CTRL_ID 10 |
#define LDAC_GPIO 10 |
#define LDAC_GPIO_PORT 0 |
#define LDAC_GPIO_PRIORITY 1 |
#define LDAC_PWM_CHANNEL 3 |
#define LDAC_PWM_CLK_DIVIDER 2 |
#define LDAC_PWM_HANDLE htim1 |
#define LDAC_PWM_ID 1 |
#define LDAC_PWM_PRESCALER 3 |
#define MAX_SAMPLING_RATE (uint32_t)(45823) |
#define MAX_SPI_CLK 11250000 |
#define pwm_ops stm32_pwm_ops |
#define SPI_CS_PORT 0 |
#define SPI_CSB 15 |
#define SPI_DEVICE_ID 1 |
#define spi_ops stm32_spi_ops |
#define TARGET_NAME SDP_K1 |
#define trigger_gpio_irq_ops stm32_gpio_irq_ops |
#define TRIGGER_INT_ID LDAC_GPIO |
#define UART_ID 5 |
#define UART_IRQ_ID UART5_IRQn |
#define uart_ops stm32_uart_ops |
#define vcom_ops stm32_usb_uart_ops |
void stm32_system_init | ( | void | ) |
Initialize the STM32 system peripherals.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |