Question:
Can we call adi_xxx_GetBuffer API after registering a callback?
Answer:
No. If the application calls the adi_xxx_GetBuffer after registering the callback, the call returns an error. When a callback is registered, peripheral errors and buffers are not returned with the adi_xxx_GetBuffer API call. The buffer pointer and peripheral errors are passed back to the application as callback arguments