Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

internal circuitry matters

Status
Not open for further replies.

Disha Karnataki

Full Member level 5
Full Member level 5
Joined
Jul 20, 2013
Messages
249
Helped
9
Reputation
18
Reaction score
8
Trophy points
18
Location
india
Visit site
Activity points
2,231
hi everyone,
i am newbie to micro-controllers.
i read that we write "logical 1" if we want a pin of the port to act as output & "logical 0" if v want to it to act as input port.
i would just like to want to know the internal circuitry the way it is built in to work so.
what is the internal circuit how does uc(8051) will be able to recognize as input or output.
please give detailed information & the internal working inside the microcontroller for seperate cases(i.e input or output)
 

You should start with a search for "bidirectional port".
For example, take a look at this: **broken link removed**

However, note that many manufacturers sell an 8051 equivalent, and each one might have slightly different implementation, but all should still function the same.
 

All the port pins are pulled HIGH using pull-ups.
If the pin goes low it can be detected, else it continues to show High !!
This is the simple logic.
By default all pins are high at the power on reset.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top