Tell me can port 0 be used as input output port?
Submitted by: Muhammad☛ Yes, port 0 can be used as input output port.
☛ Port 0 is an open drain unlike ports 2,3,4.
☛ To use it as input or output the 10k ohm pull-up resisters are connected to it externally.
☛ To make port 0 as input port it must be programmed by writing 1 to all bits.
Example:
MOV A,#0FFH
MOV P0,A
Submitted by: Muhammad
☛ Port 0 is an open drain unlike ports 2,3,4.
☛ To use it as input or output the 10k ohm pull-up resisters are connected to it externally.
☛ To make port 0 as input port it must be programmed by writing 1 to all bits.
Example:
MOV A,#0FFH
MOV P0,A
Submitted by: Muhammad
Read Online Advanced Embedded Systems Job Interview Questions And Answers
Top Advanced Embedded Systems Questions
| ☺ | Tell me what is the difference between microprocessor and microcontroller? |
| ☺ | Do you know what is lst file? |
| ☺ | What is high-end embedded processor? |
| ☺ | What is interrupt latency? How can you reduce it? |
| ☺ | What is embedded system in a computer system? |
Top New Artificial Intelligence Categories
| ☺ | Virtual Assistant Interview Questions. |
| ☺ | Artificial Intelligence Robotics Interview Questions. |
| ☺ | AI Fuzzy Logic Interview Questions. |
| ☺ | Artificial Intelligence Neural Networks Interview Questions. |
| ☺ | Artificial Intelligence Games Interview Questions. |
