simulavr  1.1.0
HWARef8 Class Reference

ADC reference is selected on 4 diff. sources: Vcc, aref pin, bandgap or 2.56V reference. More...

#include <hwad.h>

Inheritance diagram for HWARef8:

Public Member Functions

 HWARef8 (AvrDevice *_core, Pin *_refpin)
 
virtual float GetRefValue (int select, float vcc)
 
- Public Member Functions inherited from HWARef
 HWARef (AvrDevice *_core)
 
virtual ~HWARef ()
 

Protected Attributes

Pinaref_pin
 
- Protected Attributes inherited from HWARef
AvrDevicecore
 

Detailed Description

ADC reference is selected on 4 diff. sources: Vcc, aref pin, bandgap or 2.56V reference.

Definition at line 78 of file hwad.h.

Constructor & Destructor Documentation

◆ HWARef8()

HWARef8::HWARef8 ( AvrDevice _core,
Pin _refpin 
)
inline

Definition at line 84 of file hwad.h.

References HWARef::GetRefValue().

Member Function Documentation

◆ GetRefValue()

float HWARef8::GetRefValue ( int  select,
float  vcc 
)
virtual

Member Data Documentation

◆ aref_pin

Pin* HWARef8::aref_pin
protected

Definition at line 81 of file hwad.h.


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