add Hardware IIC

This commit is contained in:
2025-08-14 00:07:16 +08:00
parent cda1a2284d
commit d7029d91e7
4 changed files with 541 additions and 297 deletions

View File

@@ -26,6 +26,8 @@
#define I2C_SDA_PIN GPIO_PIN_0
#define I2C_GPIO_AF GPIO_AF_1
#define I2C_DEBUG_UART USART0
/******************************************************************************/
#define LED_PORT GPIOA