libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::Mpr121I2CTransport Class Reference

Detailed Description

I2C Transport for MPR121

#include <mpr121.h>

Classes

struct  Config
 

Public Member Functions

 Mpr121I2CTransport ()
 
 ~Mpr121I2CTransport ()
 
bool Init (Config config)
 
bool Write (uint8_t *data, uint16_t size)
 
bool Read (uint8_t *data, uint16_t size)
 

Constructor & Destructor Documentation

◆ Mpr121I2CTransport()

daisy::Mpr121I2CTransport::Mpr121I2CTransport ( )
inline

◆ ~Mpr121I2CTransport()

daisy::Mpr121I2CTransport::~Mpr121I2CTransport ( )
inline

Member Function Documentation

◆ Init()

bool daisy::Mpr121I2CTransport::Init ( Config  config)
inline
Returns
Did the transaction error? i.e. Return true if error, false if ok

◆ Read()

bool daisy::Mpr121I2CTransport::Read ( uint8_t data,
uint16_t  size 
)
inline
Returns
Did the transaction error? i.e. Return true if error, false if ok

◆ Write()

bool daisy::Mpr121I2CTransport::Write ( uint8_t data,
uint16_t  size 
)
inline
Returns
Did the transaction error? i.e. Return true if error, false if ok

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