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

@@ -18,6 +18,7 @@ struct gpio {
};
// AFRH, AFRL registers
#define GPIO_AF_MCO_1 (0b0000) // Alternative function 0 (AF0)
#define GPIO_AF_USART2_RX (0b0111) // Alternative function 7 (AF7)
#define GPIO_AF_USART2_TX (0b0111) // Alternative function 7 (AF7)