summaryrefslogtreecommitdiffstats
path: root/src/devices/features/tier1.rs
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-081-6/+6
| | | | | | | | | | | | 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-3/+3
| | | | | * Use `non_exhaustive`. * Improve docs.
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-191-9/+7
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Use edition 2018Diego Barrios Romero2020-06-211-3/+5
|
* Code simplificationsDiego Barrios Romero2019-03-311-22/+22
|
* Code formattingDiego Barrios Romero2018-11-211-16/+18
|
* Add support for setting the data rate in 16bit devicesDiego Barrios Romero2018-11-111-9/+11
|
* Rename data rate to be specific to the resolutionDiego Barrios Romero2018-11-111-2/+23
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-111-4/+3
|
* Move setting the thresholds to tier2 featuresDiego Barrios Romero2018-11-111-57/+0
|
* Reorganize modulesDiego Barrios Romero2018-11-111-0/+83