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.
15 lines
587 B
15 lines
587 B
/** \file uart1_rs485.h */
|
|
#if !defined(UART1_RS485_H__43E41896_F8DF_4ED4_B934_92ED846B67D5__INCLUDED_)
|
|
#define UART1_RS485_H__43E41896_F8DF_4ED4_B934_92ED846B67D5__INCLUDED_
|
|
|
|
#include "define.h"
|
|
|
|
void Uart1_RS485_Initialization(uint32_t Baudrate, UARTn_DATA_BIT_Type Databit, UARTn_PARITY_BIT_Type Paritybit, UARTn_STOP_BIT_Type Stopbit);
|
|
void Uart1_RS485_Transmit(uint8_t TxData);
|
|
void Uart1_RS485_TransmitData(uint8_t* pTxData, uint32_t TxLen);
|
|
uint32_t Uart1_RS485_Get_RecvDataCount(void);
|
|
uint8_t Uart1_RS485_Get_RecvData(void);
|
|
void Uart1_RS485_Push_Data(uint8_t RxData);
|
|
|
|
#endif
|