1.2.21.38 1.3.25.38 1.4.21.38 1.5.25.38 1.6.22.38 1.7.23.38 1.9.19.38 1.29.23.38 1.30.18.38 1.31.18.38 1.32.26.38 1.33.16.38 1.37.18.38 1.38.21.38 1.39.18.38 1.40.20.38 SERCOMx_SPI_WriteBufferSizeGet Function
C
/* x = SERCOM instance number */
/* SPI slave mode */
size_t SERCOMx_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 = SERCOM0_SPI_WriteBufferSizeGet();
Remarks
None.