summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Barrios Romero <eldruin@gmail.com>2020-06-21 23:09:28 +0200
committerDiego Barrios Romero <eldruin@gmail.com>2020-06-21 23:09:28 +0200
commit39f90fde30125f649f2bbdc5497e9a119d0691ef (patch)
tree73905d96a4fbc82d36def6c90b4614d86d97a3c5
parentc49770ec3656b97a098b6f6ea348d4d6c43cb327 (diff)
downloadads1x1x-async-39f90fde30125f649f2bbdc5497e9a119d0691ef.tar.gz
ads1x1x-async-39f90fde30125f649f2bbdc5497e9a119d0691ef.tar.xz
ads1x1x-async-39f90fde30125f649f2bbdc5497e9a119d0691ef.zip
Improve SlaveAddr::Alternative documentation
-rw-r--r--src/types.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/types.rs b/src/types.rs
index 67994d6..c6bda1a 100644
--- a/src/types.rs
+++ b/src/types.rs
@@ -157,7 +157,8 @@ pub enum FullScaleRange {
pub enum SlaveAddr {
/// Default slave address
Default,
- /// Alternative slave address providing bit values for A1 and A0
+ /// Alternative slave address using the provided values
+ /// for the last two bits (A1, A0)
Alternative(bool, bool),
}