Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
SocCamera::tcVoltageSensor Class Referenceabstract

#include <VoltageSensor.h>

Collaboration diagram for SocCamera::tcVoltageSensor:

Public Member Functions

 tcVoltageSensor (void)
 
virtual ~tcVoltageSensor ()
 
virtual teNackCode GetVoltage (int anIndex, float &arVoltage)=0
 

Detailed Description

This interface handles requests for enumerated ADC / voltage readings, e.g., for checking biasing voltages supplied to sensors.

Constructor & Destructor Documentation

◆ tcVoltageSensor()

SocCamera::tcVoltageSensor::tcVoltageSensor ( void  )
inline

◆ ~tcVoltageSensor()

virtual SocCamera::tcVoltageSensor::~tcVoltageSensor ( )
inlinevirtual

Member Function Documentation

◆ GetVoltage()

virtual teNackCode SocCamera::tcVoltageSensor::GetVoltage ( int  anIndex,
float &  arVoltage 
)
pure virtual

Gets the voltage for the specified sensor index.

Parameters
anIndexsensor index to retrieve
arVoltagevoltage (in volts) of specified sensor
Returns
eeNoError or eeArgumentOutOfRange

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