aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* stm32: Add a gpio_valid() helper functionKevin O'Connor2022-09-051-12/+12
| | | | | | Add a function to validate that a gpio pin is valid on the chip. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Define PGx pins on stm32f103Kevin O'Connor2019-11-021-2/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Support stm32f042 build from stm32/ directoryKevin O'Connor2019-10-231-1/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Initial support for stm32f070Kevin O'Connor2019-10-231-3/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Be explicit in layout of gpio banks in digital_regs variableKevin O'Connor2019-10-231-3/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Fix gpio enumerations (each bank has 16 pins, not 32)Kevin O'Connor2019-08-311-9/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Make sure to enable the gpio clock prior to setting the first valueKevin O'Connor2019-08-201-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Rename stm32f4/ directory to stm32/Kevin O'Connor2019-08-051-0/+130
Now that the code in stm32f4/ can handle both stm32f1 and stm32f4 chips, rename the directory to just "stm32". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>