summaryrefslogtreecommitdiff
path: root/src/stream_i2c.h
blob: beba7175739ee7bd2122fd0ea0a089fee63aa1ad (plain)
1
2
3
4
5
6
7
8
9
10
11
#include <stdint.h>
#include <stddef.h>

typedef enum {
    DEVICE,
    TIMEOUT,
    AF_LIMIT
} I2C_PROPS;

int i2c_read(uint8_t* buf, size_t count, void **vptr, void *sptr);
int i2c_write(uint8_t* buf, size_t count, void **vptr, void *sptr);