|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Errors Using SBIT and SFRInformation in this article applies to:
QUESTIONI've created the following program.
When I compile it, I receive the following error messages:
What's wrong? ANSWERSBIT and SFR objects may not be declared inside a function definition. They must be declared outside of a function. The following code compiles with no errors or warnings.
MORE INFORMATIONLast 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.