You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the ability to create a collection of lines from a single chip and read or write those lines simultaneously with a single stystem call.
14
+
15
+
- A new `Lines` object (plural) was added. It is a collection of individual `Line` objects on a single `Chip` which can be read or written simultaneously with a single system call.
16
+
- A `Line` now just contains the reference to the Chip and the offset number. No system call is incurred when one is created.
17
+
- Information about an individual line is now represented by a separate `LineInfo` struct which can be obtained from the function `Line::info()`. This incurs a system call to retrieve the information.
18
+
- Creating a `Line` can't fail unless the caller specifies an offset that is out of range of the chip.
19
+
- The `LineIterator` can not fail since it checks the offset range. So now its item is just a `Line`, and not `Result<Line>`.
20
+
- There was no longer a need for `Line::refresh()` so it was removed.
21
+
- Since a `Line` object is trivial to create, it is now OK to have `Lines` be a simple collection of `Line` structs.
22
+
23
+
## v0.1.0 - 2018-09-28
12
24
13
25
- Initial release of the library with basic operations centered around operating
0 commit comments