1.8.7.36 1.25.6.36 1.26.5.36 1.27.5.36 1.28.6.36 1.36.7.34 1.41.5.36 1.42.3.36 FLEXCOMx_SPI_WriteBufferSizeGet Function

C

/* x = FLEXCOM instance number */

/* SPI slave mode */

size_t FLEXCOMx_SPI_WriteBufferSizeGet(void)

Summary

Returns the size of the PLIB's internal transmit buffer

Description

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

Precondition

None

Parameters

None

Returns

size_t - Size of the PLIB's internal transmit buffer

Example

size_t txBufferSize;

txBufferSize = FLEXCOM0_SPI_WriteBufferSizeGet();

Remarks

None.