simulavr
1.1.0
|
Class, which provides input capture source for 16bit timers. More...
#include <icapturesrc.h>
Public Member Functions | |
ICaptureSource (PinAtPort cp) | |
virtual | ~ICaptureSource () |
virtual bool | GetSourceState (void) |
Returns the digital input state of input capture source(s) More... | |
void | RegisterAComp (HWAcomp *_acomp) |
Register analog comparator. More... | |
void | SetACIC (bool _acic) |
Reflect ACIC flag state. More... | |
Protected Attributes | |
PinAtPort | capturePin |
HWAcomp * | acomp |
bool | acic |
Class, which provides input capture source for 16bit timers.
Definition at line 34 of file icapturesrc.h.
ICaptureSource::ICaptureSource | ( | PinAtPort | cp | ) |
Definition at line 29 of file icapturesrc.cpp.
|
inlinevirtual |
Definition at line 43 of file icapturesrc.h.
References GetSourceState().
|
virtual |
Returns the digital input state of input capture source(s)
Definition at line 34 of file icapturesrc.cpp.
References acic, acomp, capturePin, and HWAcomp::GetACO().
Referenced by BasicTimerUnit::InputCapture(), and ~ICaptureSource().
|
inline |
Register analog comparator.
Definition at line 49 of file icapturesrc.h.
Referenced by BasicTimerUnit::RegisterACompForICapture().
|
inline |
Reflect ACIC flag state.
Definition at line 52 of file icapturesrc.h.
|
protected |
Definition at line 39 of file icapturesrc.h.
Referenced by GetSourceState().
|
protected |
Definition at line 38 of file icapturesrc.h.
Referenced by GetSourceState().
|
protected |
Definition at line 37 of file icapturesrc.h.
Referenced by GetSourceState().