stm32/adc: Add IN0 channel
This commit is contained in:
parent
5a38cc2140
commit
006bbea51a
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue