Added more enums handling UART/USART functionality

This commit is contained in:
2025-09-06 20:55:25 -07:00
parent d763965cb8
commit a0ef9c8b32
6 changed files with 124 additions and 37 deletions

View File

@@ -5,10 +5,10 @@
#ifndef SHMINGO_HAL_SHAL_GPIO_H
#define SHMINGO_HAL_SHAL_GPIO_H
#include "SHAL_CORE.h"
#include "SHAL_GPIO_REG.h"
#include <cassert>
#include "SHAL_GPIO_REG_F072xB.h"
#include "SHAL_EXTI_CALLBACK.h"
@@ -28,13 +28,6 @@ enum class TriggerMode : uint8_t{
RISING_FALLING_EDGE
};
unsigned long getTriggerMode(TriggerMode mode);
//Abstraction of GPIO registers
class GPIO{