bluepill firmware that turns it into a USB-I2C multimaster gateway with a simple serial protocol.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
bluepill-i2c-gw/Core/Inc/i2c_gateway.h

9 lines
157 B

#ifndef I2C_GATEWAY_H
#define I2C_GATEWAY_H
#include <stdint.h>
#include <stddef.h>
void i2c_command(uint8_t *packet, size_t len);
#endif //I2C_GATEWAY_H