19 lines
384 B
C
19 lines
384 B
C
#ifndef USART_H_
|
|
#define USART_H_
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
void USART1_SendPacket(const uint8_t *data, uint8_t length);
|
|
uint8_t USART1_ReceiveByte(void);
|
|
uint8_t USART1_ReceiveByteTimeout(uint32_t timeout);
|
|
void USART1_Flush(void);
|
|
|
|
|
|
uint16_t USART1_ReceiveUInt16(void);
|
|
int16_t USART1_ReceiveInt16(void);
|
|
uint32_t USART1_ReceiveUInt32(void);
|
|
int32_t USART1_ReceiveInt32(void);
|
|
|
|
#endif
|