mirror of https://github.com/m-labs/artiq.git
Robert Jördens
e31ee1f0b3
* Never drive SDL or SDA high. They are specified to be open collector/drain and pulled up by resistive pullups. Driving high fails miserably in a multi-master topology (e.g. with a USB I2C interface). It would only ever be implemented to speed up the bus actively but that's tricky and completely unnecessary here. * Make the handover states between the I2C protocol phases (start, stop, restart, write, read) well defined. Add comments stressing those pre/postconditions. * Add checks for SDA arbitration failures and stuck SCL. * Remove wrong, misleading or redundant comments. |
||
---|---|---|
.. | ||
or1k | ||
Cargo.toml | ||
build.rs | ||
clock.rs | ||
config.rs | ||
ethmac.rs | ||
i2c.rs | ||
i2c_eeprom.rs | ||
ident.rs | ||
io_expander.rs | ||
lib.rs | ||
net_settings.rs | ||
sdram.rs | ||
slave_fpga.rs | ||
spiflash.rs | ||
uart.rs | ||
uart_console.rs | ||
uart_logger.rs |