DSPRelated.com
Forums

Volatile Help

Started by calvinteoh2003 June 18, 2003
Hi,

I am using a TMS320VC5402 DSK, in the codec examples there are

data = *(volatile u16*)DRR1_ADDR(sample);

what does the volatile stands for? and u16?

i am want to modify the part that will transfer the input into a
buffer, so that i can c the waveform of the input.

*After i have declare the pointer and stuff
int *input = &inp_buffer
.
.
.
input++ = *(volatile u16*)DRR1_ADDR(sample);

i have an error message.. what is wrong?

Thanks