I2C Transport for NeoPixel
#include <neopixel.h>
|
| NeoPixelI2CTransport () |
|
| ~NeoPixelI2CTransport () |
|
void | Init (Config config) |
|
void | Write (uint8_t *data, uint16_t size) |
|
void | Read (uint8_t *data, uint16_t size) |
|
void | ReadLen (uint8_t reg_high, uint8_t reg_low, uint8_t *buff, uint16_t size) |
|
void | WriteLen (uint8_t reg_high, uint8_t reg_low, uint8_t *buff, uint16_t size) |
|
void | Write8 (uint8_t reg_high, uint8_t reg_low, uint8_t value) |
|
uint8_t | Read8 (uint8_t reg_high, uint8_t reg_low) |
|
bool | GetError () |
|
◆ NeoPixelI2CTransport()
daisy::NeoPixelI2CTransport::NeoPixelI2CTransport |
( |
| ) |
|
|
inline |
◆ ~NeoPixelI2CTransport()
daisy::NeoPixelI2CTransport::~NeoPixelI2CTransport |
( |
| ) |
|
|
inline |
◆ GetError()
bool daisy::NeoPixelI2CTransport::GetError |
( |
| ) |
|
|
inline |
◆ Init()
void daisy::NeoPixelI2CTransport::Init |
( |
Config |
config | ) |
|
|
inline |
◆ Read()
◆ Read8()
Reads an 8 bit value
- Parameters
-
reg | the register address to read from |
- Returns
- the 16 bit data value read from the device
◆ ReadLen()
◆ Write()
◆ Write8()
Writes an 8 bit value
- Parameters
-
reg | the register address to write to |
value | the value to write to the register |
◆ WriteLen()
The documentation for this class was generated from the following file: