XDK API  3.6.0
Documentation
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:

Macros

#define BCDS_MODULE_ID   XDK_COMMON_ID_EXTENSIONPORTSPI
 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...
 

Functions

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...
 

Variables

static SemaphoreHandle_t SpiCompleteSync = NULL
 
static HWHandle_T SpiHandle
 

Macro Definition Documentation

#define BCDS_MODULE_ID   XDK_COMMON_ID_EXTENSIONPORTSPI

Function Documentation

static void AppCallback ( SPI_T  spi,
struct MCU_SPI_Event_S  event 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

SemaphoreHandle_t SpiCompleteSync = NULL
static
HWHandle_T SpiHandle
static

SPI handle for hardware SPI instance created for External SPI hardware


All rights reserved. The use is subject to the XDK SDK EULA by Bosch Connected Devices and Solutions GmbH.
This documentation file has been automatically generated on Thu Mar 14 2019 19:12:41 by doxygen 1.8.8