har
May 9 2008, 4:38 PM
what is the state of ports of 8051 family on reset???
also even if its FFFFFFh by default then why we have to write 1's in order to configure it as input port??
please help
also even if its FFFFFFh by default then why we have to write 1's in order to configure it as input port??
please help
Ajay
May 9 2008, 5:44 PM
ports are input by default that means 1 or High.
For more information on why its like this.. open 8051 User manual (from Intel) and see the internal construction of I/o ports. you will find latches and buffer there for reading and writing to port. Just read and look at the construction diagram you will get your answer yourself. If you still feel any problem understanding it then, I will explain it
For more information on why its like this.. open 8051 User manual (from Intel) and see the internal construction of I/o ports. you will find latches and buffer there for reading and writing to port. Just read and look at the construction diagram you will get your answer yourself. If you still feel any problem understanding it then, I will explain it
