Commit Graph

7 Commits

Author SHA1 Message Date
Alexander Heldt
992b3c5b97 Add gpio_set_af to set alternative function of a pin 2025-01-01 12:47:01 +01:00
Alexander Heldt
3f95f00852 Add PORT macro
And use it in the `PIN` macro
2025-01-01 12:46:44 +01:00
Alexander Heldt
2a1e3a41da Fix gpio_set_mode masking 2025-01-01 12:46:31 +01:00
Alexander Heldt
152a9ad8a7 Remove BIT macro 2025-01-01 12:46:01 +01:00
Alexander Heldt
980b9a2d9b GPIO alternative function registers are 32bit each, not 64bit 2025-01-01 12:44:28 +01:00
Alexander Heldt
8f3285072b Generalise naming of TIMx_ENABLE 2025-01-01 12:42:26 +01:00
Alexander Heldt
a8a5e21b77 Add gpio.{h, c} 2024-08-03 11:55:27 +02:00