AVRCpp::ExternalInterrupt::Interrupt0 Struct Reference

#include <ExternalInterrupt.h>

Inherits AVRCpp::ExternalInterrupt::Internal::InterruptBase< InputPin, EventEnum, EventBits, InterruptEnableBit, InterruptFlagBit, eventShift >< InputPin0< PortD >,AsyncEvent,Bits< _EICRA, 0x1|0x2 >,Bits< _EIMSK, 0x1 >,Bits< _EIFR, 0x1 >,0 >.

List of all members.

Public Types

typedef InputPin Pin

Static Public Member Functions

static void Evoke ()
template<class DelegateType>
static DelegateType & Me ()
template<class ControllerType>
static ControllerType & Controller ()
static void SetEvent (EventEnum event)
static uint8_t GetEvent ()
static void SetDisabledEvent (EventEnum event)
static void SetEnabledEvent (EventEnum event)
static void ClearFlag ()
static bool IsTriggered ()
static void Enable ()
static void Disable ()
static bool IsEnabled ()


Detailed Description

Definition at line 70 of file ExternalInterrupt.h.


Member Typedef Documentation

template<class InputPin, class EventEnum, class EventBits, class InterruptEnableBit, class InterruptFlagBit, uint8_t eventShift>
typedef InputPin AVRCpp::ExternalInterrupt::Internal::InterruptBase< InputPin, EventEnum, EventBits, InterruptEnableBit, InterruptFlagBit, eventShift >::Pin [inherited]

Definition at line 74 of file ExternalInterrupt.h.


Member Function Documentation

static void AVRCpp::ExternalInterrupt::Interrupt0::Evoke (  )  [static]

template<class DelegateType>
static DelegateType& AVRCpp::ExternalInterrupt::Interrupt0::Me (  )  [inline, static]

template<class ControllerType>
static ControllerType& AVRCpp::ExternalInterrupt::Interrupt0::Controller (  )  [inline, static]

template<class InputPin, class EventEnum, class EventBits, class InterruptEnableBit, class InterruptFlagBit, uint8_t eventShift>
static void AVRCpp::ExternalInterrupt::Internal::InterruptBase< InputPin, EventEnum, EventBits, InterruptEnableBit, InterruptFlagBit, eventShift >::SetEvent ( EventEnum  event  )  [inline, static, inherited]

Definition at line 76 of file ExternalInterrupt.h.

00076 { EventBits::Change(event << eventShift); }

template<class InputPin, class EventEnum, class EventBits, class InterruptEnableBit, class InterruptFlagBit, uint8_t eventShift>
static uint8_t AVRCpp::ExternalInterrupt::Internal::InterruptBase< InputPin, EventEnum, EventBits, InterruptEnableBit, InterruptFlagBit, eventShift >::GetEvent (  )  [inline, static, inherited]

Definition at line 77 of file ExternalInterrupt.h.

00077 { return EventBits::Select() >> eventShift; }

template<class InputPin, class EventEnum, class EventBits, class InterruptEnableBit, class InterruptFlagBit, uint8_t eventShift>
static void AVRCpp::ExternalInterrupt::Internal::InterruptBase< InputPin, EventEnum, EventBits, InterruptEnableBit, InterruptFlagBit, eventShift >::SetDisabledEvent ( EventEnum  event  )  [inline, static, inherited]

Definition at line 79 of file ExternalInterrupt.h.

00080                                 {
00081                                         BasicInterrupt<InterruptEnableBit>::Disable();
00082                                         SetEvent(event);
00083                                         Interrupt<InterruptEnableBit, InterruptFlagBit>::ClearFlag();
00084                                         
00085                                 } // SetDisabledEvent

template<class InputPin, class EventEnum, class EventBits, class InterruptEnableBit, class InterruptFlagBit, uint8_t eventShift>
static void AVRCpp::ExternalInterrupt::Internal::InterruptBase< InputPin, EventEnum, EventBits, InterruptEnableBit, InterruptFlagBit, eventShift >::SetEnabledEvent ( EventEnum  event  )  [inline, static, inherited]

Definition at line 87 of file ExternalInterrupt.h.

00088                                 {
00089                                         SetDisabledEvent(event);
00090                                         BasicInterrupt<InterruptEnableBit>::Enable();
00091                                         
00092                                 } // SetEnabledEvent

static void AVRCpp::Interrupt< InterruptEnableBit , InterruptFlagBit >::ClearFlag (  )  [inline, static, inherited]

Definition at line 248 of file IO.h.

00248 { FlagBit::Set(); }

static bool AVRCpp::Interrupt< InterruptEnableBit , InterruptFlagBit >::IsTriggered (  )  [inline, static, inherited]

Definition at line 249 of file IO.h.

00249 { return FlagBit::IsSet(); }

static void AVRCpp::BasicInterrupt< InterruptEnableBit >::Enable (  )  [inline, static, inherited]

Definition at line 239 of file IO.h.

00239 { EnableBit::Set(); }

static void AVRCpp::BasicInterrupt< InterruptEnableBit >::Disable (  )  [inline, static, inherited]

Definition at line 240 of file IO.h.

00240 { EnableBit::Clear(); }

static bool AVRCpp::BasicInterrupt< InterruptEnableBit >::IsEnabled (  )  [inline, static, inherited]

Definition at line 241 of file IO.h.

00241 { return EnableBit::IsSet(); }


The documentation for this struct was generated from the following file:
Generated on Sat Sep 15 23:41:09 2007 for AVR C++ Lib for ATmega64 by  doxygen 1.5.2
SourceForge.net Logo MTÜ TTÜ Robotiklubi