Class daisy::Mpr121I2CTransport¶
ClassList > daisy > Mpr121I2CTransport
#include <mpr121.h>
Classes¶
| Type | Name |
|---|---|
| struct | Config |
Public Functions¶
| Type | Name |
|---|---|
| bool | Init (Config config) |
| Mpr121I2CTransport () |
|
| bool | ReadDataAtAddress (uint8_t address, uint8_t * data, uint16_t size) |
| bool | WriteDataAtAddress (uint8_t address, uint8_t * data, uint16_t size) |
| ~Mpr121I2CTransport () |
Detailed Description¶
I2C Transport for MPR121
Public Functions Documentation¶
function Init¶
Returns:
Did the transaction error? i.e. Return true if error, false if ok
function Mpr121I2CTransport¶
function ReadDataAtAddress¶
inline bool daisy::Mpr121I2CTransport::ReadDataAtAddress (
uint8_t address,
uint8_t * data,
uint16_t size
)
Returns:
Did the transaction error? i.e. Return true if error, false if ok
function WriteDataAtAddress¶
inline bool daisy::Mpr121I2CTransport::WriteDataAtAddress (
uint8_t address,
uint8_t * data,
uint16_t size
)
Returns:
Did the transaction error? i.e. Return true if error, false if ok
function ~Mpr121I2CTransport¶
The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/mpr121.h