Motherboard Forums


Reply
Thread Tools Display Modes

How to access IO registers on ADSP 21992 using C language?

 
 
Paul
Guest
Posts: n/a
 
      10-07-2005, 04:39 PM
How can I access IO register on 21992 using C language?

For example, if I want to write PWM0_TM, i can do this with Assemble
language like this:

IOPG=PWM0_Page; // page of PWM0 block
ar = PWM_Period;
IO(PWM0_TM)= ar; //write to PWM period register

But how can I do this with C language? I can not figure out how to set
the memory address for such IO registers.

Thanks.


thanks.

 
Reply With Quote
 
 
 
 
Thad Smith
Guest
Posts: n/a
 
      10-13-2005, 08:48 PM
Paul wrote:
>
> How can I access IO register on 21992 using C language?


Consult the documentation for your C compiler covering your specific
target. It should discuss this.

Thad
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ADSP-BF51x(F) - what is going on vladitx Embedded 2 09-25-2009 11:25 AM
ADSP BF538_Board Bring Up Query Nutty Embedded 3 07-18-2007 02:39 PM
Difference of core registers and peripheral registers Ravi kumar.N Embedded 1 03-14-2005 04:01 PM
Interfacing RTC R2016 with ADSP 2188 Raghavendra Embedded 1 11-12-2003 01:53 AM
ADSP 21160 - IO =?iso-8859-2?Q?Jacek_Potrymaj=B3o?= Embedded 0 06-30-2003 09:10 AM


All times are GMT. The time now is 01:34 PM.


Welcome!
Welcome to Motherboard Point
 

Advertisment