Make the TWI driver more generic to work with devices other than EEPROMS.