#include <pinmon.h>
Public Member Functions | |
PinMonitor (AvrDevice &avr, const char *pinNameStr, const char *pinDescStr=0, const char *pinHighStr=0, const char *pinLowStr=0) throw () | |
Private Member Functions | |
void | PinStateHasChanged (Pin *) |
Private Attributes | |
const char * | _pinDescStr |
const char * | _pinHighStr |
const char * | _pinLowStr |
bool | _prevState |
Definition at line 10 of file pinmon.h.
PinMonitor::PinMonitor | ( | AvrDevice & | avr, | |
const char * | pinNameStr, | |||
const char * | pinDescStr = 0 , |
|||
const char * | pinHighStr = 0 , |
|||
const char * | pinLowStr = 0 | |||
) | throw () |
Definition at line 6 of file pinmon.cpp.
References Pin::RegisterCallback().
void PinMonitor::PinStateHasChanged | ( | Pin * | pin | ) | [private, virtual] |
Implements HasPinNotifyFunction.
Definition at line 21 of file pinmon.cpp.
References _pinDescStr, _pinHighStr, _pinLowStr, and _prevState.
const char* PinMonitor::_pinDescStr [private] |
Definition at line 13 of file pinmon.h.
Referenced by PinStateHasChanged().
const char* PinMonitor::_pinHighStr [private] |
Definition at line 15 of file pinmon.h.
Referenced by PinStateHasChanged().
const char* PinMonitor::_pinLowStr [private] |
Definition at line 17 of file pinmon.h.
Referenced by PinStateHasChanged().
bool PinMonitor::_prevState [private] |
Definition at line 20 of file pinmon.h.
Referenced by PinStateHasChanged().