8-bit Microcontrollers - PPT, Electronics Engineering Notes | EduRev

Created by: Nidhi Chandel

: 8-bit Microcontrollers - PPT, Electronics Engineering Notes | EduRev

 Page 1


4/25/2014 8 bit microcontrollers 1 
8-bit microcontrollers 
Page 2


4/25/2014 8 bit microcontrollers 1 
8-bit microcontrollers 
4/25/2014 8 bit microcontrollers 2 
8051 Ports Structure… 
All the ports of 8051 are bi-directional so they have the 
following three components in their structure: 
•D-type latch 
•Output Driver/Buffer 
•Input Buffer/Driver 
Ports P1-P3 basically have the same structure, P0 has a 
different structure. 
Page 3


4/25/2014 8 bit microcontrollers 1 
8-bit microcontrollers 
4/25/2014 8 bit microcontrollers 2 
8051 Ports Structure… 
All the ports of 8051 are bi-directional so they have the 
following three components in their structure: 
•D-type latch 
•Output Driver/Buffer 
•Input Buffer/Driver 
Ports P1-P3 basically have the same structure, P0 has a 
different structure. 
4/25/2014 8 bit microcontrollers 3 
Buf 2 
Buf 1 
Vcc 
Internal load 
Pin 1.x 
Internal  
bus 
Write  
to latch 
Clk 
D Q 
 Q 
P 1.x 
T 1 
Read latch 
Read Pin 
Port with basic components 
Page 4


4/25/2014 8 bit microcontrollers 1 
8-bit microcontrollers 
4/25/2014 8 bit microcontrollers 2 
8051 Ports Structure… 
All the ports of 8051 are bi-directional so they have the 
following three components in their structure: 
•D-type latch 
•Output Driver/Buffer 
•Input Buffer/Driver 
Ports P1-P3 basically have the same structure, P0 has a 
different structure. 
4/25/2014 8 bit microcontrollers 3 
Buf 2 
Buf 1 
Vcc 
Internal load 
Pin 1.x 
Internal  
bus 
Write  
to latch 
Clk 
D Q 
 Q 
P 1.x 
T 1 
Read latch 
Read Pin 
Port with basic components 
4/25/2014 8 bit microcontrollers 4 
Buf 2 
Buf 1 
Vcc 
Internal load 
Pin 1.x 
Internal  
bus 
Write  
to latch 
Clk 
D Q 
 Q 
P 1.x 
T 1 
Read latch 
Read Pin 
Off 
1 
0 
High 
1 
Reading Input Pin (Pin High) 
Page 5


4/25/2014 8 bit microcontrollers 1 
8-bit microcontrollers 
4/25/2014 8 bit microcontrollers 2 
8051 Ports Structure… 
All the ports of 8051 are bi-directional so they have the 
following three components in their structure: 
•D-type latch 
•Output Driver/Buffer 
•Input Buffer/Driver 
Ports P1-P3 basically have the same structure, P0 has a 
different structure. 
4/25/2014 8 bit microcontrollers 3 
Buf 2 
Buf 1 
Vcc 
Internal load 
Pin 1.x 
Internal  
bus 
Write  
to latch 
Clk 
D Q 
 Q 
P 1.x 
T 1 
Read latch 
Read Pin 
Port with basic components 
4/25/2014 8 bit microcontrollers 4 
Buf 2 
Buf 1 
Vcc 
Internal load 
Pin 1.x 
Internal  
bus 
Write  
to latch 
Clk 
D Q 
 Q 
P 1.x 
T 1 
Read latch 
Read Pin 
Off 
1 
0 
High 
1 
Reading Input Pin (Pin High) 
4/25/2014 8 bit microcontrollers 5 
Buf 2 
Buf 1 
Vcc 
Internal load 
Pin 1.x 
Internal  
bus 
Write  
to latch 
Clk 
D Q 
 Q 
P 1.x 
T 1 
Read latch 
Read Pin 
Off 
1 
0 
Low 
1 
Reading Input Pin (Pin Low) 
Read More
Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!