Add gpio_set_af to set alternative function of a pin

This commit is contained in:
Alexander Heldt
2025-01-01 12:23:18 +01:00
parent 3f95f00852
commit 992b3c5b97
10 changed files with 549 additions and 335 deletions

View File

@@ -38,6 +38,7 @@ typedef enum {
} GPIO_MODE;
void gpio_set_mode(uint16_t pin, GPIO_MODE mode);
void gpio_set_af(uint16_t pin, uint8_t af);
void gpio_write(uint16_t pin, bool val);
#endif