46#include "uart_interface.h"
66#define UART1_Drv_Initialize UART1_Initialize
72#define UART1_Drv_Deinitialize UART1_Deinitialize
78#define UART1_Drv_Read UART1_Read
84#define UART1_Drv_Write UART1_Write
90#define UART1_Drv_IsRxReady UART1_IsRxReady
96#define UART1_Drv_IsTxReady UART1_IsTxReady
102#define UART1_Drv_IsTxDone UART1_IsTxDone
108#define UART1_Drv_TransmitEnable UART1_TransmitEnable
114#define UART1_Drv_TransmitDisable UART1_TransmitDisable
120#define UART1_Drv_AutoBaudSet UART1_AutoBaudSet
126#define UART1_Drv_AutoBaudQuery UART1_AutoBaudQuery
132#define UART1_Drv_AutoBaudEventEnableGet UART1_AutoBaudEventEnableGet
138#define UART1_Drv_ErrorGet UART1_ErrorGet
144#define UART1_Drv_BRGCountSet UART1_BRGCountSet
150#define UART1_Drv_BRGCountGet UART1_BRGCountGet
156#define UART1_Drv_BaudRateSet UART1_BaudRateSet
162#define UART1_Drv_BaudRateGet UART1_BaudRateGet
void UART1_BaudRateSet(uint32_t baudRate)
Sets the calculated Baud-Rate of UART1.
void UART1_Initialize(void)
Initializes the UART driver.
void UART1_TransmitDisable(void)
Disables UART1 transmit.
void UART1_AutoBaudSet(bool enable)
Enables or disables UART1 Auto-Baud detection.
bool UART1_IsRxReady(void)
Returns a boolean value if data is available to read.
void UART1_TransmitEnable(void)
Enables UART1 transmit.
uint8_t UART1_Read(void)
Reads a byte of data from the UART1.
const struct UART_INTERFACE UART1_Drv
Structure object of type UART_INTERFACE with the custom name given by the user in the Melody Driver U...
bool UART1_IsTxDone(void)
Indicates if all bytes have been transferred.
void UART1_Write(uint8_t data)
Writes a byte of data to the UART1.
size_t UART1_ErrorGet(void)
Returns the error status of UART1.
void UART1_Deinitialize(void)
Deinitializes the UART to POR values.
bool UART1_AutoBaudQuery(void)
Returns the status of Auto-Baud detection.
bool UART1_AutoBaudEventEnableGet(void)
Returns enable state of the Auto-Baud feature.
uint32_t UART1_BaudRateGet(void)
Gets the actual Baud-Rate of UART1.
uint32_t UART1_BRGCountGet(void)
Gets the BRG value of UART1.
bool UART1_IsTxReady(void)
Returns a boolean value if data can be written.
void UART1_BRGCountSet(uint32_t brgValue)
Sets the BRG value of UART1.
Structure containing the function pointers of UART driver.