stm32/adc: Add IN0 channel
This commit is contained in:
parent
5a38cc2140
commit
006bbea51a
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user