1.8.10.10 MCSPIx_ReadBufferSizeGet Function

C

/* x = MCSPI instance number */

/* MCSPI slave mode */
size_t MCSPIx_ReadBufferSizeGet(void)

Summary

Returns the size of the PLIB's internal receive buffer

Description

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

Precondition

None

Parameters

None

Returns

size_t - Size of the PLIB's internal receive buffer

Example

size_t rxBufferSize;

rxBufferSize = MCSPI1_ReadBufferSizeGet();

Remarks

None