mikroSDK Reference Manual
Interrupts Library

The Interrupts library provides functions set for managing interrupts in code. More...

Functions list

void interrupts_enable (void)
 Enables interrupts on the global level. More...
 
void interrupts_disable (void)
 Disables interrupts on the global level. More...
 
void interrupt_enable (int interrupt)
 Enables module specific interrupt. More...
 
void interrupt_disable (int interrupt)
 Disables module specific interrupt. More...
 

Detailed Description

The actual source code of this library can be found in the installation folder of compiler, it is documented here for the sake of convenience.

Function Documentation

◆ interrupts_enable()

void interrupts_enable ( void  )

Enables interrupts on the global level.

Returns
Nothing.

◆ interrupts_disable()

void interrupts_disable ( void  )

Disables interrupts on the global level.

Returns
Nothing.

◆ interrupt_enable()

void interrupt_enable ( int  interrupt)

Enables module specific interrupt.

Parameters
[in]interruptIVT number. Type INTERRUPTS_ in Code Editor and use Ctrl + Space to select desired interrupt vector.
Returns
Nothing.

◆ interrupt_disable()

void interrupt_disable ( int  interrupt)

Disables module specific interrupt.

Parameters
[in]interruptIVT number. Type INTERRUPTS_ in Code Editor and use Ctrl + Space to select desired interrupt vector.
Returns
Nothing.