??? 02/01/06 14:38 Read: times |
#108891 - The confusion arises... Responding to: ???'s previous message |
If every port pin on every processor in the world had the same quasi-bidirectional structure, there'd be no confusion.
Trouble is, some processors do have specific "Port Direction" registers that are totally separate from the Ports' "Data" register - and you do have to specifically configure pins to be "Inputs" or "Outputs". The AVR is an example. (I think that old crock the 8255 is similar?) Thus, if someone comes from another processor and is used to having to deal with a "Port Direction" (or "Data Direction") register - and they hear people talking about "configuring" 8051 pins "as inputs" or "as outputs" - they could waste ages trying to find the 8051's "Port Direction" (or "Data Direction") registers!! Worse yet, some modern 8051 derivatives do have pins that do specifically require that you write something to a real "Port Configuration" SFR...!! Confusion abounds!! |