USART1 @ STM32G0B1

This commit is contained in:
Edward Emelianov
2026-03-02 23:21:31 +03:00
parent 71d30dd19a
commit 8f6a80e2c7
15 changed files with 592 additions and 48 deletions

View File

@@ -19,6 +19,8 @@
*/
#include "vector.h"
uint32_t SysFreq = 8000000;
typedef void (*vector_table_entry_t)(void);
typedef void (*funcp_t) (void);
@@ -39,6 +41,7 @@ void null_handler(void);
#define NVIC_IRQ_COUNT 32
#if defined(STM32G070xx)
#define IRQ_HANDLERS \
[WWDG_IRQn] = wwdg_isr, \
[RTC_TAMP_IRQn] = rtc_isr, \
[FLASH_IRQn] = flash_isr, \