stm32/adc: Add IN0 channel

This commit is contained in:
Ben Gamari 2021-09-29 00:31:42 -04:00
parent 5a38cc2140
commit 006bbea51a

View file

@ -72,6 +72,9 @@ macro_rules! impl_pin {
}
crate::pac::peripheral_pins!(
($inst:ident, adc, ADC, $pin:ident, IN0) => {
impl_pin!($inst, $pin, 0);
};
($inst:ident, adc, ADC, $pin:ident, IN1) => {
impl_pin!($inst, $pin, 1);
};