[add] soft i2c rewrite

This commit is contained in:
robinson
2026-05-11 08:25:49 +08:00
parent ed81f89cd6
commit 5bf1920867
36 changed files with 1374 additions and 3797 deletions

View File

@@ -71,8 +71,8 @@ void MX_GPIO_Init(void)
/*Configure GPIO pins : SDA_Pin SCL_Pin */
GPIO_InitStruct.Pin = SDA_Pin|SCL_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;
GPIO_InitStruct.Pull = GPIO_PULLUP;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
HAL_GPIO_Init(GPIOF, &GPIO_InitStruct);