1.10.21.2 1.11.21.2 1.12.22.2 1.13.20.2 1.14.15.2 1.15.16.2 1.16.22.2 1.17.18.2 1.18.18.2 1.19.18.2 1.20.22.2 1.21.23.2 1.22.25.2 1.23.23.2 1.24.20.2 1.27.22.2 1.34.20.2 1.35.13.2 SPIx_WriteBufferSizeGet Function
C
/* x = SPI instance number */
/* SPI slave mode */
size_t SPIx_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 = SPI1_WriteBufferSizeGet();
Remarks
None.