esp-idf-hal 0.45.2

A Hardware abstraction layer for Espressif's ESP family of microcontrollers based on the ESP-IDF framework.
1
2
3
4
5
6
7
8
9
use crate::adc;

impl embedded_hal_0_2::adc::Channel<adc::ADC1> for HallSensor {
    type ID = ();

    fn channel() -> Self::ID {}
}

crate::impl_peripheral!(HallSensor);