[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] port access with avr-gdb
From: |
Brian Dean |
Subject: |
Re: [avr-gcc-list] port access with avr-gdb |
Date: |
Sun, 20 Jun 2004 20:48:50 -0400 |
User-agent: |
Mutt/1.4.2.1i |
On Fri, Jun 18, 2004 at 01:02:03PM -0700, Dave Hylands wrote:
> I like it!
>
> The really nice thing about this approach is that you should be able
> to see the symbolic names of the registers when you disassemble your
> object files.
Does this mean that the following initialization that looks like this:
TCCR3A &= ~(BV(WGM31) | BV(WGM30) | BV(COM3A1));
TCCR3A |= BV(COM3A0);
TCCR3B &= ~(BV(WGM33) | BV(WGM32) | BV(CS32) | BV(CS30));
TCCR3B |= BV(CS31);
Might instead be written like this:
tccr3a.wgm31 = 0;
tccr3a.wgm30 = 0;
tccr3a.com3a1 = 0;
tccr3a.com3a0 = 1;
tccr3b.wgm33 = 0;
tccr3b.wgm32 = 0;
tccr3b.cs32 = 0;
tccr3b.cs30 = 0;
tccr3b.cs31 = 1;
???
-Brian
- Re: [avr-gcc-list] port access with avr-gdb, (continued)
- RE: [avr-gcc-list] port access with avr-gdb, Dave Hylands, 2004/06/18
- RE: [avr-gcc-list] port access with avr-gdb, Dave Hylands, 2004/06/18
- Re: [avr-gcc-list] port access with avr-gdb,
Brian Dean <=
- RE: [avr-gcc-list] port access with avr-gdb, Dave Hylands, 2004/06/21
- RE: [avr-gcc-list] port access with avr-gdb, Dave Hylands, 2004/06/21