You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
522 B
16 lines
522 B
6 months ago
|
/** \file uart1.h */
|
||
|
#if !defined(UART1_H__A3672F4B_1033_433E_A296_1444C586906C__INCLUDED_)
|
||
|
#define UART1_H__A3672F4B_1033_433E_A296_1444C586906C__INCLUDED_
|
||
|
|
||
|
#include "board_config.h"
|
||
|
#include "define.h"
|
||
|
|
||
|
|
||
|
void Uart1_Initialization(uint32_t Baudrate, UARTn_DATA_BIT_Type Databit, UARTn_PARITY_BIT_Type Paritybit, UARTn_STOP_BIT_Type Stopbit);
|
||
|
void Uart1_Transmit(uint8_t TxData);
|
||
|
void Uart1_TransmitData(uint8_t* pTxData, uint32_t TxLen);
|
||
|
uint32_t Uart1_Get_RecvDataCount(void);
|
||
|
uint8_t Uart1_Get_RecvData(void);
|
||
|
|
||
|
#endif
|