From 39f90fde30125f649f2bbdc5497e9a119d0691ef Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Sun, 21 Jun 2020 23:09:28 +0200 Subject: Improve SlaveAddr::Alternative documentation --- src/types.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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), } -- cgit v1.2.3-54-g00ecf