Changed directory structure to eventually support multi-MCU family support
This commit is contained in:
16
SHAL/Include/Core/SHAL_CORE.h
Normal file
16
SHAL/Include/Core/SHAL_CORE.h
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
//
|
||||||
|
// Created by Luca on 8/29/2025.
|
||||||
|
//
|
||||||
|
|
||||||
|
#ifndef SHMINGO_HAL_SHAL_CORE_H
|
||||||
|
#define SHMINGO_HAL_SHAL_CORE_H
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
|
||||||
|
struct RCC_Peripheral {
|
||||||
|
volatile uint32_t* reg;
|
||||||
|
uint32_t bitmask;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif //SHMINGO_HAL_SHAL_CORE_H
|
||||||
@@ -1,15 +1,9 @@
|
|||||||
#ifndef SHAL_TIM_REG_H
|
#ifndef SHAL_TIM_REG_H
|
||||||
#define SHAL_TIM_REG_H
|
#define SHAL_TIM_REG_H
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <stm32f072xb.h>
|
#include <stm32f072xb.h>
|
||||||
|
|
||||||
struct RCC_Peripheral {
|
|
||||||
volatile uint32_t* reg;
|
|
||||||
uint32_t bitmask;
|
|
||||||
};
|
|
||||||
|
|
||||||
enum class Timer_Key { //For STM32F072
|
enum class Timer_Key { //For STM32F072
|
||||||
S_TIM1,
|
S_TIM1,
|
||||||
S_TIM2,
|
S_TIM2,
|
||||||
Reference in New Issue
Block a user