Projet_voilier2/Drivers/Inc/UART.h
2023-03-27 20:17:23 +02:00

10 lines
302 B
C

#ifndef MYUART_H
#define MYUART_H
#include "stm32f10x.h"
void MyUART_init(void);
void UART_send(char data); //à revoir
void MyUART_ActiveIT(char Prio, void (*IT_function)(void), char mode); //mode permet d'activer soit l'interruption sur RX (mode='r') soit TX (mode='t')
char UART_receive();
#endif