MiaoUI/examples/STM32F103C8T6/USER/HAL/HAL_I2C.h

14 lines
213 B
C
Raw Normal View History

#ifndef _HAL_I2C_H
#define _HAL_I2C_H
2023-12-08 14:22:57 +00:00
#include "stm32f10x.h"
#define I2C_PORT GPIOB
#define I2C_SCL GPIO_Pin_10
#define I2C_SDA GPIO_Pin_11
#define I2C_RCC RCC_APB2Periph_GPIOB
void HAL_I2C_Init(void);
2023-12-08 14:22:57 +00:00
2024-04-06 18:01:42 +00:00
#endif