|
precision-converters-firmware
|
Header file for STM32 platform configurations. More...
#include "stm32_uart.h"#include "stm32_spi.h"#include "stm32_i2c.h"#include "stm32_irq.h"#include "main.h"#include "stm32_pwm.h"#include "stm32_usb_uart.h"

Go to the source code of this file.
Functions | |
| void | stm32_system_init () |
| Initialize the STM32 system peripherals. | |
| void | MX_USB_DEVICE_Init (void) |
Variables | |
| UART_HandleTypeDef | huart5 |
| USBD_HandleTypeDef | APP_UART_USB_HANDLE |
| TIM_HandleTypeDef | htim1 |
| 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_pwm_init_param | stm32_pwm_extra_init_params |
| struct stm32_pwm_desc * | pwm_extra_params |
| struct stm32_usb_uart_init_param | stm32_vcom_extra_init_params |
Header file for STM32 platform configurations.
Copyright (c) 2026 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_TIM_HANDLE &htim1 |
| #define APP_UART_HANDLE &huart5 |
| #define APP_UART_USB_HANDLE hUsbDeviceHS |
| #define DUTY_CYCLE_IN_NS 50 |
| #define gpio_ops stm32_gpio_ops |
| #define HW_CARRIER_NAME SDP_K1 |
| #define I2C_BAUDRATE 400000 |
| #define I2C_DEVICE_ID 1 |
| #define i2c_ops stm32_i2c_ops |
| #define INTR_CALLBACK_EVENT NO_OS_EVT_TIM_PWM_PULSE_FINISHED |
| #define INTR_CALLBACK_PERIPHERAL NO_OS_TIM_IRQ |
| #define irq_platform_ops stm32_irq_ops |
| #define MAX_SPI_BAUDRATE 20000000 |
| #define PERIOD_FOR_ONE_READ 9000 |
| #define PERIOD_IN_NS 22500 |
| #define pwm_ops stm32_pwm_ops |
| #define PWM_PRIORITY 1 |
| #define PWM_TIM_IRQ_ID TIM1_CC_IRQn |
| #define SPI_CS_PORT 0 |
| #define SPI_CSB 15 |
| #define SPI_DEVICE_ID 1 |
| #define spi_extra_init_params stm32_spi_extra_init_params |
| #define spi_ops stm32_spi_ops |
| #define TIMER1_ID 1 |
| #define TIMER_1_CLK_DIVIDER 2 |
| #define TIMER_1_PRESCALER 0 |
| #define TIMER_CHANNEL_3 3 |
| #define TIMER_PWM_ID 1 |
| #define trigger_handle APP_TIM_HANDLE |
| #define TRIGGER_INT_ID PWM_TIM_IRQ_ID |
| #define uart_extra_init_params stm32_uart_extra_init_params |
| #define UART_IRQ_ID UART5_IRQn |
| #define uart_ops stm32_uart_ops |
| #define vcom_extra_init_params stm32_vcom_extra_init_params |
| #define vcom_ops stm32_usb_uart_ops |
| void MX_USB_DEVICE_Init | ( | void | ) |
|
extern |
Initialize the STM32 system peripherals.
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |