Loading...
Searching...
No Matches
irq_arch.h File Reference

ISR related functions. More...

Detailed Description

#include <stdbool.h>
#include <msp430.h>
#include "irq.h"
+ Include dependency graph for irq_arch.h:

Go to the source code of this file.

#define _GENERAL_INTERRUPT_ENABLE   (0x0008)
 
volatile int __irq_is_in
 
static unsigned int irq_disable (void)
 
static unsigned int irq_enable (void)
 
static void irq_restore (unsigned int state)
 
static bool irq_is_in (void)
 
static bool irq_is_enabled (void)
 

Macro Definition Documentation

◆ _GENERAL_INTERRUPT_ENABLE

#define _GENERAL_INTERRUPT_ENABLE   (0x0008)

Definition at line 41 of file irq_arch.h.

Function Documentation

◆ irq_disable()

static unsigned int irq_disable ( void  )
inlinestatic

Definition at line 43 of file irq_arch.h.

◆ irq_enable()

static unsigned int irq_enable ( void  )
inlinestatic

Definition at line 59 of file irq_arch.h.

◆ irq_is_enabled()

static bool irq_is_enabled ( void  )
inlinestatic

Definition at line 92 of file irq_arch.h.

◆ irq_is_in()

static bool irq_is_in ( void  )
inlinestatic

Definition at line 87 of file irq_arch.h.

◆ irq_restore()

static void irq_restore ( unsigned int  state)
inlinestatic

Definition at line 76 of file irq_arch.h.