[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] TWI Master Routine

From: Daniel O'Connor
Subject: Re: [avr-gcc-list] TWI Master Routine
Date: Tue, 12 May 2009 08:45:20 +0930
User-agent: KMail/1.9.10

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

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]