BlackLib::errorCorePWM Struct Reference

Holds BlackCorePWM errors. More...

#include <BlackErr.h>

Public Member Functions

 errorCorePWM ()
 errorCorePWM struct's constructor. More...
 
 errorCorePWM (errorCore *base)
 errorCorePWM struct's constructor with errorCore pointer parameter. More...
 

Public Attributes

errorCorecoreErrors
 Pointer of errorCore struct which stores errors of BlackCore class. More...
 
bool dtSsError
 Device tree loading error. More...
 
bool dtError
 Device tree loading error. More...
 
bool pwmTestError
 pwm_test directory finding error. More...
 

Detailed Description

Holds BlackCorePWM errors.

This struct holds PWM core errors and includes pointer of errorCore struct.

Constructor & Destructor Documentation

BlackLib::errorCorePWM::errorCorePWM ( )
inline

errorCorePWM struct's constructor.

This function clears all flags and initializes errorCore struct.

BlackLib::errorCorePWM::errorCorePWM ( errorCore base)
inline

errorCorePWM struct's constructor with errorCore pointer parameter.

Parameters
[in]*basepointer of errorCore struct.

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

Member Data Documentation

errorCore* BlackLib::errorCorePWM::coreErrors

Pointer of errorCore struct which stores errors of BlackCore class.

This struct initializes at constructor in BlackCorePWM class.
Its value can set with

  • getErrorsFromCore()

function in BlackCore class.

See also
BlackCorePWM::BlackCorePWM()
BlackCore::getErrorsFromCore()
bool BlackLib::errorCorePWM::dtError

Device tree loading error.

Its value can change, when loading pwm overlay to device tree, at

  • loadDeviceTree()

function in BlackCorePWM class.

See also
BlackCorePWM::loadDeviceTree()
bool BlackLib::errorCorePWM::dtSsError

Device tree loading error.

Its value can change, when loading subsystem pwm overlay to device tree, at

  • loadDeviceTree()

function in BlackCorePWM class.

See also
BlackCorePWM::loadDeviceTree()
bool BlackLib::errorCorePWM::pwmTestError

pwm_test directory finding error.

Its value can change, when finding pwm_test_X.Y name, at

  • findPwmTestName()

function in BlackCorePWM class.

See also
BlackCorePWM::findPwmTestName()

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