mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-03-20 00:30:57 +03:00
I2C works
This commit is contained in:
@@ -49,6 +49,7 @@ typedef struct __attribute__((packed, aligned(4))){
|
||||
// gpio settings
|
||||
pinconfig_t pinconfig[2][16]; // GPIOA, GPIOB
|
||||
usartconf_t usartconfig;
|
||||
uint8_t I2Cspeed;
|
||||
//spiconfig_t spiconfig;
|
||||
} user_conf;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user