Add ability to debug clock with MCO1

This commit is contained in:
Alexander Heldt
2025-01-01 12:37:52 +01:00
parent 55ee09eab8
commit 1ae81edf57
17 changed files with 1124 additions and 926 deletions

View File

@@ -2000,6 +2000,7 @@ struct gpio {
};
#define GPIO_AF_MCO_1 (0b0000)
#define GPIO_AF_USART2_RX (0b0111)
#define GPIO_AF_USART2_TX (0b0111)
@@ -2026,9 +2027,9 @@ typedef enum {
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,
# 46 "src/gpio.h" 3 4
# 47 "src/gpio.h" 3 4
_Bool
# 46 "src/gpio.h"
# 47 "src/gpio.h"
val);
# 5 "src/gpio.c" 2