|
|||||||||||
Technical Support Support Resources
Product Information |
C51: Using Non-reentrant Function in Main and InterruptsInformation in this article applies to:
QUESTIONI use the atof function in an interrupt service routine and in the main program loop. Since atof is not reentrant, I receive the following linker warning:
Is there a way to use atof from both the interrupt and the main routine? ANSWERYes. It is possible to use non-reentrant functions in both interrupt and main routines.
SEE ALSO
Last 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.