aboutsummaryrefslogtreecommitdiff
path: root/stmhal/machine_i2c.c
AgeCommit message (Collapse)Author
2017-09-06ports: Make new ports/ sub-directory and move all ports there.Damien George
This is to keep the top-level directory clean, to make it clear what is core and what is a port, and to allow the repository to grow with new ports in a sustainable way.
2017-06-15stmhal: Make error messages more consistent across peripherals.Damien George
2016-11-25stmhal/machine_i2c: Provide HW implementation of I2C peripherals for F4.Damien George
With this patch machine.I2C() uses HW I2C peripheral blocks on F4 MCUs. Software I2C is used for other MCUs.
2016-11-24stmhal: Add beginnings of port-specific machine.I2C implementation.Damien George
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.