#include "p_i2c.h" void p_i2c_init(void) { i2c_m_sync_enable(&I2C_0); } int p_i2c_write(const uint8_t* const data, uint16_t data_len) { io_write(&I2C_0.io, data, data_len); return 0; } int p_i2c_read(uint8_t* data, uint16_t len) { return 0; }