disable_interrupts
disable interrupts
Synopsis
#include <sysreg.h>
void disable_interrupts(void)
Description
The
disable_interrupts
tion to disable hardware interrupts.
This function is implemented as a compiler built-in. The emitted instruc-
tion will be inlined at the point of its use. The inclusion of the
include file is mandatory when using
The
disable_interrupts
Error Conditions
The
disable_interrupts
conditions.
Example
#include <sysreg.h>
main(){
disable_interrupts();
}
See Also
enable_interrupts, io_space_read, io_space_write, mode_change,
sysreg_read,
sysreg_write
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
function causes the compiler to emit an instruc-
disable_interrupts
function does not return a value.
function does not return, raise, or set any error
// emits "DIS INTS;"
// instruction inline
C/C++ Run-Time Library
.
sysreg.h
3-49
Need help?
Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?
Questions and answers