1 2 3 4 5 6 7 8 9
#ifndef __usart_H #define __usart_H #include "stm32f0xx_hal.h" void uart_init(void); UART_HandleTypeDef* uart_gethandle(void); #endif