pub trait InputConfigurator<IC, S>where
IC: InputConfig<S>,{
// Required method
fn configure(&self, in_conf: IC) -> fn() -> S;
}Expand description
Defines (typically at the hardware level) how a configured input is read.
For example:
- For an input configuration IC, what does the hardware do to read the signal S?
- For an input configuration analog GPIO2, what does the hardware do to read GPIO2?
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".