|
|||||||||||
Technical Support Support Resources
Product Information |
C51: 80C517: Using the 517 Multiply / Divide Unit in InterruptsInformation in this article applies to:
SYMPTOMSCan I use the high-speed multiply/divide unit of the Infineon 80C517 in my main program and in an interrupt routine? CAUSENo. The 517 multiply/divide unit does not allow recursive use of the MDU indexes. The overhead of saving and restoring these registers would eliminate the advantage of the MDU. Therefore, the MDU may be used in the main program or an interrupt, but not both. RESOLUTIONIf you must use the MDU in an interrupt and in your main code, you must disable interrupts in your main code when you multiply and divide, and restore interrupts when your math routines are finished. This ensures that interrupts do not run while you access the MDU of the 517. 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.