mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-19 23:08:34 +03:00
add/fix mcp23017 i2c gpio expander functions and tests
Change-Id: Ia2e5a1bf3f97272931014e54e587109297556c03
This commit is contained in:
@@ -22,7 +22,7 @@ void i2c_pin_init(void);
|
||||
|
||||
bool i2c_write_byte(bool send_start, bool send_stop, uint8_t byte);
|
||||
uint8_t i2c_read_byte(bool nack, bool send_stop);
|
||||
static void i2c_stop_cond(void);
|
||||
void i2c_stop_cond(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