Type Alias embedded_hal_mock::eh0::adc::Mock
source · pub type Mock<T> = Generic<Transaction<T>>;
Available on crate feature
eh0
only.Expand description
Mock ADC implementation
Mock ADC implements OneShot trait reading operation. Returned type can be either derived from definition of expectations or specified explicitly. Explicit ADC read return type can be used to mock specific ADC accuracy.
Aliased Type§
struct Mock<T> { /* private fields */ }