You are here

The #pragma Nomac command does not work | Cypress Semiconductor

Support & Community

The #pragma Nomac command does not work

Last Updated: June 12, 2011

The #pragma NoMac command does not seem to work, am I doing something wrong?


No, this pragma is broken.  The best way to avoid issues is to not use the MAC (Multiply-Accumulate unit) at all.  If the MAC is needed and it is used in the main code and the ISR, it is recommend that interrupts be disabled any time the MAC is used, to avoid data corruption.

Provide feedback on this article

Browse KB By Product

Browse KB by Type