Why pull up and pull down resister is connected to the pin.
how to configure pin as pull up and pull down or as interrupt souce.
Why pull up and pull down resister is connected to the pin. how to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For an output, it gives the pin a defined logic state when the GPIO is in the reset state which is normally a high impedance input, so is not driving the output to a valid logic state.
For an input the need for it is determined by the attached device, which may also be high-impedence or “floating” on start-up, in which case the pull-up/down will ensure a valid level.
Devices with open-drain/open-collector outputs will need a pull-up/down.
You will need at least a basic understanding of electronics to be successful in embedded systems development (unless all you need happens to be on one off-the-shelf board without modifications or additions. Get yourself a copy of Horowitz & Hill’s The Art of Electronics or similar.