summaryrefslogtreecommitdiffstats
path: root/src/devices/features/tier2.rs
Commit message (Collapse)AuthorAgeFilesLines
* Modify to use asyncasyncTomasz Kramkowski2024-12-081-21/+22
| | | | | | | | | | | | 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-231-27/+27
| | | | | * Use `non_exhaustive`. * Improve docs.
* Set comparator to default on continuous pulseTyler Slabinski2024-07-311-2/+2
|
* Remove `I2cInterface`. (#20)Markus Reiter2024-01-191-13/+13
| | | | | | | | | * Merge `ReadData` and `WriteData` traits. * Remove `I2cInterface`. * Update changelog. * Fix links.
* Use edition 2018Diego Barrios Romero2020-06-211-2/+2
|
* Format codeDiego Barrios Romero2019-03-311-2/+10
|
* Code simplificationsDiego Barrios Romero2019-03-311-30/+42
|
* Code formattingDiego Barrios Romero2018-11-211-18/+24
|
* 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
|
* Implement value conversions over type parameterDiego Barrios Romero2018-11-111-50/+6
|
* Move setting the thresholds to tier2 featuresDiego Barrios Romero2018-11-111-0/+57
|
* Reorganize modulesDiego Barrios Romero2018-11-111-0/+48