XDK API  3.6.0
Documentation
Files
SPI

Unified SPI (Serial Peripheral Interface) API. More...

+ Collaboration diagram for SPI:

Files

file  BCDS_MCU_SPI.h
 

Detailed Description

A typical use of this API would start with initializing the SPI instance. This will initializes the SPI with default settings.

retcode = MCU_SPI_Initialize(spi, callback);

Now, the SPI is configured and active such that the communication can start. The application should use the function MCU_SPI_Receive() to receive a certain number bytes.

For sending, the application uses the function MCU_SPI_Send().

Note
It is possible to disable the entire SPI feature in the HAL-BSP configuration file. I.e. the SPI code will only be compiled and linked if the feature BCDS_FEATURE_SPI is set to 1 in the configuration file.

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:53 by doxygen 1.8.8