Xmega IEC60730 Class B Library  1.0
 All Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
classb_interrupt_monitor.c File Reference

Detailed Description

This file contains functions for monitoring the frequency of execution of registered interrupts.

Application note:
AVR1610: Guide to IEC60730 Class B compliance with XMEGA
Documentation
For comprehensive code documentation, supported compilers, compiler settings and supported devices see readme.html
Author:
Atmel Corporation: http://www.atmel.com
Support email: avr@a.nosp@m.tmel.nosp@m..com

Copyright (C) 2012 Atmel Corporation. All rights reserved.

Definition in file classb_interrupt_monitor.c.

+ Include dependency graph for classb_interrupt_monitor.c:

Go to the source code of this file.

Functions

void classb_intmon_reg_int (enum classb_int_identifiers identifier, uint16_t reference, uint8_t tolerance)
 Registers an interrupt.
void classb_intmon_increase (enum classb_int_identifiers identifier)
 Increases the interrupt counter of the specified interrupt.
void classb_intmon_set_state (enum classb_int_identifiers identifier, enum classb_int_states state)
 Set a state for the specified interrupt.
void classb_intmon_callback ()
 The interrupt monitor.

Variables

struct intmon_interrupt monitored_interrupts [N_INTERRUPTS]
 Array of data structures for the interrupts that should be monitored.