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.

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