AnsweredAssumed Answered

Configuring input pull-up or pull-down

Question asked by jo.farmer on Jun 22, 2012
Latest reply on Jun 23, 2012 by jo.farmer

I am using the STM32F103ZG device and looking through the reference manual (RM0008) I cannot find how, when a pin is configured as "Input Pull-up/pull-down", to select the pull-up or pull-down option.

Having done some experimentation it appears that this can be done by setting the ports output level high (for pull-up) and low (for pull-down) operation after the pin has been configured as an input.

Is this the indended way to do this? If not, an explanation on how it should be done would be appreciated.