summaryrefslogtreecommitdiffstats
path: root/src/devices
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-085-49/+60
| | | | | | | | | | | | 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-237-46/+44
| | | | | * Use `non_exhaustive`. * Improve docs.
* Set comparator to default on continuous pulseTyler Slabinski2024-07-311-2/+2
|
* Remove `DynamicOneShot` trait. (#19)Markus Reiter2024-06-101-34/+18
| | | | | * Remove `DynamicOneShot` trait. * Update changelog.
* 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-195-47/+59
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Update to `embedded-hal` 1.0.Markus Reiter2024-01-193-44/+40
|
* 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-215-17/+20
|
* Format codeDiego Barrios Romero2019-03-314-7/+21
|
* Code simplificationsDiego Barrios Romero2019-03-312-52/+64
|
* 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-216-49/+59
|
* Make type copyableDiego Barrios Romero2018-11-211-1/+1
|
* Remove unused capabilitiesDiego Barrios Romero2018-11-211-1/+1
|
* Make function to read if a measurement is in progress publicDiego Barrios Romero2018-11-212-8/+9
|
* Add function to use the ALERT/RDY pin as conversion-ready pinDiego Barrios Romero2018-11-201-0/+15
|
* Remove unnecessary returnDiego Barrios Romero2018-11-201-1/+1
|
* remove outdated commentDiego Barrios Romero2018-11-201-2/+0
|
* Improve continuous function documentationDiego Barrios Romero2018-11-201-0/+9
|
* Reorder docsDiego Barrios Romero2018-11-201-1/+1
|
* 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
|
* Make types copyableDiego Barrios Romero2018-11-171-0/+1
|
* Improve documentation of valuesDiego Barrios Romero2018-11-172-0/+16
|
* Rename threshold methodsDiego Barrios Romero2018-11-171-4/+4
|
* Add FSR to device structDiego Barrios Romero2018-11-172-0/+2
|
* Add support for setting the full-scale range (PGA)Diego Barrios Romero2018-11-171-2/+22
|
* Add support for setting the comparator queueDiego Barrios Romero2018-11-171-1/+17
|
* Add function to disable comparatorDiego Barrios Romero2018-11-171-0/+11
|
* 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
|
* Avoid unnecessary typeDiego Barrios Romero2018-11-112-2/+2
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-116-115/+27
|
* Move setting the thresholds to tier2 featuresDiego Barrios Romero2018-11-112-57/+57
|
* Trigger new measurement if reading a different channelDiego Barrios Romero2018-11-111-3/+9
|
* Reorganize modulesDiego Barrios Romero2018-11-1113-194/+12
|
* Add support for channel selectionDiego Barrios Romero2018-11-112-6/+25
|
* Move module use upDiego Barrios Romero2018-11-111-2/+2
|
* Shorten importDiego Barrios Romero2018-11-112-4/+4
|
* Implement definitions for differential and single ended measurementsDiego Barrios Romero2018-11-111-16/+54
|
* Add ADS1015 and ADS1115 to the tier 2 featuresDiego Barrios Romero2018-11-111-0/+2
|
* Add support for ADS1015 and ADS1115 devicesDiego Barrios Romero2018-11-112-0/+4
|
* Update documentationDiego Barrios Romero2018-11-111-1/+1
|
* Add support for setting the comparator latchingDiego Barrios Romero2018-11-101-1/+13
|
* Add support for setting the comparator polarityDiego Barrios Romero2018-11-101-1/+14
|