??? 01/31/06 21:51 Read: times |
#108841 - Keil is wrong! Responding to: ???'s previous message |
Oh dear, sloppy terminology from Keil now! :-(
Always refer to the source documents first. Any other references are to be judged on the basis of the source documents. In this case, the source document is the so-called "bible" for the 8051: The port strucures are shown in Figure 4 on page 4 of the Hardware Description - you can see that there is nothing that configures a port pin as an input or an output - they are all bidirectional all the time. Note that some modern derivatives do have push-pull output drivers, and so these derivatives do require pins to be specifically configured as inputs or outputs - but not the original, "standard" 8051. Chapter 1 - Family Archtecture: http://www.semiconductors.philips.com/acrobat/v...ARCH_1.pdf chapter 2 - Programmer's Guide & Instruction Set: http://www.semiconductors.philips.com/acrobat/v...UIDE_1.pdf chapter 3 - Hardware Description http://www.semiconductors.philips.com/acrobat/v...WARE_1.pdf |