You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
480 B
C

/*
* uart.h
*
* Created on: Mar 5, 2024
* Author: nicon
*/
#ifndef INC_UART_H_
#define INC_UART_H_
#include "stm32l4xx_hal.h" // Sie müssen möglicherweise den genauen Pfad entsprechend Ihrem Projekt anpassen
#include "main.h"
#include <string.h>
extern UART_HandleTypeDef huart2;
// Prototyp der Funktion zum Löschen des Empfangspuffers der UART-Schnittstelle
void clearSerialBuffer(UART_HandleTypeDef *huart);
void clearSerialOutput();
#endif /* INC_UART_H_ */