mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 05:38:33 +03:00
WIP: bit-banging I2C support for EEPROM access on QMOD
for now, it just continuously reads the EEPROM bytes and dumps them to the serial console for testing.
This commit is contained in:
5
firmware/src_simtrace/i2c.h
Normal file
5
firmware/src_simtrace/i2c.h
Normal file
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
void i2c_pin_init(void);
|
||||
int eeprom_write_byte(uint8_t slave, uint8_t addr, uint8_t byte);
|
||||
int eeprom_read_byte(uint8_t slave, uint8_t addr);
|
||||
Reference in New Issue
Block a user