/AliOS-Things-master/components/drivers/external_device/pca9544/src/ |
A D | pca9544.c | 198 uint16_t mem_addr = g_pca9544_dev_cfg.reg_addr; in pca9544_raw_data_write() local 204 ret = pca9544_i2c_mem_write(i2c, dev_addr, mem_addr, mem_addr_size, &data[0], len, timeout); in pca9544_raw_data_write() 232 uint16_t mem_addr = g_pca9544_dev_cfg.reg_addr; in pca9544_raw_data_read() local 238 ret = pca9544_i2c_mem_read(i2c, dev_addr, mem_addr, mem_addr_size, &data[0], len, timeout); in pca9544_raw_data_read()
|
A D | pca9544_i2c_drv.c | 171 int32_t pca9544_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, uint16_t mem_ad… in pca9544_i2c_mem_write() argument 194 i2c_data.maddr = mem_addr; in pca9544_i2c_mem_write() 215 int32_t pca9544_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, uint16_t mem_add… in pca9544_i2c_mem_read() argument 240 i2c_data.maddr = mem_addr; in pca9544_i2c_mem_read()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/hardware/i2c/ |
A D | module_i2c.c | 144 uint16_t mem_addr; in native_i2c_write_reg() local 160 mem_addr = (uint16_t)duk_get_int(ctx, 1); in native_i2c_write_reg() 181 mem_addr, 1, data, len, I2C_TIMEOUT); in native_i2c_write_reg() 245 uint16_t mem_addr; in native_i2c_read_reg() local 261 mem_addr = (uint16_t)duk_get_int(ctx, 1); in native_i2c_read_reg() 271 mem_addr, 1, data, len, I2C_TIMEOUT); in native_i2c_read_reg()
|
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/ |
A D | sensor_i2c_api.c | 101 int32_t sensor_i2c_mem_write(uint32_t port, uint16_t dev_addr, uint16_t mem_addr, in sensor_i2c_mem_write() argument 117 d.maddr = mem_addr; in sensor_i2c_mem_write() 125 int32_t sensor_i2c_mem_read(uint32_t port, uint16_t dev_addr, uint16_t mem_addr, in sensor_i2c_mem_read() argument 142 d.maddr = mem_addr; in sensor_i2c_mem_read()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/hardware/i2c/ |
A D | module_i2c.c | 145 uint32_t mem_addr; in native_i2c_write_reg() local 159 JS_ToInt32(ctx, &mem_addr, argv[0]); in native_i2c_write_reg() 168 (uint16_t)mem_addr, 1, data, len, I2C_TIMEOUT); in native_i2c_write_reg() 228 uint32_t mem_addr; in native_i2c_read_reg() local 243 JS_ToInt32(ctx, &mem_addr, argv[0]); in native_i2c_read_reg() 253 (uint16_t)mem_addr, 1, data, len, I2C_TIMEOUT); in native_i2c_read_reg()
|
/AliOS-Things-master/components/drivers/external_device/pca9544/internal/ |
A D | pca9544_i2c_drv.h | 61 int32_t pca9544_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, uint16_t mem_ad… 76 int32_t pca9544_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, uint16_t mem_add…
|
/AliOS-Things-master/components/amp_adapter/platform/aos/peripheral/ |
A D | aos_hal_i2c.c | 149 int32_t aos_hal_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in aos_hal_i2c_mem_write() argument 170 d.maddr = mem_addr; in aos_hal_i2c_mem_write() 182 int32_t aos_hal_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in aos_hal_i2c_mem_read() argument 203 d.maddr = mem_addr; in aos_hal_i2c_mem_read()
|
/AliOS-Things-master/components/amp_adapter/include/peripheral/ |
A D | aos_hal_i2c.h | 136 int32_t aos_hal_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, 154 int32_t aos_hal_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr,
|
/AliOS-Things-master/components/drivers/peripheral/i2c/include/aos/hal/ |
A D | i2c.h | 136 int32_t hal_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, 154 int32_t hal_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr,
|
/AliOS-Things-master/hardware/chip/haas1000/hal/ |
A D | i2c.c | 231 int32_t hal_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in hal_i2c_mem_write() argument 258 txbuf[0] = (uint8_t)mem_addr; in hal_i2c_mem_write() 291 int32_t hal_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in hal_i2c_mem_read() argument 318 txrxbuf[0] = (uint8_t)mem_addr; in hal_i2c_mem_read()
|
/AliOS-Things-master/components/amp_adapter/platform/linux/peripheral/ |
A D | aos_hal_i2c.c | 63 int32_t aos_hal_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in aos_hal_i2c_mem_write() argument 78 int32_t aos_hal_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in aos_hal_i2c_mem_read() argument
|
/AliOS-Things-master/components/sensor/hal/ |
A D | sensor_drv_api.c | 134 static int32_t vfs_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in vfs_i2c_mem_write() argument 155 i2c_data.maddr = mem_addr; in vfs_i2c_mem_write() 164 static int32_t vfs_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in vfs_i2c_mem_read() argument 185 i2c_data.maddr = mem_addr; in vfs_i2c_mem_read()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/ |
A D | rtl8721dhp_app_start.c | 41 u32 app_mpu_nocache_check(u32 mem_addr) { in app_mpu_nocache_check() argument 52 if((mem_addr >= mpu_cfg.region_base) && (mem_addr < (mpu_cfg.region_base + mpu_cfg.region_size))) in app_mpu_nocache_check()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hal/ |
A D | i2c.c | 131 int32_t hal_i2c_mem_write(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in hal_i2c_mem_write() argument 140 int32_t hal_i2c_mem_read(i2c_dev_t *i2c, uint16_t dev_addr, uint16_t mem_addr, in hal_i2c_mem_read() argument
|
/AliOS-Things-master/solutions/eduk1_demo/k1_apps/humiture/ |
A D | humiture.md | 187 mem_addr – mem address
|