1.8.7.41 1.25.6.41 1.26.5.41 1.27.5.41 1.28.6.41 1.36.7.39 1.41.5.41 1.42.3.41 FLEXCOMx_SPI_ReadBufferSizeGet Function

C

/* x = FLEXCOM instance number */

/* SPI slave mode */

size_t FLEXCOMx_SPI_ReadBufferSizeGet(void)

Summary

Returns the size of the PLIB's internal receive buffer

Description

This function returns the size of the SPI PLIB's internal receive buffer. The receive buffer size will be the same as configured in MHC

Precondition

None

Parameters

None

Returns

size_t - Size of the PLIB's internal receive buffer

Example

size_t rxBufferSize;

rxBufferSize = FLEXCOM0_SPI_ReadBufferSizeGet();

Remarks

None