simulavr  1.1.0
HWAdmux6 Class Reference

#include <hwad.h>

Inheritance diagram for HWAdmux6:

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)
 
- Public Member Functions inherited from HWAdmux
 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)
 
- Public Member Functions inherited from HasPinNotifyFunction
virtual ~HasPinNotifyFunction ()
 

Additional Inherited Members

- Protected Attributes inherited from HWAdmux
Pinad [16]
 
AnalogSignalChangenotifyClient
 
int muxSelect
 
int numPins
 Multiplexer channel, can't be used for ADC sampling because of buffering on conversion start! More...
 
AvrDevicecore
 

Detailed Description

Definition at line 118 of file hwad.h.

Constructor & Destructor Documentation

◆ HWAdmux6()

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().

Member Function Documentation

◆ GetValue()

float HWAdmux6::GetValue ( int  select,
float  vcc 
)
virtual

The documentation for this class was generated from the following files: