28.2.48 __builtin_readsfr
Description
Reads the Special Function Register (SFR).
Prototype
unsigned int __builtin_readsfr(const void *p);
Argument
p
– object address
Return Value
Returns the SFR value.
Assembler Operator/ Machine Instruction
readsfr
Error Messages
If the object address is not in the range of SFR memory space, an error will be produced. Consult your device data sheet for the memory range.