|
LEDDriver_NXP_Arduino 1.0.3
LED driver device operation sample code for Arduino
|
Public Member Functions | |
| PCA995x_I2C (uint8_t i2c_address, uint8_t n_ch, uint8_t PWM_r, uint8_t IREF_r, uint8_t IREFALL_r, const uint8_t *ar, uint8_t oe=8) | |
| PCA995x_I2C (TwoWire &wire, uint8_t i2c_address, uint8_t n_ch, uint8_t PWM_r, uint8_t IREF_r, uint8_t IREFALL_r, const uint8_t *ar, uint8_t oe=8) | |
| void | reg_access (uint8_t reg, uint8_t val) |
| void | reg_access (uint8_t reg, uint8_t *vp, int len) |
| uint8_t | reg_access (uint8_t reg) |
| void | reg_access_r (uint8_t reg, uint8_t *vp, int len) |
| Public Member Functions inherited from PCA995x | |
| PCA995x (uint8_t n_ch, uint8_t PWM_r, uint8_t IREF_r, uint8_t IREFALL_r, const uint8_t *ar, uint8_t oe=8) | |
| virtual void | begin (float current=0.1, board env=NONE, bool buffered=false) |
| virtual void | init (float current)=0 |
| void | irefall (uint8_t iref) |
| Public Member Functions inherited from LEDDriver | |
| LEDDriver (uint8_t n_ch, uint8_t PWM_r, uint8_t oe) | |
| void | pwm (uint8_t ch, float value) |
| void | pwm (float *values) |
| void | buffer_enable (bool flag) |
| void | flush (void) |
Additional Inherited Members | |
| Public Types inherited from LEDDriver | |
| enum | board { NONE , ARDUINO_SHIELD } |
| Public Attributes inherited from PCA995x | |
| const uint8_t * | arp |
| Public Attributes inherited from LEDDriver | |
| const uint8_t | n_channel |
| Protected Attributes inherited from PCA995x | |
| const uint8_t | reg_IREF |
| const uint8_t | reg_IREFALL |
| Protected Attributes inherited from LEDDriver | |
| const uint8_t | reg_PWM |
| const uint8_t | oe_pin |
Definition at line 117 of file LEDDriver.h.
| PCA995x_I2C::PCA995x_I2C | ( | uint8_t | i2c_address, |
| uint8_t | n_ch, | ||
| uint8_t | PWM_r, | ||
| uint8_t | IREF_r, | ||
| uint8_t | IREFALL_r, | ||
| const uint8_t * | ar, | ||
| uint8_t | oe = 8 ) |
Definition at line 97 of file LEDDriver.cpp.
| PCA995x_I2C::PCA995x_I2C | ( | TwoWire & | wire, |
| uint8_t | i2c_address, | ||
| uint8_t | n_ch, | ||
| uint8_t | PWM_r, | ||
| uint8_t | IREF_r, | ||
| uint8_t | IREFALL_r, | ||
| const uint8_t * | ar, | ||
| uint8_t | oe = 8 ) |
Definition at line 103 of file LEDDriver.cpp.
|
virtual |
Definition at line 109 of file LEDDriver.cpp.
|
virtual |
Implements LEDDriver.
Definition at line 123 of file LEDDriver.cpp.
|
virtual |
Implements LEDDriver.
Definition at line 118 of file LEDDriver.cpp.
|
virtual |
Implements LEDDriver.
Definition at line 113 of file LEDDriver.cpp.
|
virtual |
Implements LEDDriver.
Definition at line 128 of file LEDDriver.cpp.