On Tue, 12 May 2009, df_welch wrote: > Hello All, > Without starting a language war, does anyone have an assembly > language TWI master routine or a disassembly of a C TWI routine for > the Mega-2561 which they might be willing to let me use? I've found > the bit banging Atmel code but I'm looking for a routine that takes > advantage of the hardware.
There is a C example in the avr-libc page which you could compile with '-Wa,-adhlmsn=foo.lst' and examine foo.lst. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list