Reply by otri...@gmail.com July 26, 20102010-07-26
Hi Marcin

interrupts will continue always unless you stop them, but they normally only take a short amount of time.
Therefore there is normally a lot of time in between interrupts for executing code. In between interrupts the program counter remembers where it was in your program in main. After each interrupt your program in main continues to execute.

Instead of just while(1) you should write:

while(1)
{
//Put your code here.
}

>
> Hi,
> how can I record 5 sec of voice in BF533 with a Talkthrough application?
> I try to use Talkthorugh application, but I don't really know how can I instead of� while(1) loop (in�main.c)�stop the intrruption of AudioCodec after a desired period of time and then proceed my programm to process audio data.
> �
> Marcin R.
> �