Changed directory structure to eventually support multi-MCU family support - added files

This commit is contained in:
2025-08-29 23:06:44 -07:00
parent a0cb980e16
commit 45abfc6c88
19 changed files with 48 additions and 43 deletions

View File

@@ -2,11 +2,11 @@
// Created by Luca on 8/28/2025.
//
#include "Core/Include/Timer/SHAL_TIM.h"
#include "SHAL_TIM.h"
#include <cassert>
Timer::Timer(Timer_Key t) : timer(t), timer_reg(getTimerRegister(t)){
RCC_Peripheral rcc = getTimerRCC(timer);
SHAL_Peripheral rcc = getTimerRCC(timer);
*rcc.reg |= rcc.bitmask;
}