summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-083-53/+55
| | | | | | | | | | | | 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?
* Update the terms "master/slave" to "controller/target" (#29)Em Shotton2024-08-221-2/+2
| | | | | | | | | | | | * 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>
* Adapt testDiego Barrios Romero2024-07-311-1/+1
|
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-191-9/+2
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Update to `embedded-hal` 1.0.Markus Reiter2024-01-194-15/+11
|
* Update dependenciesDiego Barrios Romero2020-06-221-1/+1
|
* Use edition 2018Diego Barrios Romero2020-06-214-19/+9
|
* Format codeDiego Barrios Romero2019-03-315-125/+433
|
* Extract macroDiego Barrios Romero2019-03-311-6/+19
|
* Integrate mode change into `into...` methodsDiego Barrios Romero2019-03-312-49/+28
|
* Code formattingDiego Barrios Romero2018-11-212-14/+19
|
* Move statement to a better placeDiego Barrios Romero2018-11-212-1/+1
|
* Remove unnecessary statementDiego Barrios Romero2018-11-211-1/+0
|
* Remove unnecessary statementsDiego Barrios Romero2018-11-213-3/+0
|
* Move import to common moduleDiego Barrios Romero2018-11-212-3/+2
|
* Change importDiego Barrios Romero2018-11-211-2/+2
|
* Rename filesDiego Barrios Romero2018-11-213-0/+0
|
* Make function to read if a measurement is in progress publicDiego Barrios Romero2018-11-211-0/+18
|
* Add function to use the ALERT/RDY pin as conversion-ready pinDiego Barrios Romero2018-11-201-0/+23
|
* Add function to read last measurement in continuous modeDiego Barrios Romero2018-11-201-12/+53
|
* Add function to select the measurement channel in continuous modeDiego Barrios Romero2018-11-201-0/+10
|
* Add method to start continuous conversionsDiego Barrios Romero2018-11-201-6/+12
|
* Rename threshold methodsDiego Barrios Romero2018-11-171-2/+2
|
* Fix blanksDiego Barrios Romero2018-11-171-1/+1
|
* Add support for setting the full-scale range (PGA)Diego Barrios Romero2018-11-172-2/+14
|
* Add mode conversion testsDiego Barrios Romero2018-11-172-1/+22
|
* Add support for setting the comparator queueDiego Barrios Romero2018-11-171-1/+10
|
* Add function to disable comparatorDiego Barrios Romero2018-11-172-0/+10
|
* Revert "Make macro use specific to tests"Diego Barrios Romero2018-11-131-1/+1
| | | | This reverts commit 998047fa397e4b28a199baaba32f2f190f0689f3.
* Revert "Make macro use specific to tests"Diego Barrios Romero2018-11-131-1/+1
| | | | This reverts commit 676504976d67f976cde947b11652848fd5132613.
* Make macro use specific to testsDiego Barrios Romero2018-11-131-1/+1
|
* Remove unused importDiego Barrios Romero2018-11-131-1/+0
|
* Make macro use specific to testsDiego Barrios Romero2018-11-131-1/+1
|
* Remove unnecessary importDiego Barrios Romero2018-11-131-1/+0
|
* Remove unnecessary newlineDiego Barrios Romero2018-11-131-2/+1
|
* Move construction tests into specific moduleDiego Barrios Romero2018-11-132-5/+30
|
* Add constructor/destructor methods for all devicesDiego Barrios Romero2018-11-131-0/+2
|
* Add support for setting the data rate in 16bit devicesDiego Barrios Romero2018-11-111-17/+41
|
* Move data rate tests to tier1 testsDiego Barrios Romero2018-11-112-38/+25
|
* Rename data rate to be specific to the resolutionDiego Barrios Romero2018-11-111-2/+2
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-111-7/+7
|
* Move setting the thresholds to tier2 featuresDiego Barrios Romero2018-11-112-17/+6
|
* Refactor testsDiego Barrios Romero2018-11-111-8/+15
|
* Trigger new measurement if reading a different channelDiego Barrios Romero2018-11-111-9/+28
|
* Encapsule test in moduleDiego Barrios Romero2018-11-111-13/+16
|
* Add support for channel selectionDiego Barrios Romero2018-11-112-0/+45
|
* Allow unused methodsDiego Barrios Romero2018-11-111-0/+1
|
* Rename test moduleDiego Barrios Romero2018-11-111-0/+0
|
* Use new channel selection typesDiego Barrios Romero2018-11-111-2/+2
|
* Add support for setting the comparator latchingDiego Barrios Romero2018-11-102-1/+7
|