Rolf,
> Another question is why in SLAA078A the timer for
the
> software UART is named A3. The assembler code calls it A0 and
> uses Comparator 0, CCR0 and Output Unit 0. Is A3 an error or
> what does it mean?
Timer_A3 is the module name. You're using one of the capture/compares
(of the three) in the Timer_A3 module.
-- Paul.
Re: Pretty-printer for assembler?, SLAA078A and Timer A3
Started by ●May 27, 2003
Reply by ●May 27, 20032003-05-27
Hi, i'm using the pretty-printer indent for c files but because indent can't pretty-print assembler files i'm searching a pretty-printer for assembler files. Does anyone knows a pretty-printer for assembler files? Another question is why in SLAA078A the timer for the software UART is named A3. The assembler code calls it A0 and uses Comparator 0, CCR0 and Output Unit 0. Is A3 an error or what does it mean? Regards Rolf F.
Reply by ●May 27, 20032003-05-27
Timer A3 means a 16-bit Timer A with 3 Capture-Compare Registers, of which your code is only using one (0). There is only one actual timer/counter. Some parts have a second timer/counter as well: typically Timer B3 (3 Capture-Compare Registers) or timer B7 (7 Capture-Compare Registers). >Hi, Another question is why in SLAA078A the timer for the software UART is named A3. The assembler code calls it A0 and uses Comparator 0, CCR0 and Output Unit 0. Is A3 an error or what does it mean? Regards Rolf F.
Reply by ●May 27, 20032003-05-27
Hi,
> Timer A3 means a 16-bit Timer A with 3
Capture-Compare Registers, of which
> your code is only using one (0). There is only one actual timer/counter.
> Some parts have a second timer/counter as well: typically Timer B3 (3
> Capture-Compare Registers) or timer B7 (7 Capture-Compare Registers).
Thanks for the explanation.
But what about a prettyprinter for assembler?
Regards
Rolf F.