summaryrefslogtreecommitdiffstats
path: root/src/devices/mode/continuous.rs
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-081-7/+10
| | | | | | | | | | | | 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-4/+4
| | | | | * Use `non_exhaustive`. * Improve docs.
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-191-8/+8
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Update to `embedded-hal` 1.0.Markus Reiter2024-01-191-8/+5
|
* Simplify importsDiego Barrios Romero2020-06-211-2/+3
|
* Use edition 2018Diego Barrios Romero2020-06-211-3/+4
|
* Integrate mode change into `into...` methodsDiego Barrios Romero2019-03-311-28/+7
|
* Improve documentation of changing channel in continuous conversion mode.Diego Barrios Romero2019-03-311-0/+4
|
* Code formattingDiego Barrios Romero2018-11-211-5/+6
|
* Remove unnecessary returnDiego Barrios Romero2018-11-201-1/+1
|
* Improve continuous function documentationDiego Barrios Romero2018-11-201-0/+9
|
* Add function to read last measurement in continuous modeDiego Barrios Romero2018-11-201-2/+12
|
* Add function to select the measurement channel in continuous modeDiego Barrios Romero2018-11-201-2/+19
|
* Add method to start continuous conversionsDiego Barrios Romero2018-11-201-0/+7
|
* Add FSR to device structDiego Barrios Romero2018-11-171-0/+1
|
* Avoid unnecessary typeDiego Barrios Romero2018-11-111-1/+1
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-111-4/+4
|
* Reorganize modulesDiego Barrios Romero2018-11-111-0/+23