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

generalize gpio

parent 702d4062
No related branches found
No related tags found
No related merge requests found
...@@ -488,6 +488,7 @@ macro_rules! gpio { ...@@ -488,6 +488,7 @@ macro_rules! gpio {
} }
} }
// TODO, check if some GPIO should be excluded
gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [ gpio!(GPIOA, gpioa, gpioa, gpioaen, gpioarst, PAx, [
PA0: (pa0, 0, Input<Floating>, AFRL), PA0: (pa0, 0, Input<Floating>, AFRL),
PA1: (pa1, 1, Input<Floating>, AFRL), PA1: (pa1, 1, Input<Floating>, AFRL),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment