• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  *
4  * HDF is dual licensed: you can use it either under the terms of
5  * the GPL, or the BSD license, at your option.
6  * See the LICENSE file in the root of this repository for complete details.
7  */
8 
9 #include "hdf_log.h"
10 #include "i2c_if.h"
11 
I2cRead(DevHandle handle,uint8_t * buf,uint16_t len)12 int32_t I2cRead(DevHandle handle, uint8_t *buf, uint16_t len)
13 {
14     (void)handle;
15     (void)buf;
16     (void)len;
17     HDF_LOGI("I2cRead: success!");
18     return HDF_SUCCESS;
19 }
20 
I2cWrite(DevHandle handle,uint8_t * buf,uint16_t len)21 int32_t I2cWrite(DevHandle handle, uint8_t *buf, uint16_t len)
22 {
23     (void)handle;
24     (void)buf;
25     (void)len;
26     HDF_LOGI("I2cWrite: success!");
27     return HDF_SUCCESS;
28 }
29