diff options
author | Damien George <damien.p.george@gmail.com> | 2016-11-24 00:20:51 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-11-24 00:20:51 +1100 |
commit | 30537489877fd77e129623f93d3921f547668fb8 (patch) | |
tree | 1a80f6539e5abd76293574d1019221278375e347 /tests/bench/loop_count-3-while_up.py | |
parent | 5d2279bec12da4da62e38544608198b57a47efd2 (diff) | |
download | micropython-30537489877fd77e129623f93d3921f547668fb8.tar.gz micropython-30537489877fd77e129623f93d3921f547668fb8.zip |
stmhal: Add beginnings of port-specific machine.I2C implementation.
This allows one to construct an I2C object using ids that are specific
to the stmhal port, eg machine.I2C('X'). Right now the implementation
of I2C uses software I2C but the idea is to just change the C-level I2C
protocol functions to hardware implementations later on.
Diffstat (limited to 'tests/bench/loop_count-3-while_up.py')
0 files changed, 0 insertions, 0 deletions