User Activity

Posted on April 19, 2018 at 08:10I want I2C function on stm32f103rct.pb8-> sda and pb9-> sclI set ports configuration  like this#define I2C_SCL_HIGH    GPIOB->BSRR = 0x00000200    //PB9 0x00000200 set PB9 to 1#define I2C_SCL_LOW     GPIOB->BRR = 0x0...