Xmega IEC60730 Class B Library  1.0
 All Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Settings

Detailed Description

Settings for the interrupt monitor.

Macros

#define CLASSB_STRICT
 Behavior for re-enabling or re-disabling monitoring of interrupts.

Enumerations

enum  classb_int_identifiers { MY_INTERRUPT, N_INTERRUPTS }
 Enumeration of interrupt identifiers. More...

Macro Definition Documentation

#define CLASSB_STRICT

Behavior for re-enabling or re-disabling monitoring of interrupts.

If this is defined, enabling an interrupt that is on ON state or disabling an interrupt that is on OFF state will call the error handler.

Definition at line 120 of file classb_interrupt_monitor.h.


Enumeration Type Documentation

Enumeration of interrupt identifiers.

This enumeration holds the identifiers for the interrupts that should be monitored. These identifiers are used in the interrupt when calling functions related to the interrupt monitor: classb_intmon_reg_int(), classb_intmon_increase() and classb_intmon_set_state(). Interrupt identifiers are included before N_INTERRUPTS, so that it will hold the total number of registered interrupts.

Enumerator:
MY_INTERRUPT 

Identifier of the interrupt.

N_INTERRUPTS 

This will keep the number of registered interrupts.

Definition at line 112 of file classb_interrupt_monitor.h.