I/O PORTS OF 8051
BY
Ms.S.Preethi
Assistant Professor (SRG)
ECE Department
Kongu Engineering College
PIN DIAGRAM
Functions of Ports
PORT 0
Functions of Ports
PORT 1
PORT 2
Functions of Ports
PORT 3
Port-1 Internal Structure
� Writing ‘1’ to output Pin P1.X
Writing ‘0’ to output Pin P1.X
Reading ‘high’ at Input pin P1.X
Reading ‘low’ at Input pin P1.X
Port 0-Internal Structure
Port 2-Internal Structure
Port 3-Internal Structure
Thank you