Skip to content

Class daisy::Apds9960I2CTransport

ClassList > daisy > Apds9960I2CTransport

More...

  • #include <apds9960.h>

Classes

Type Name
struct Config

Public Functions

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

Detailed Description

I2C Transport for APDS9960

Public Functions Documentation

function Apds9960I2CTransport

inline daisy::Apds9960I2CTransport::Apds9960I2CTransport () 

function Init

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

Returns:

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


function Read

inline bool daisy::Apds9960I2CTransport::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::Apds9960I2CTransport::Write (
    uint8_t * data,
    uint16_t size
) 

Returns:

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


function ~Apds9960I2CTransport

inline daisy::Apds9960I2CTransport::~Apds9960I2CTransport () 


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