写I2C

## 写I2C ```language I2CReturn_TypeDef xy_I2C_WriteData( I2C_TypeDef I2Cx, uint8_t addr, const uint8_t *pWrite, uint8_t len ) ``` ## 参数说明 |参数|功能说明| |-|-|-| |I2Cx|I2C编号| |addr|设备地址| |pWrite|发送的数据| |len |发送数据长度| ## 返回值 |枚举值|功能说明| |-|-|-| |I2C_RET_OK |返回OK| |I2C_RET_NO_CUR_BASE |没有当前基址| |I2C_RET_FIFO_TOO_LONG |I2C传输太多字节到FIFO| |I2C_RET_COMP_TIMEOUT |I2C等待超时|