Modified 'Timebase Source' from TIM1 to TIM17, TIM1 now operates with 1 MHz input and 1 ms period, channel 1 is configured as PWM output mode and mapped to PA8 to drive a buzzer.

This commit is contained in:
2026-08-06 14:02:24 +08:00
parent d919880a08
commit fd232c511b
9 changed files with 5556 additions and 52 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void NMI_Handler(void);
void HardFault_Handler(void);
void DMA1_Channel1_IRQHandler(void);
void DMA1_Channel2_3_IRQHandler(void);
void TIM1_BRK_UP_TRG_COM_IRQHandler(void);
void TIM17_IRQHandler(void);
void USART2_IRQHandler(void);
/* USER CODE BEGIN EFP */