Page 1 of 1

ADC Control

Posted: Fri Oct 16, 2015 3:54 pm
by AlSith
Hi everybody.

I red that ADC gives back a signaling when it fills in half buffer, and another one when it fills in complete buffer ..is not so ..??

where can i get control of these flags ..??

Re: ADC Control

Posted: Fri Oct 16, 2015 4:09 pm
by Giovanni
There is an ADC callback, that is called after filling an half buffer, see the examples.

Giovanni

Re: ADC Control

Posted: Fri Oct 16, 2015 4:19 pm
by AlSith
yeah..the callbacks..sorry :oops: :oops: :cry: :cry:

Re: ADC Control

Posted: Tue Oct 20, 2015 10:02 am
by AlSith
Since the callback is called twice, when buffer is half-full and full, to work on first half samples and then on the second one, what control i have to do..??

Exactly, the code

Code: Select all

if(buffer==samples)


how does it works?

Re: ADC Control

Posted: Tue Oct 20, 2015 11:54 am
by Giovanni
buffer is the pointer to the filled semi buffer.

Giovanni

Re: ADC Control

Posted: Wed Oct 21, 2015 11:23 am
by AlSith
thanks a lot..as I supposed.. :D :D

AlSith