Expand description
Commands sent to the device and their responses
This module contains structs that can be serialized into commands being sent to the device.
Each command implements the UnaryCommand
trait which specifies the response type as an
associated type.
It’s typical to use the [roundtrip] method in order to send the command to a transport and obtained its parsed response.
Structs§
- Addr
- Bytes
Wrap - Float
View - A contiguous view of floats read from the device
- Gain
- A gain between the minimum and maximum allowed values
- Memory
View - Write
Int - 0x13: Write an integer value
Enums§
Constants§
- READ_
FLOATS_ MAX - Maximum number of floats that can be read in a single command
Traits§
- Extend
View - Memory views can be extended with multiple contiguous reads
- From
Memory - Types that can be read from a contiguous memory representation
- Unary
Response - Parsable response type