summaryrefslogtreecommitdiffstats
path: root/src/devices/features
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-082-27/+28
| | | | | | | | | | | | 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-32/+31
| | | | | * Use `non_exhaustive`. * Improve docs.
* Set comparator to default on continuous pulseTyler Slabinski2024-07-311-2/+2
|
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-192-22/+20
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Use edition 2018Diego Barrios Romero2020-06-212-5/+7
|
* Format codeDiego Barrios Romero2019-03-311-2/+10
|
* Code simplificationsDiego Barrios Romero2019-03-312-52/+64
|
* Code formattingDiego Barrios Romero2018-11-212-34/+42
|
* Add function to use the ALERT/RDY pin as conversion-ready pinDiego Barrios Romero2018-11-201-0/+15
|
* Improve documentation of valuesDiego Barrios Romero2018-11-171-0/+10
|
* Rename threshold methodsDiego Barrios Romero2018-11-171-4/+4
|
* 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
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-112-54/+9
|
* Move setting the thresholds to tier2 featuresDiego Barrios Romero2018-11-112-57/+57
|
* Reorganize modulesDiego Barrios Romero2018-11-113-0/+136