Talk About Network

Google





Electronic Equipment > Digital Signal Processing (DSP) > Basic C Problem
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 13980 of 14426
Post > Topic >>

Basic C Problem

by "Akash_DSP" <mathur.akash@[EMAIL PROTECTED] > Oct 3, 2008 at 12:47 PM

Hi,

I am working on C6416 DSK with a duaghter board on it. I am runnig the
tutorial given in it. They are runnig fine but I am finding it tough
understanding them. Since I am not very good in C i will appreciate if you
could tell me the meaning of the following line
  
 *(short *)dacaddr1 = value;

Where the variables are defined as following:

#define CSADC	AVR32BASE
#define WRDAC1	AVR32BASE + 0x4
#define WRDAC2	AVR32BASE + 0xC
unsigned int dacaddr1,dacaddr2
dacaddr1 = WRDAC1;
dacaddr2 = WRDAC2;
short value;

Looking forward for your reply.

Thanks

Akash
 




 5 Posts in Topic:
Basic C Problem
"Akash_DSP" <  2008-10-03 12:47:43 
Re: Basic C Problem
cincydsp@[EMAIL PROTECTED  2008-10-03 11:00:54 
Re: Basic C Problem
cs_posting@[EMAIL PROTECT  2008-10-03 11:08:15 
Re: Basic C Problem
"Akash_DSP" <  2008-10-03 15:15:53 
Re: Basic C Problem
Tim Wescott <tim@[EMAI  2008-10-04 08:44:11 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 20:33:33 PST 2009.