AnsweredAssumed Answered

Input with pull-down, how to configure

Question asked by dubdidu.mathias on Sep 16, 2011
Latest reply on Sep 23, 2011 by Clive One
Hi everybody,

i want to define an pin of my STM32F103ZE as input with an pull-down. I read in the documentation that i have to set in the CRH register CNF1 = 1, CNF0 = 0, Mode1 = Mode0 = 0 and the PxODR = 0.
But what is this PxODR register? I havent found any informations about it.
Is it similar like the ODR register a 32bit register, where only the first 16bits can be written? So that each bit stands of one pin?

Hope you can help me!

regards

Outcomes