Home
last modified time | relevance | path

Searched refs:memaddr (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/amp/libjs/lib/
A Di2c.js41 writeMem(memaddr, data) { argument
45 __native.I2C.writeReg(this.i2cInstance, memaddr, data);
48 readMem(memaddr, bytes) { argument
52 return __native.I2C.readReg(this.i2cInstance, memaddr, bytes);
/AliOS-Things-master/components/amp/jslib/src/
A Di2c.js44 writeMem(memaddr, data) { argument
48 return this.i2cInstance.writeReg(memaddr, byteArrayToArrayBuffer(data));
51 readMem(memaddr, bytes) { argument
55 return Array.prototype.slice.call(new Uint8Array(this.i2cInstance.readReg(memaddr, bytes))); argument
/AliOS-Things-master/components/amp/example-js/
A Di2c.js3 var memaddr = 0x18 variable
21 sensor.writeMem(memaddr, msgbuf)
24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/solutions/javascript_demo/board/haas600/
A Di2c.js3 var memaddr = 0x18 variable
22 sensor.writeMem(memaddr, msgbuf)
24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/solutions/javascript_demo/board/haas-edu-k1/
A Di2c.js3 var memaddr = 0x18 variable
22 sensor.writeMem(memaddr, msgbuf)
24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/solutions/javascript_demo/board/haas100/
A Di2c.js3 var memaddr = 0x18 variable
22 sensor.writeMem(memaddr, msgbuf)
24 var vol = sensor.readMem(memaddr, 2)
/AliOS-Things-master/hardware/chip/haas1000/csi/
A Diic.c190 uint16_t memaddr, csi_iic_mem_addr_size_t memaddr_size, in csi_iic_mem_send() argument
231 txbuf[0] = (uint8_t)memaddr; in csi_iic_mem_send()
246 uint16_t memaddr, csi_iic_mem_addr_size_t memaddr_size, in csi_iic_mem_receive() argument
288 txrxbuf[0] = (uint8_t)memaddr; in csi_iic_mem_receive()
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/iic/
A Diic.c359 int32_t csi_iic_mem_send(csi_iic_t *iic, uint32_t devaddr,uint16_t memaddr, csi_iic_mem_addr_size_t… in csi_iic_mem_send() argument
411 buf[i++] = (memaddr) & 0xFF; in csi_iic_mem_send()
413 buf[i++] = (memaddr >> 8) & 0xFF; in csi_iic_mem_send()
427 int32_t csi_iic_mem_receive(csi_iic_t *iic,uint32_t devaddr, uint16_t memaddr,csi_iic_mem_addr_size… in csi_iic_mem_receive() argument
440 memaddr_t[0] = (memaddr) & 0xFF; in csi_iic_mem_receive()
441 memaddr_t[1] = (memaddr >> 8) & 0xFF; in csi_iic_mem_receive()
/AliOS-Things-master/components/csi/csi2/include/drv/
A Dusi_iic.h130 int32_t csi_usi_iic_mem_send(csi_iic_t *iic, uint32_t devaddr, uint16_t memaddr, csi_iic_mem_addr_s…
144 int32_t csi_usi_iic_mem_receive(csi_iic_t *iic, uint32_t devaddr, uint16_t memaddr, csi_iic_mem_add…
A Diic.h207 int32_t csi_iic_mem_send(csi_iic_t *iic, uint32_t devaddr, uint16_t memaddr, csi_iic_mem_addr_size_…
221 int32_t csi_iic_mem_receive(csi_iic_t *iic, uint32_t devaddr, uint16_t memaddr, csi_iic_mem_addr_si…
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmachine_i2c.c504 STATIC size_t fill_memaddr_buf(uint8_t *memaddr_buf, uint32_t memaddr, uint8_t addrsize) { in fill_memaddr_buf() argument
510 memaddr_buf[memaddr_len++] = memaddr >> i; in fill_memaddr_buf()
515 STATIC int read_mem(mp_obj_t self_in, uint16_t addr, uint32_t memaddr, uint8_t addrsize, uint8_t *b… in read_mem() argument
520 size_t memaddr_len = fill_memaddr_buf(&memaddr_buf[0], memaddr, addrsize); in read_mem()
531 STATIC int write_mem(mp_obj_t self_in, uint16_t addr, uint32_t memaddr, uint8_t addrsize, const uin… in write_mem() argument
536 size_t memaddr_len = fill_memaddr_buf(&memaddr_buf[0], memaddr, addrsize); in write_mem()
/AliOS-Things-master/components/drivers/peripheral/i2c/src/
A Di2c_core.c759 __weak int32_t csi_iic_mem_send(csi_iic_t *iic, uint32_t devaddr, uint16_t memaddr, csi_iic_mem_add… in csi_iic_mem_send() argument
776 __weak int32_t csi_iic_mem_receive(csi_iic_t *iic, uint32_t devaddr, uint16_t memaddr, csi_iic_mem_… in csi_iic_mem_receive() argument

Completed in 15 milliseconds