simulavr
1.1.0
|
#include <hwad.h>
Public Member Functions | |
HWAdmux6 (AvrDevice *c, Pin *_ad0, Pin *_ad1, Pin *_ad2, Pin *_ad3, Pin *_ad4, Pin *_ad5) | |
virtual float | GetValue (int select, float vcc) |
![]() | |
HWAdmux (AvrDevice *_core, int _pins) | |
virtual | ~HWAdmux () |
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 () |
Additional Inherited Members | |
![]() | |
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 |
HWAdmux6::HWAdmux6 | ( | AvrDevice * | c, |
Pin * | _ad0, | ||
Pin * | _ad1, | ||
Pin * | _ad2, | ||
Pin * | _ad3, | ||
Pin * | _ad4, | ||
Pin * | _ad5 | ||
) |
Definition at line 110 of file hwad.cpp.
References HWAdmux::ad, and Pin::RegisterCallback().
|
virtual |
Implements HWAdmux.
Definition at line 133 of file hwad.cpp.
References HWAdmux::ad, avr_warning, HWAdmux::core, AvrDevice::fuses, Pin::GetAnalogValue(), AvrFuses::GetFuseBit(), and HWAdmux::numPins.