Expand description
Common enums, structs and traits used for communication with Pico Technology oscilloscope drivers.
This is a sub crate that you probably don’t want to use directly. Try the top level
pico-sdk
crate which exposes everything from here.
Structs§
- Channel
Config - Channel configuration
- Parse
Error - Error when attempting to parse enums from strings
- Pico
Error - Error encapsulating
PicoStatus
error codes with context - Sample
Config - Sample configuration
- Unit
Strings - A simple struct containing the long and short unit strings
Enums§
- Downsample
Mode - Driver downsampling mode
- Driver
- Supported Pico drivers
- Pico
Channel - Pico channel options
- Pico
Coupling - Pico coupling options
- Pico
Info - Pico info options
- Pico
Range - Pico channel ranges
- Pico
Status - Pico return status codes
- Time
Units - Pico time units
Traits§
- From
Pico Str - Pico drivers return strings as *i8. This converts from Pico to Rust string formats
- ToPico
Str - Pico drivers require strings as *mut i8. This converts from Rust to Pico string format
Type Aliases§
- Pico
Result - A result wrapping driver error codes:
Result<T, PicoError>