Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmachine_i2c.c292 return i2c_p->transfer(self, addr, 1, &buf, flags); in mp_machine_i2c_readfrom()
308 if (i2c_p->init == NULL) { in machine_i2c_init()
311 i2c_p->init(self, n_args - 1, args + 1, kw_args); in machine_i2c_init()
320 if (i2c_p->deinit != NULL) { in machine_i2c_deinit()
321 i2c_p->deinit(self); in machine_i2c_deinit()
344 if (i2c_p->start == NULL) { in machine_i2c_start()
347 int ret = i2c_p->start(self); in machine_i2c_start()
358 if (i2c_p->stop == NULL) { in machine_i2c_stop()
361 int ret = i2c_p->stop(self); in machine_i2c_stop()
372 if (i2c_p->read == NULL) { in machine_i2c_readinto()
[all …]

Completed in 7 milliseconds