|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Locate struct to SFR SpaceInformation in this article applies to:
QUESTIONIs there a way to locate a C struct into the 8051's SFR (Special Function Register) area? ANSWERYes. Define the structure in C and declare an external structure. For example:
Then, create an Assembly Module to define the starting address of the external structure. For example:
MORE INFORMATION
SEE ALSOLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.