Settings and definitions for the interrupt monitor.
Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | classb_intmon_interrupt |
Data structure for the interrupts that are monitored. More... | |
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... | |
enum | classb_int_states { ON, OFF, M_ENABLE, M_DISABLE } |
Enumeration of interrupt states. More... | |
Functions | |
void | classb_intmon_callback (void) |
The interrupt monitor. More... | |
void | classb_intmon_increase (enum classb_int_identifiers identifier) |
Increase the counter for the specified interrupt. More... | |
void | classb_intmon_reg_int (enum classb_int_identifiers identifier, uint16_t interrupt_counter, uint8_t tolerance_percent) |
Register an interrupt. More... | |
void | classb_intmon_set_state (enum classb_int_identifiers identifier, enum classb_int_states state) |
Set a state for the specified interrupt. More... | |