Macros | Functions | Variables
ExtensionUartExample.c File Reference
#include "XdkAppInfo.h"
#include "AppController.h"
#include "ExtensionUartExample.h"
#include "BSP_ExtensionPort.h"
#include "BCDS_UARTTransceiver.h"
#include "BCDS_MCU_UART.h"
#include <stdio.h>
+ Include dependency graph for ExtensionUartExample.c:


#define END_OF_FRAME   UINT8_C(0xAA)
#define UART_BAURDRATE   UINT32_C(9600)
#define UART_RX_ERROR   UINT32_C(0xFFFF)
#define UART_RX_SUCCESS   UINT32_C(0)


Retcode_T ExtensionUartExample_DeInitialize (void)
 This API is used to deinit the UART interface. Once this called, from there-on user needs to call ExtensionUartExample_Initialize for using the UART communication again. More...
Retcode_T ExtensionUartExample_Initialize (CmdProcessor_T *handle)
 This API is used to prepare the UART with the user configuration data. Once after this call the user can write over UART interface at any time. Read callback will happen for each byte and user can able to read received data using UartRead() More...
Retcode_T ExtensionUartExample_Read (uint8_t *readBuffer, uint8_t readlength, uint32_t *actualLength)
 This API is used to read the data received over the UART interface. More...
Retcode_T ExtensionUartExample_Write (uint8_t *writeBuffer, uint8_t writeLength)
 This API is used to write data over the UART interface. Once the UartInit() was success, user can transmit data over UART interface. More...
static bool FrameEndCheckFunc (uint8_t lastByte)
static void ProcessUartRxData (void *param1, uint32_t param2)
static void ProcessUartTxData (uint8_t *txBuff, uint32_t txLength)
static void SendUartResponseData (void *param1, uint32_t param2)
static void UartAppCallback (struct MCU_UART_Event_S event)
void UartCallBack (UART_T uart, struct MCU_UART_Event_S event)


static uint8_t TxBuffer [MAX_UART_RX_BUFFERSIZE]
static CmdProcessor_TuartCmdProcessorPtr = NULL
static uint8_t UartRxBuffInstance [MAX_UART_RX_BUFFERSIZE]
static UARTTransceiver_T UartTranscieverInstance

This documentation file has been automatically generated on Fri Oct 4 2019 03:46:56 by doxygen 1.8.8