summaryrefslogtreecommitdiffstats
path: root/src/devices/common.rs
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-081-8/+12
| | | | | | | | | | | | A changeover from embedded_hal::i2c::I2c to embedded_hal_async::i2c::I2c including changes to all the relevant functions into async functions. Tests have been updated to work using futures-test and embedded-hal-mock with the embedded-hal-async feature. Examples have been kept the same meaning they no longer compile. Currently it doesn't _seem_ like the linux embedded hal can do async i2c so maybe these should be re-written to use embassy?
* Improve documentation. (#32)Markus Reiter2024-11-231-2/+2
| | | | | * Use `non_exhaustive`. * Improve docs.
* Remove `reset_internal_driver_state`. (#22)Markus Reiter2024-01-301-15/+0
| | | | | * Remove `reset_internal_driver_state`. * Update changelog.
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-191-5/+19
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Update to `embedded-hal` 1.0.Markus Reiter2024-01-191-5/+4
|
* Use edition 2018Diego Barrios Romero2020-06-211-2/+1
|
* Code formattingDiego Barrios Romero2018-11-211-2/+2
|
* Make function to read if a measurement is in progress publicDiego Barrios Romero2018-11-211-1/+9
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-111-4/+3
|
* Reorganize modulesDiego Barrios Romero2018-11-111-0/+36