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.

[General] General Purpose Input Output(GPIO)

Status
Not open for further replies.

K Srinivas Pavan Kumar

Member level 3
Member level 3
Joined
Jun 20, 2015
Messages
66
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
524
Hi,
How can we say that input pins are readable and output pins are both readable and writable in
Genearl Purpose Input/output(GPIO)
 

Hi
Are you talking about any specific micro controller or general ?

Jolly
 

Doesn't matter what micro controller we are speaking about. It is true. Output stage is always latched and can be readed. In case of short circuit output 1 will be readed as 0. Enabling pin to output means just hold one of two push-pull transistor opened. Also, pull-up and pull-down combination can be specified as a semi-output or e.t.c.
 

Hi,
I am talking for any microcontroller,
I got this doubt when I was dealing with STM32F407ZG MIcrocontroller
 

Every micro controller having internal pull-up resistors.
Depending on the direction register value the particular pin will acts as input or output.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top