Home
last modified time | relevance | path

Searched refs:mem_addr (Results 1 – 15 of 15) sorted by relevance

/AliOS-Things-master/components/drivers/external_device/pca9544/src/
A Dpca9544.c198 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 Dpca9544_i2c_drv.c171 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 Dmodule_i2c.c144 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 Dsensor_i2c_api.c101 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 Dmodule_i2c.c145 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 Dpca9544_i2c_drv.h61 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 Daos_hal_i2c.c149 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 Daos_hal_i2c.h136 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 Di2c.h136 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 Di2c.c231 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 Daos_hal_i2c.c63 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 Dsensor_drv_api.c134 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 Drtl8721dhp_app_start.c41 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 Di2c.c131 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 Dhumiture.md187 mem_addr – mem address

Completed in 16 milliseconds