summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-086-50/+61
| | | | | | | | | | | | 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-2311-69/+72
| | | | | * Use `non_exhaustive`. * Improve docs.
* Update the terms "master/slave" to "controller/target" (#29)Em Shotton2024-08-223-30/+30
| | | | | | | | | | | | * Update the terms "master/slave" to "controller/target" throughout to align with the i2c bus specification v.7 * Updated Changelog * Change word casing --------- Co-authored-by: Em Shotton <matthewfshotton@gmail.com> Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
* Fix typo in docsDiego Barrios Romero2024-07-311-1/+1
|
* Set comparator to default on continuous pulseTyler Slabinski2024-07-311-2/+2
|
* Remove `DynamicOneShot` trait. (#19)Markus Reiter2024-06-104-61/+31
| | | | | * Remove `DynamicOneShot` trait. * Update changelog.
* Simplify `SlaveAddr`. (#21)Markus Reiter2024-02-133-88/+35
| | | | | | | | | | | * Simplify `SlaveAddr`. * Update changelog. * Update CHANGELOG.md --------- Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
* Make `FullScaleRange` docs consistent. (#23)Markus Reiter2024-01-301-1/+1
|
* Remove `reset_internal_driver_state`. (#22)Markus Reiter2024-01-301-15/+0
| | | | | * Remove `reset_internal_driver_state`. * Update changelog.
* Simplify docs for `FullScaleRange`. (#18)Markus Reiter2024-01-301-6/+6
|
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-1910-121/+73
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Derive common traits for types + default for ComparatorQueueDiego Barrios Romero2024-01-191-22/+17
|
* Update to `embedded-hal` 1.0.Markus Reiter2024-01-1910-178/+149
|
* Prepare 0.2.2 releaseDiego Barrios Romero2021-07-291-1/+1
|
* Add docs rootDiego Barrios Romero2021-07-291-0/+1
|
* Add value-based one-shot trait to ease driver usage in functionsDiego Barrios Romero2021-07-294-7/+41
|
* Add unit testDiego Barrios Romero2020-06-221-1/+6
|
* Remove unused importDiego Barrios Romero2020-06-211-1/+0
|
* Improve documentation exampleDiego Barrios Romero2020-06-211-2/+2
|
* Add example of new SlaveAddr methods to docsDiego Barrios Romero2020-06-211-1/+16
|
* Reorder importsDiego Barrios Romero2020-06-211-10/+10
|
* Remove empty lineDiego Barrios Romero2020-06-211-1/+0
|
* Add alternative address helper creation methodsDiego Barrios Romero2020-06-211-0/+40
|
* Improve SlaveAddr::Alternative documentationDiego Barrios Romero2020-06-211-1/+2
|
* Extract type definitions into separate moduleDiego Barrios Romero2020-06-212-245/+252
|
* Simplify importsDiego Barrios Romero2020-06-212-4/+3
|
* Remove unnecessary main in doctestsDiego Barrios Romero2020-06-211-17/+5
|
* Use edition 2018Diego Barrios Romero2020-06-2111-59/+55
|
* Remove deny warnings but forbid then on CIDiego Barrios Romero2020-04-241-1/+0
|
* Format codeDiego Barrios Romero2019-03-317-51/+85
|
* Code simplificationsDiego Barrios Romero2019-03-312-52/+64
|
* Rename constantDiego Barrios Romero2019-03-311-5/+6
|
* Extract functionDiego Barrios Romero2019-03-311-6/+10
|
* Integrate mode change into `into...` methodsDiego Barrios Romero2019-03-313-40/+38
|
* Improve documentation of changing channel in continuous conversion mode.Diego Barrios Romero2019-03-311-0/+4
|
* Add links to examples repositoryDiego Barrios Romero2019-02-181-0/+4
|
* Remove reference to spiDiego Barrios Romero2018-11-211-1/+1
|
* Improve table formatDiego Barrios Romero2018-11-211-8/+8
|
* Code formattingDiego Barrios Romero2018-11-2112-96/+102
|
* Add tests for assert functionDiego Barrios Romero2018-11-211-0/+11
|
* Make type copyableDiego Barrios Romero2018-11-211-1/+1
|
* Rename error typeDiego Barrios Romero2018-11-212-3/+3
|
* Remove unused capabilitiesDiego Barrios Romero2018-11-211-1/+1
|
* Move i2c construction module outsideDiego Barrios Romero2018-11-212-4/+1
|
* Fix logicDiego Barrios Romero2018-11-211-1/+1
|
* Fix doc linkDiego Barrios Romero2018-11-211-1/+1
|
* Reorganize driver capabilitiesDiego Barrios Romero2018-11-211-6/+7
|
* Add example of reading measurement in continuous modeDiego Barrios Romero2018-11-211-1/+7
|
* Make function to read if a measurement is in progress publicDiego Barrios Romero2018-11-213-8/+11
|
* Update docsDiego Barrios Romero2018-11-211-2/+2
|