My Project
RGBShieldPSoC Class Reference

#include <rgb-led-lighting-shield-psoc.hpp>

Inheritance diagram for RGBShieldPSoC:
Collaboration diagram for RGBShieldPSoC:

Public Member Functions

 RGBShieldPSoC ()
 
 ~RGBShieldPSoC ()
 
- Public Member Functions inherited from RGBShield
 RGBShield (I2CPAL *i2c)
 Constructor of the RGBShield-Class. More...
 
 ~RGBShield ()
 Destructor of the RGBShield-Class. More...
 
Error_t init ()
 Initialization. More...
 
Error_t deinit ()
 Deinitialization. More...
 
Error_t setIntensityRGB (uint16_t red, uint16_t green, uint16_t blue)
 Set intensity of all channels. More...
 
Error_t setIntensityRed (uint16_t red)
 Set intensity of the red-channel. More...
 
Error_t setIntensityGreen (uint16_t green)
 Set intensity of the green-channel. More...
 
Error_t setIntensityBlue (uint16_t blue)
 Set intensity of the blue-channel. More...
 
Error_t setDimmingLevel (uint16_t level)
 Set dimming level. More...
 
Error_t setOffTimesRGB (uint16_t red, uint16_t green, uint16_t blue)
 Set off-time for the three channels. More...
 
Error_t setCurrentRGB (uint16_t red, uint16_t green, uint16_t blue)
 Set peak-current for the three channels. More...
 
Error_t setFadeRate (uint16_t fRate)
 Set the fade rate of the board. More...
 
Error_t setWalkTime (uint16_t wTime)
 Set the walk-time of the board. More...
 
Error_t saveParameters ()
 Save the current parameters. More...
 
Error_t setColor (uint16_t color)
 Set a predefined color. More...
 

Additional Inherited Members

- Protected Attributes inherited from RGBShield
Status_t _shieldState
 
I2CPAL_boardI2C
 
uint16_t _redCurr
 
uint16_t _greenCurr
 
uint16_t _blueCurr
 
uint16_t _redOff
 
uint16_t _greenOff
 
uint16_t _blueOff
 
uint16_t _redInt
 
uint16_t _greenInt
 
uint16_t _blueInt
 
uint16_t _fadeTime
 
uint16_t _walk
 
uint16_t _brightness
 

Constructor & Destructor Documentation

◆ RGBShieldPSoC()

RGBShieldPSoC::RGBShieldPSoC ( )

◆ ~RGBShieldPSoC()

RGBShieldPSoC::~RGBShieldPSoC ( )

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