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

What does "sfr" stand for?

Hi all,

Is "sfr" a typedef or a #define? How is it declared?

I would like to create a "pfr type" to access memory mapped peripherals in the xdata memory and also be able to use the same syntax for accessing them as with ordinary SFRs.

For example:
pfr myReg = 0x3FF0;
myReg = newVal;

Thanks you,
Georgios

0