static int getFreeBufferCapacity(byte rxtxBuffer)
Throws:
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Parameter | Range | Description |
---|---|---|
rxtxBuffer | SPI.RXBUFFER or SPI.TXBUFFER | the according buffer |
This method is used to get the current number of frames which can be stored in the according buffer. It returns -1 if a wrong input value is selected.
Returns | Description |
---|---|
val | the free capacity of the selected buffer |
Note
Example
SPI.getFreeBufferCapacity(SPI.RXBUFFER);
This method returns the number of available frames that can be stored into the according buffer.
Copyright © demmel products gmbh. All rights reserved.