lpc176x: Add support for additional i2c buses

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2020-04-21 13:51:29 -04:00
parent c5e7985740
commit 8ac81fed67
3 changed files with 68 additions and 48 deletions

View File

@@ -39,6 +39,7 @@ void spi_transfer(struct spi_config config, uint8_t receive_data
, uint8_t len, uint8_t *data);
struct i2c_config {
void *i2c;
uint8_t addr;
};