Commit Graph

11 Commits

Author SHA1 Message Date
Thomas Kohler dc4b940834
Build(v2): revert move to v2 subfolder (#932) (#938)
* revert move to v2 subfolder
* fix CI and adjust CHANGELOG
2023-05-29 19:39:03 +02:00
Thomas Kohler d908619462
Build(v2): fix usage by moving code to a v2 subfolder (#927) 2023-05-22 19:35:36 +02:00
Thomas Kohler fdf4f4b194
Bugfix/Improvement: Introduce SpiBusAdaptor and spi.Driver for composition in platforms/drivers
and fix for #794
2022-12-17 11:56:11 +01:00
Tim Froidcoeur 40bf1710dd MCP3004: correct number of channels
the MCP3004 has 4 channels, not 3.

Fixes: b0160105("spi: Add MCP3202, MCP3204, MCP3208, and MCP3304
drivers")

Signed-off-by: Tim Froidcoeur <tim.froidcoeur@gmail.com>
2021-11-14 13:31:47 +01:00
Eithel 6bf5b3a532 #700 - Avoid to close the connection.
Each spi drivers must not close the connection: it's not its responsibility.
Robots should close the connection.

Signed-off-by: Eithel <tux.eithel@gmail.com>
2020-01-14 07:27:23 +01:00
Ron Evans 25930107fd spi: add optional params such as bus/chip to all current drivers
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans 7637d90440 spi: switch to using periph.io for SPI interfaces
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
deadprogram b0160105ca spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 20:08:31 +01:00
deadprogram 6f2921ffb6 spi: add MCP3002 A/D converter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 16:40:44 +01:00
deadprogram 41a04f76d0 spi: correct support for MCP3004/MCP3008 A/D converters
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 15:40:38 +01:00
deadprogram 2e7e59b1ce spi: add support for MCP3004 A/D converter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 15:20:07 +01:00