Macros | Functions | Variables
ExtensionPortSpi.c File Reference
#include "XdkCommonInfo.h"
#include "ExtensionPortSpi.h"
#include "BCDS_Assert.h"
#include "BCDS_MCU_SPI.h"
#include "BSP_ExtensionPort.h"
#include "FreeRTOS.h"
#include "semphr.h"
#include "timers.h"
+ Include dependency graph for ExtensionPortSpi.c:


 This Module contains necessary implementation in order to enable user to develop his application using the Extension port SPI communication interface. This module can be used a reference design for interfacing user device via SPI of extension port. More...


static void AppCallback (SPI_T spi, struct MCU_SPI_Event_S event)
 Callback function to be triggered upon Tx & Rx interrupts through the SPI. More...
Retcode_T ExtensionPortSpi_DeInitialize (void)
 This API Deinitialize the SPI interface driver. More...
Retcode_T ExtensionPortSpi_Initialize (ExtensionPortSpi_Config_T *config)
 This API initialize the SPI Interface Driver. More...
Retcode_T ExtensionPortSpi_Read (uint8_t *readVal, uint32_t readLength, uint32_t timeout)
 This API will Read the value from the SPI interface driver. More...
Retcode_T ExtensionPortSpi_Write (uint8_t *writeVal, uint32_t writeLength, uint32_t timeout)
 This API will Write the Value to the SPI interface driver. More...


static SemaphoreHandle_t SpiCompleteSync = NULL
static HWHandle_T SpiHandle

Macro Definition Documentation


Function Documentation

static void AppCallback ( SPI_T  spi,
struct MCU_SPI_Event_S  event 

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

SemaphoreHandle_t SpiCompleteSync = NULL
HWHandle_T SpiHandle

SPI handle for hardware SPI instance created for External SPI hardware

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