hwio_types/defs/simple/
percent.rs

1/// For components that take a percent output
2pub trait PercentOutput {
3    /// Write a percent output
4    fn write_percent(val: &f64);
5}
6
7/// For components that can read a percent input
8pub trait PercentInput {
9    /// Read a percent input
10    fn read_percent(val: &f64);
11}