This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PGA970: Disable all interrupts for period of time

Part Number: PGA970

Hi,

Im having som accuarcy problems with timing which are most likely a result of interrupts interrupting my main-function in certain points.
Is there a way to diable interrupts as a whole?
If so i could disable interrupts and enable them after the critical part of my programm.


  • Hi Paul,

    There are some interrupt sources inherent to the PGA970, which are the ADC1 interrupt, the OWI activation interrupt, and the COMBUF RX interrupt. These can all be disabled through the PGA970's control and status registers. Any other interrupts will be specific to the M0 core (you can find these in the Cortex M0 Specific Registers table in the PGA970 datasheet), and should be described in detail in the M0 user's guide. 

    Regards,