Microchip® Advanced Software Framework

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages

Settings for the interrupt monitor.

Macros

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

Enumerations

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

#define CLASSB_STRICT_INTMON

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

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

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
TEMP_SANITY_TEST 
PER_CLASSB_TESTS 
N_INTERRUPTS 

Number of registered interrupts.