This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Making a FAR pointer

Hi all,

I have the following:
u8_t far * ptr;
u8_t buf[10];

and on positions 1,2,3 (buf) I have the FAR address (3 bytes) that I want to use:

*ptr = 1; // for instance;

How can I give ptr the value of the 3 bytes on the array?
Something like : ptr = MAKE_FAR_PTR(&buf[1]);

This is for Dallas contiguous mode.



thanks,
joao

0