MHVLib  20111011
An efficiency oriented runtime library for AVR microcontrollers
A:/eclipse/mhvlib/MHV_Debounce.h File Reference
#include <string.h>
#include <MHV_RTC.h>
#include <MHV_io.h>
#include <MHV_PinChangeManager.h>

Go to the source code of this file.

Classes

class  MHV_DebounceListener
struct  mhv_debouncePin
class  MHV_Debounce

Defines

#define MHV_DEBOUNCE_ASSIGN_PCINT(__mhvDebounce)
#define MHV_DEBOUNCE_ASSIGN_PCINT0(__mhvDebounce)
#define MHV_DEBOUNCE_ASSIGN_PCINT1(__mhvDebounce)
#define MHV_DEBOUNCE_ASSIGN_PCINT2(__mhvDebounce)
#define MHV_DEBOUNCE_ASSIGN_INTERRUPTS(mhvDebounce)   MHV_DEBOUNCE_ASSIGN_PCINT(_mhvDebounce)

Typedefs

typedef struct mhv_debouncePin MHV_DEBOUNCE_PIN

Define Documentation

#define MHV_DEBOUNCE_ASSIGN_INTERRUPTS (   mhvDebounce)    MHV_DEBOUNCE_ASSIGN_PCINT(_mhvDebounce)

Definition at line 52 of file MHV_Debounce.h.

#define MHV_DEBOUNCE_ASSIGN_PCINT (   __mhvDebounce)
Value:
ISR(PCINT_vect) { \
        __mhvDebounce.pinChange0(); \
}

Definition at line 18 of file MHV_Debounce.h.

#define MHV_DEBOUNCE_ASSIGN_PCINT0 (   __mhvDebounce)
Value:
ISR(PCINT0_vect) { \
        __mhvDebounce.pinChange0(); \
}

Definition at line 23 of file MHV_Debounce.h.

#define MHV_DEBOUNCE_ASSIGN_PCINT1 (   __mhvDebounce)
Value:
ISR(PCINT1_vect) { \
        __mhvDebounce.pinChange1(); \
}

Definition at line 28 of file MHV_Debounce.h.

#define MHV_DEBOUNCE_ASSIGN_PCINT2 (   __mhvDebounce)
Value:
ISR(PCINT2_vect) { \
        __mhvDebounce.pinChange2(); \
}

Definition at line 33 of file MHV_Debounce.h.


Typedef Documentation

Definition at line 68 of file MHV_Debounce.h.