1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

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

Discussion in 'Embedded' started by Paul, Oct 7, 2005.

  1. Paul

    Paul Guest

    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.
    Paul, Oct 7, 2005
    #1
    1. Advertising

  2. Paul

    Thad Smith Guest

    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
    Thad Smith, Oct 13, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?iso-8859-2?Q?Jacek_Potrymaj=B3o?=

    ADSP 21160 - IO

    =?iso-8859-2?Q?Jacek_Potrymaj=B3o?=, Jun 30, 2003, in forum: Embedded
    Replies:
    0
    Views:
    446
    =?iso-8859-2?Q?Jacek_Potrymaj=B3o?=
    Jun 30, 2003
  2. Raghavendra

    Interfacing RTC R2016 with ADSP 2188

    Raghavendra, Nov 11, 2003, in forum: Embedded
    Replies:
    1
    Views:
    232
    Gary Kato
    Nov 12, 2003
  3. Ravi kumar.N
    Replies:
    1
    Views:
    301
    Thad Smith
    Mar 14, 2005
  4. Nutty

    ADSP BF538_Board Bring Up Query

    Nutty, Jul 12, 2007, in forum: Embedded
    Replies:
    3
    Views:
    234
    David Tweed
    Jul 18, 2007
  5. vladitx

    ADSP-BF51x(F) - what is going on

    vladitx, Sep 25, 2009, in forum: Embedded
    Replies:
    2
    Views:
    356
Loading...

Share This Page