Question
Input with pull-down, how to configure
Posted on September 16, 2011 at 14:43
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