cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F101-Global interrupt enable/disable

bozorgzad
Associate II
Posted on December 10, 2009 at 06:26

STM32F101-Global interrupt enable/disable

3 REPLIES 3
bozorgzad
Associate II
Posted on May 17, 2011 at 13:05

Hi

I want to have control on global interrupt,but I couldnt find any register for it,what I want is to have a control to disable all of the interrupts at the same time using one cycle instruction.Will appreciate for your help

16-32micros
Associate III
Posted on May 17, 2011 at 13:05

Hi bozorgzad,

Refer to this FAQ :

http://www.st.com/stonline/faq/faqview.php?ids=1246

Cheers,

STOne-32.

[ This message was edited by: STOne-32 on 09-03-2009 18:36 ]

per239955_stm1_st
Associate
Posted on May 17, 2011 at 13:05

Nowadays with 3.x version of the library the functions are defined in core_cm3.h and are named:

__disable_irq();

__enable_irq();

Short info about the functionality can be found in CMSIS_Core.htm document (provided with the library). More info on page 18-19 in the PM0056 doc. (15491.pdf manual april 2009 version).

Best regards,

Per