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

Detailed Description

I2C Transport for APDS9960

#include <apds9960.h>

Classes

struct  Config
 

Public Member Functions

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

Constructor & Destructor Documentation

◆ Apds9960I2CTransport()

daisy::Apds9960I2CTransport::Apds9960I2CTransport ( )
inline

◆ ~Apds9960I2CTransport()

daisy::Apds9960I2CTransport::~Apds9960I2CTransport ( )
inline

Member Function Documentation

◆ Init()

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

◆ Read()

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

< I2C Address

◆ Write()

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

< I2C Address


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