Abstract class for 'constant current (CC)' LED driver component. Including "LedPwmOutCC API" class.

Dependents:   PCA995xA

Embed: (wiki syntax)

« Back to documentation index

CompLedDvrCC Class Reference

CompLedDvrCC Class Reference

Abstract class for CC-LED driver component. More...

#include <CompLedDvrCC.h>

Public Member Functions

 CompLedDvrCC ()
 Default constructor.
virtual ~CompLedDvrCC ()
 Destructor.
virtual void pwm (int port, float v)=0
 Virtual function to define standard function of the component.
virtual void current (int port, float v)=0
 Virtual function to define standard function of the component.

Detailed Description

Abstract class for CC-LED driver component.

Abstract class for LED driver family No instance can be made from this class

Definition at line 55 of file CompLedDvrCC.h.


Constructor & Destructor Documentation

CompLedDvrCC (  )

Default constructor.

Definition at line 5 of file CompLedDvrCC.cpp.

~CompLedDvrCC (  ) [virtual]

Destructor.

Definition at line 6 of file CompLedDvrCC.cpp.


Member Function Documentation

virtual void current ( int  port,
float  v 
) [pure virtual]

Virtual function to define standard function of the component.

virtual void pwm ( int  port,
float  v 
) [pure virtual]

Virtual function to define standard function of the component.