BlackLib::errorADC Struct Reference

Holds BlackADC errors. More...

#include <BlackErr.h>

Public Member Functions

 errorADC ()
 errorADC struct's constructor. More...
 
 errorADC (errorCoreADC *base)
 errorADC struct's constructor with errorCoreADC pointer parameter. More...
 

Public Attributes

errorCoreADCadcCoreErrors
 Pointer of errorCoreADC struct which stores errors of BlackCoreADC class. More...
 
bool readError
  Value file reading error. More...
 

Detailed Description

Holds BlackADC errors.

This struct holds ADC errors and includes pointer of errorCoreADC struct.

Constructor & Destructor Documentation

BlackLib::errorADC::errorADC ( )
inline

errorADC struct's constructor.

This function clears all flags and initializes errorCoreADC struct.

BlackLib::errorADC::errorADC ( errorCoreADC base)
inline

errorADC struct's constructor with errorCoreADC pointer parameter.

Parameters
[in]*basepointer of errorCoreADC struct.

This function clears all flags and assigns input parameter to adcCoreErrors variable.

Member Data Documentation

errorCoreADC* BlackLib::errorADC::adcCoreErrors

Pointer of errorCoreADC struct which stores errors of BlackCoreADC class.

This struct initializes at constructor of BlackADC class.
Its value can set with

  • getErrorsFromCoreADC()

function in BlackCoreADC class.

See also
BlackADC::BlackADC()
BlackCoreADC::getErrorsFromCoreADC()
bool BlackLib::errorADC::readError

Value file reading error.

Its value can change, when opening analog input's value file, at

  • getValue()
  • getNumericValue()
  • getConvertedValue()

functions in BlackADC class.

See also
BlackADC::getValue()
BlackADC::getNumericValue()
BlackADC::getConvertedValue()

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