Skip to content

Class daisy::Mpr121I2CTransport

ClassList > daisy > Mpr121I2CTransport

More...

  • #include <mpr121.h>

Classes

Type Name
struct Config

Public Functions

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

Detailed Description

I2C Transport for MPR121

Public Functions Documentation

function Init

inline bool daisy::Mpr121I2CTransport::Init (
    Config config
) 

Returns:

Did the transaction error? i.e. Return true if error, false if ok


function Mpr121I2CTransport

inline daisy::Mpr121I2CTransport::Mpr121I2CTransport () 

function Read

inline bool daisy::Mpr121I2CTransport::Read (
    uint8_t * data,
    uint16_t size
) 

Returns:

Did the transaction error? i.e. Return true if error, false if ok


function Write

inline bool daisy::Mpr121I2CTransport::Write (
    uint8_t * data,
    uint16_t size
) 

Returns:

Did the transaction error? i.e. Return true if error, false if ok


function ~Mpr121I2CTransport

inline daisy::Mpr121I2CTransport::~Mpr121I2CTransport () 


The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/mpr121.h