Arduino_AdvancedAnalog - SampleBuffer.getflags()

Returns true if any of the buffer flags specified in the mask argument is set. The flags can be one or both of two options: DMA_BUFFER_DISCONT set if the capture was stopped and then restarted, and DMA_BUFFER_INTRLVD which indicates that the data in the buffer is interleaved.

buf.getflags(uint32_t mask)

Returns

Returns true if any of the buffer flags specified in the mask argument is set, otherwise returns false.