Nut/OS  4.10.3
API Reference
ih_timer0_comp.c File Reference

Timer/Counter 0 compare match interrupt. More...

#include <dev/irqreg.h>
Include dependency graph for ih_timer0_comp.c:

Go to the source code of this file.

Defines

#define INT_MASK_REG   TIMSK
#define INT_STATUS_REG   TIFR
#define INT_ENABLE_BIT   OCIE0
#define INT_STATUS_BIT   OCF0
#define INT_PRIORITY   14

Functions

void SIG_OUTPUT_COMPARE0 (void)
 Timer 0 output compare interrupt entry.

Variables

IRQ_HANDLER sig_OUTPUT_COMPARE0

Detailed Description

Timer/Counter 0 compare match interrupt.

 *
 * $Log$
 * Revision 1.6  2009/01/17 11:26:37  haraldkipp
 * Getting rid of two remaining BSD types in favor of stdint.
 * Replaced 'u_int' by 'unsinged int' and 'uptr_t' by 'uintptr_t'.
 *
 * Revision 1.5  2008/08/11 11:51:17  thiagocorrea
 * Preliminary Atmega2560 compile options, but not yet supported.
 * It builds, but doesn't seam to run properly at this time.
 *
 * Revision 1.4  2008/08/11 06:59:15  haraldkipp
 * BSD types replaced by stdint types (feature request #1282721).
 *
 * Revision 1.3  2007/04/12 09:23:15  haraldkipp
 * ATmega2561 uses different interrupt vector names. One day we should
 * switch to the new names used by avr-libc.
 *
 * Revision 1.2  2006/10/08 16:48:07  haraldkipp
 * Documentation fixed
 *
 * Revision 1.1  2006/02/08 15:14:21  haraldkipp
 * Using the vector number as a file name wasn't a good idea.
 * Moved from ivect*.c
 *
 * Revision 1.4  2006/01/25 09:38:50  haraldkipp
 * Applied Thiago A. Correa's patch to fix ICC warnings.
 *
 * Revision 1.3  2005/12/06 23:20:17  hwmaier
 * Changes to make register and flag names compatible with AT90CAN128 MCU
 *
 * Revision 1.2  2005/10/24 09:34:30  haraldkipp
 * New interrupt control function added to allow future platform
 * independant drivers.
 *
 * Revision 1.1  2005/07/26 18:02:40  haraldkipp
 * Moved from dev.
 *
 * Revision 1.2  2004/01/30 17:02:19  drsung
 * Separate interrupt stack for avr-gcc only added.
 *
 * Revision 1.1.1.1  2003/05/09 14:40:42  haraldkipp
 * Initial using 3.2.1
 *
 * Revision 1.2  2003/03/31 14:53:06  harald
 * Prepare release 3.1
 *
 * 

Definition in file ih_timer0_comp.c.


Define Documentation

#define INT_MASK_REG   TIMSK

Definition at line 97 of file ih_timer0_comp.c.

#define INT_STATUS_REG   TIFR

Definition at line 98 of file ih_timer0_comp.c.

#define INT_ENABLE_BIT   OCIE0

Definition at line 99 of file ih_timer0_comp.c.

#define INT_STATUS_BIT   OCF0

Definition at line 100 of file ih_timer0_comp.c.

#define INT_PRIORITY   14

Definition at line 101 of file ih_timer0_comp.c.