I2C Interface¶
-
group
I2CInterface
Functions
-
int
csp_i2c_init
(uint8_t opt_addr, int handle, int speed)¶ Capture I2C RX events for CSP.
- Return
- csp_error.h code
- Parameters
opt_addr
: local i2c addresshandle
: which i2c device to usespeed
: interface speed in kHz (normally 100 or 400)
-
void
csp_i2c_rx
(i2c_frame_t *frame, void *pxTaskWoken)¶
Variables
-
csp_iface_t
csp_if_i2c
¶
-
int