Hi all!
I need to read out the actuall value of the special function register (SFR). How can I do that? I use the Keil uVision environment with an 251 based controller!
Thanks for your help!
Thanks for you reply! There are some mistakes in my expression. I mean I can see the value of SFR in the register window, but I want to get the value of SFR saved to a file in HEX format.
And what gain would it be to have a single SFR value stored in a hex-format file?
When debugging, it really isn't much use to store temporary register values in a hex file.
When writing a data logger, you would normally write code that takes values from an ADC or similar and send to a serial port or similar, using whatever protocol that feels relevant.