Skip to content

daisy::Apds9960I2CTransport

Module: External

More...

#include <apds9960.h>

Public Classes

Name
struct Config

Public Functions

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

Detailed Description

class daisy::Apds9960I2CTransport;

I2C Transport for APDS9960

Public Functions Documentation

function Apds9960I2CTransport

inline Apds9960I2CTransport()

function ~Apds9960I2CTransport

inline ~Apds9960I2CTransport()

function Init

inline bool Init(
    Config config
)

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


function Write

inline bool Write(
    uint8_t * data,
    uint16_t size
)

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

< I2C Address


function Read

inline bool Read(
    uint8_t * data,
    uint16_t size
)

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

< I2C Address

---

Updated on 2024-01-03 at 19:41:01 +0000