Commit graph

7 commits

Author SHA1 Message Date
Karl Palsson
9930ddd472 i2c: draft api of "set speed 100k" common
Only needs the input clock in megahz.
2017-03-09 23:13:23 +00:00
Karl Palsson
a2785bdf76 i2c-master: first hack working on f0
read_i2c and write_i2c are not flexible enough, and terribly named.
they're going to have to go, but they're a nice start for some things.
2017-03-08 23:06:00 +00:00
Karl Palsson
d6e9b188c7 i2c-master: working on l1 too.
Needs retest on f4.  then ready to move to new hardware
2017-03-08 23:05:52 +00:00
Karl Palsson
12f454b41b i2c-master: tidy up more.
Still f4 only, but cleaner, and more testing with sigrok for
verification
2017-03-01 22:53:58 +00:00
Karl Palsson
d30f38ed3c i2c-master: start extracting out i2c code
Working on f4 with an external sht21 i2c sensor.
Still lots of f4 specifics yet.  But, progress.
2017-02-21 23:32:50 +00:00
Karl Palsson
65301e5a0b i2c-master: start progressing to extracting common i2c code 2017-02-21 23:11:43 +00:00
Karl Palsson
115b771e56 i2c: Initial stub import of old f4 code
Currently (despite docs) is an import of code reading the onboard i2c
peripheral
2017-02-21 21:37:36 +00:00