fsfw-example-stm32h7-freertos/bsp_stm32h7_freertos/NUCLEO-H743ZI/Inc/hardware_init.h
2022-05-22 15:30:38 +02:00

37 lines
706 B
C

/**
* Additional layer for hardware initialization.
*/
#ifndef STM32_BSP_HARDWARE_INIT_H_
#define STM32_BSP_HARDWARE_INIT_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdbool.h>
#include <stdint.h>
#include <stm32h7xx_hal.h>
#include <stm32h7xx_hal_gpio.h>
#include <stm32h7xx_hal_uart.h>
/**
* Declaration of global hardware handlers here.
* Definition inside respective .cpp or .c files.
*/
extern UART_HandleTypeDef huart3;
extern GPIO_InitTypeDef gpio_uart_init_struct;
extern struct netif gnetif; /* network interface structure */
extern bool debugAvailable;
void performHardwareInit();
void Netif_Config(void);
#ifdef __cplusplus
}
#endif
#endif /* STM32_BSP_HARDWARE_INIT_H_ */