Keil™, An ARM® Company

Technical Support

C251: DISABLE DIRECTIVE


Information in this article applies to:

  • C251 Version 1.24
  • C251 Version 2.14

QUESTION

How do I disable an interrupt?

ANSWER

The DISABLE directive instructs the compiler to generate code that disables all interrupts for the duration of a function. The DISABLE directive applies to one function and must be re-specified for each new function.

MORE INFORMATION

  • Refer to DISABLE in the Cx51 User's Guide.

Last Reviewed: Friday, July 15, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure