Can i config port A as Input and Output? RCM6710

Hi,

Can I config PortA as parallel and PA0 as an output and PA1 as an input? According document “Rabbit® 6000 Microprocessor. User’s Manual 90001108_”, Port a can be all output or Input but not mix.

Parallel Port A uses pins PA0 through PA7. These pins can be used as follows.
• General-purpose 8-bit data input (write 0x080 to SPCR)
• General-purpose 8-bit data output (write 0x084 to SPCR)

Thank you

Chi

Correct, port A has a single direction setting for all pins.

The other ports have a data direction register (e.g., PBDDR) to set the direction of individual bits.