1.8.7.44 1.25.6.44 1.26.5.44 1.27.5.44 1.28.6.44 1.36.7.42 1.41.5.44 1.42.3.44 FLEXCOMx_SPI_Initialize Function
C
/* x = FLEXCOM instance number */ /* SPI master and slave mode */ void FLEXCOMx_SPI_Initialize (void)
Summary
Initializes FLEXCOM SPI module of the device
Description
This function initializes FLEXCOM SPI module of the device with the values configured in MHC GUI. Once the peripheral is initialized, transfer APIs can be used to transfer the data.
Precondition
MHC GUI should be configured with the correct values.
Parameters
None
Returns
None
Example
FLEXCOM0_SPI_Initialize();
Remarks
This function must be called only once and before any other FLEXCOM SPI function is called