no-OS
Loading...
Searching...
No Matches
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __PARAMETERS_H__
34#define __PARAMETERS_H__
35
36#include "stm32_hal.h"
37#include "stm32_irq.h"
38#include "stm32_gpio.h"
39#include "stm32_i2c.h"
40#include "stm32_uart.h"
41#include "stm32_uart_stdio.h"
42
43/******************************************************************************/
44/********************** Macros and Constants Definitions ********************/
45/******************************************************************************/
46
47/* UART Configuration */
48#define UART_DEVICE_ID 1
49#define UART_IRQ_ID UART5_IRQn
50#define UART_BAUDRATE 115200
51#define UART_EXTRA &ltm3360b_uart_extra_ip
52#define UART_OPS &stm32_uart_ops
53
54/* I2C Configuration */
55#define I2C_DEVICE_ID 1
56#define I2C_BAUDRATE 100000
57#define I2C_OPS &stm32_i2c_ops
58
59/******************************************************************************/
60/********************** Variables and User defined data types ****************/
61/******************************************************************************/
62
64
65extern UART_HandleTypeDef huart5;
66
67
68#endif /* __PARAMETERS_H__ */
UART_HandleTypeDef huart5
struct stm32_uart_init_param ltm3360b_uart_extra_ip
STM32 UART extra initialization parameters for console communication.
Definition parameters.c:41
Header file for stm32 gpio specifics.
Header file for the stm32 i2c driver.
Header file for stm32 irq specifics.
Header file of UART driver for STM32.
Header file of stm32 UART driver stdout/stdin redirection.
Specific initialization parameters for stm32 UART.
Definition stm32_uart.h:46