10 lines
302 B
C
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
|