Skip to content
Snippets Groups Projects
Commit 702d4062 authored by Per Lindgren's avatar Per Lindgren
Browse files

generalize gpio

parent 4448fd96
No related branches found
No related tags found
No related merge requests found
......@@ -502,19 +502,17 @@ gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [
PA10: (pa10, 10, Input<Floating>, AFRH),
PA11: (pa11, 11, Input<Floating>, AFRH),
PA12: (pa12, 12, Input<Floating>, AFRH),
// TODO these are configured as JTAG pins
// PA13: (13, Input<Floating>),
// PA14: (14, Input<Floating>),
// PA15: (15, Input<Floating>),
PA13: (pa13, 13, Input<Floating>, AFRH),
PA14: (pa14, 14, Input<Floating>, AFRH),
PA15: (pa15, 15, Input<Floating>, AFRH),
]);
gpio!(GPIOB, gpiob, gpiob, gpioben, gpiobrst, PBx, [
PB0: (pb0, 0, Input<Floating>, AFRL),
PB1: (pb1, 1, Input<Floating>, AFRL),
PB2: (pb2, 2, Input<Floating>, AFRL),
// TODO these are configured as JTAG pins
// PB3: (3, Input<Floating>),
// PB4: (4, Input<Floating>),
PB3: (pb3, 3, Input<Floating>, AFRL),
PB4: (pb4, 4, Input<Floating>, AFRL),
PB5: (pb5, 5, Input<Floating>, AFRL),
PB6: (pb6, 6, Input<Floating>, AFRL),
PB7: (pb7, 7, Input<Floating>, AFRL),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment