diff options
author | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-07 20:21:18 +0100 |
---|---|---|
committer | Diego Barrios Romero <eldruin@gmail.com> | 2018-11-07 20:21:18 +0100 |
commit | 42cc99c1835ff2838a25218ae57e47649846af9d (patch) | |
tree | 4282fe03896f200c1502634914d0891080974541 /src/lib.rs | |
parent | 41325641f087f6e01e31d7d5bd741becf0154e77 (diff) | |
download | ads1x1x-async-42cc99c1835ff2838a25218ae57e47649846af9d.tar.gz ads1x1x-async-42cc99c1835ff2838a25218ae57e47649846af9d.tar.xz ads1x1x-async-42cc99c1835ff2838a25218ae57e47649846af9d.zip |
Change interface to handle registers as u16
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -159,6 +159,10 @@ pub use devices::channel; mod private { pub trait Sealed {} + + impl<I2C> Sealed for super::interface::I2cInterface<I2C> {} + impl<SPI, CS> Sealed for super::interface::SpiInterface<SPI, CS> {} + impl Sealed for super::devices::ic::Ads1013 {} impl Sealed for super::devices::ic::Ads1113 {} } |