Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Heldt
980b9a2d9b GPIO alternative function registers are 32bit each, not 64bit 2025-01-01 12:44:28 +01:00
Alexander Heldt
3aad7271a1 Use RCC_CFGR_SW helper function to set software clock 2025-01-01 12:44:10 +01:00
Alexander Heldt
11f469564f Turn off HSI earlier 2025-01-01 12:43:48 +01:00
Alexander Heldt
916d7d9620 Set correct PLL N for 96MHz 2025-01-01 12:43:43 +01:00
Alexander Heldt
a63527a997 Correctly check PLL readiness 2025-01-01 12:43:19 +01:00
Alexander Heldt
8f3285072b Generalise naming of TIMx_ENABLE 2025-01-01 12:42:26 +01:00
Alexander Heldt
a3c1de878a Blink LED with timer 2024-08-11 12:31:34 +02:00
Alexander Heldt
d9389b4eb8 Configure system clock to run at 96Mhz 2024-08-11 12:31:04 +02:00
Alexander Heldt
0fec3d6a6c Add clock configuration registers to rcc.h 2024-08-03 11:56:22 +02:00
Alexander Heldt
5b5da238d5 Blink LED with spin function 2024-08-03 11:55:27 +02:00
Alexander Heldt
a8a5e21b77 Add gpio.{h, c} 2024-08-03 11:55:27 +02:00
Alexander Heldt
cc8380759b Add #define for main exit code 2024-08-03 11:55:27 +02:00
Alexander Heldt
3dab4aece3 Add preprocessing step 2024-08-03 11:54:31 +02:00