simulavr
1.1.0
|
#include <hwad.h>
Public Member Functions | |
HWAdmux (AvrDevice *_core, int _pins) | |
virtual | ~HWAdmux () |
virtual float | GetValue (int select, float vcc)=0 |
virtual float | GetValueAComp (int select, float vcc) |
virtual bool | IsDifferenceChannel (int select) |
void | SetMuxSelect (int select) |
void | PinStateHasChanged (Pin *) |
void | RegisterNotifyClient (AnalogSignalChange *client) |
void | UnregisterNotifyClient (void) |
![]() | |
virtual | ~HasPinNotifyFunction () |
Protected Attributes | |
Pin * | ad [16] |
AnalogSignalChange * | notifyClient |
int | muxSelect |
int | numPins |
Multiplexer channel, can't be used for ADC sampling because of buffering on conversion start! More... | |
AvrDevice * | core |
|
pure virtual |
Implemented in HWAdmuxM2560, HWAdmuxT25, HWAdmuxM16, HWAdmuxM8, and HWAdmux6.
Referenced by HWAd::CpuCycle().
|
inlinevirtual |
Reimplemented in HWAdmuxM8.
Definition at line 110 of file hwad.h.
Referenced by HWAd::GetADMuxValue().
|
inlinevirtual |
Reimplemented in HWAdmuxT25, and HWAdmuxM16.
Definition at line 111 of file hwad.h.
Referenced by HWAd::CpuCycle().
|
virtual |
Implements HasPinNotifyFunction.
|
inline |
Definition at line 114 of file hwad.h.
Referenced by HWAd::HWAd().
void HWAdmux::SetMuxSelect | ( | int | select | ) |
Definition at line 93 of file hwad.cpp.
Referenced by HWAd::SetAdmux().
|
inline |
Definition at line 115 of file hwad.h.
Referenced by HWAd::~HWAd().
|
protected |
Definition at line 93 of file hwad.h.
Referenced by HWAdmux6::GetValue(), HWAdmuxM8::GetValue(), HWAdmuxM16::GetValue(), HWAdmuxT25::GetValue(), HWAdmuxM2560::GetValue(), HWAdmuxM8::GetValueAComp(), HWAdmux6::HWAdmux6(), HWAdmuxM2560::HWAdmuxM2560(), and HWAdmuxM8::HWAdmuxM8().
|
protected |
Definition at line 97 of file hwad.h.
Referenced by HWAdmux6::GetValue(), HWAdmuxM8::GetValue(), HWAdmuxM16::GetValue(), HWAdmuxT25::GetValue(), and HWAdmuxM2560::GetValue().
|
protected |
|
protected |
Multiplexer channel, can't be used for ADC sampling because of buffering on conversion start!
Definition at line 96 of file hwad.h.
Referenced by HWAdmux6::GetValue(), and HWAdmuxM8::GetValue().