I think cygwin\usr\local\avr\include\avr\iom128.h
is the file you are looking for. It contains these:

/* Timer/Counter 3 Control Register B */
#define TCCR3B    _SFR_MEM8(0x8A)

/* Timer/Counter 3 Control Register A */
#define TCCR3A    _SFR_MEM8(0x8B)

/* Timer/Counter 3 Control Register C */
#define TCCR3C    _SFR_MEM8(0x8C)

But no TCCR3 all on it's own. Is that the real register name?

MS


Michael Collett wrote:
Hi,

I'm trying to implement timer3 on my micaz motes using tinyos-1.x

I'm getting the errors TCCR3 undeclared
OCIE3 undeclared
etc.

I've tried to find where TCCR2 is declared to see how I can add the same for 
timer3, but I cant find it anywhere. Are these variables hard-wired into the 
ATMega128? In which case, how do I get around the compile problem?

Thanks,

Mike

-------------------------------------------------------------------
This e-mail and any attachments may contain confidential and/or
privileged material; it is for the intended addressee(s) only.
If you are not a named addressee, you must not use, retain or
disclose such information.

NPL Management Ltd cannot guarantee that the e-mail or any
attachments are free from viruses.

NPL Management Ltd. Registered in England and Wales. No: 2937881
Registered Office: Serco House, 16 Bartley Wood Business Park,
                   Hook, Hampshire, United Kingdom  RG27 9UY
-------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to