Home arrow Support arrow Forums

Luminary Micro Forums

ar_mario

Expert Boarder
Click here to see the profile of this user

2007/03/10 13:39

library function to set any memory address

hi,
I need to set the ADC everage register control ADCSAC, but canīt find the way to set it. Other way is to direct acces to ther register, but
canīt find a function to witre any value in any especified memory adress, or a thing like as "#locate my_var = 0xFFFFFF" preprocesor command.

can anybody help me?

thank you.

PD. sorry for my worse english (i locate the "worse" term 5 minutes ago in a dictionary).

login or register to reply

LMI Eric

Moderator
Click here to see the profile of this user

2007/03/12 10:05

Re:library function to set any memory address

Look at the HWREG(x) macro in hw_types.h.

login or register to reply