1.8.10.11 MCSPIx_WriteBufferSizeGet Function

C

/* x = MCSPI instance number */

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

Summary

Returns the size of the PLIB's internal transmit buffer

Description

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

Precondition

None

Parameters

None

Returns

size_t - Size of the PLIB's internal transmit buffer

Example

size_t txBufferSize;

txBufferSize = MCSPI1_WriteBufferSizeGet();

Remarks

None.