At 08:34 PM 7/20/2004 +0200, Jørn Tore Ørsland wrote: >How can i define 2 10bit io ports without defining PORTx.X ? >I want to set one bit of the port and leave the others. You can equate things, like this: .equ It_PORT = PORTA .equ It_DDR = DDRA .equ It_PIN = PINA ;PORT A hardware equates .equ SER_RTS = 1 ; IN .equ SER_RXD = 2 ; OUT .equ SER_CTS = 3 ; OUT .equ DEBUG = 7 ; OUT But I don't see any way to make two ports look like one port, especially a 10 bit one..
Message
Re: [AVR-Chat] Define ports
2004-07-20 by David VanHorn