AnsweredAssumed Answered

BF506F ADC and ACM

Question asked by odemirci on Dec 30, 2011
Latest reply on Jan 3, 2012 by vinodbableshwar

Hello,

 

On Hardware Reference Manual page 22-41 we have the following code. I would like to know what is in the functions of:

 

configure_enable_sport1(); and

 

set_trig();

 

Thank you,

Osman

 

.....

.....

 

/* Configure and enable SPORT1 */
configure_enable_sport1();
/* Now setup a trigger to initiate sampling */
/* ensure that any SPORT requirements around a
minimum number of stable external clock cycles
before assertion of the first SPORT frame sync
are observed (refer to "Programming Model" */
set_trig();
/* Wait for all events to complete */
wait();
/* Disable the SPORT */
disable_sport1();
/* Finally, disable the ACM */
write(ACM_CTL, 0x0000, 16bit);
...
...

Outcomes