summaryrefslogtreecommitdiffstats
path: root/src/devices/mode
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-082-14/+20
| | | | | | | | | | | | 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-233-12/+11
| | | | | * Use `non_exhaustive`. * Improve docs.
* Remove `DynamicOneShot` trait. (#19)Markus Reiter2024-06-101-34/+18
| | | | | * Remove `DynamicOneShot` trait. * Update changelog.
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-192-20/+20
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Update to `embedded-hal` 1.0.Markus Reiter2024-01-192-39/+36
|
* Add value-based one-shot trait to ease driver usage in functionsDiego Barrios Romero2021-07-291-4/+16
|
* Remove unused importDiego Barrios Romero2020-06-211-1/+0
|
* Simplify importsDiego Barrios Romero2020-06-211-2/+3
|
* Use edition 2018Diego Barrios Romero2020-06-212-10/+12
|
* Format codeDiego Barrios Romero2019-03-312-3/+9
|
* Integrate mode change into `into...` methodsDiego Barrios Romero2019-03-312-31/+16
|
* Improve documentation of changing channel in continuous conversion mode.Diego Barrios Romero2019-03-311-0/+4
|
* Code formattingDiego Barrios Romero2018-11-212-12/+14
|
* Make function to read if a measurement is in progress publicDiego Barrios Romero2018-11-211-7/+0
|
* 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-202-3/+8
|
* Improve documentation of valuesDiego Barrios Romero2018-11-171-0/+6
|
* Add FSR to device structDiego Barrios Romero2018-11-172-0/+2
|
* Avoid unnecessary typeDiego Barrios Romero2018-11-112-2/+2
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-113-57/+15
|
* Trigger new measurement if reading a different channelDiego Barrios Romero2018-11-111-3/+9
|
* Reorganize modulesDiego Barrios Romero2018-11-113-0/+136