Added files for I2C

This commit is contained in:
Ea-r-th
2025-09-09 20:11:17 -07:00
parent 9f1aad028d
commit 55f03031b3
7 changed files with 74 additions and 14 deletions

View File

@@ -8,20 +8,10 @@
#include "SHAL_CORE.h"
#include "SHAL_GPIO_REG.h"
enum class AF_Mask : uint8_t{
AF0,
AF1,
AF2,
AF3,
AF4,
AF5,
AF6,
AF7
};
//Represents a pair of pins usable for USART Tx + Rx in combination, and their alternate function mapping
struct SHAL_UART_Pair{
USART_TypeDef* USARTReg;
GPIO_Key TxKey;
GPIO_Key RxKey;