Home/Support/Support Forum/Can i config port A as Input and Output? RCM6710
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Can i config port A as Input and Output? RCM6710

0 votes

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

asked Jun 15, 2020 in Rabbit by Ctjpham New to the Community (3 points)
recategorized Jun 15, 2020 by rmaroun

Please log in or register to answer this question.

1 Answer

0 votes
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.
answered Jun 16, 2020 by TomCollins Veteran of the Digi Community (2,229 points)