hey so I'm having some trouble understand 3 fairly simple lines of code configuring some port D pins i know somehow they are supposed to make pins 0-3 and 8-15 as 2MHz low speed outputs with a pull-up resistor on pin 0 but after looking thru the c and h files I'm just not sure how to get to that conclusion can someone help me out please?
GPIO->OSPEEDR = 0xFF00; GPIO->PUPDR = 0x1; GPIO->MODER = 0x5555;
Thank you!
Someone who haven't worked with this processor before might even suspect that maybe a search for "OSPEEDR" in such a processor datasheet/user manual might actually find some nice paragraph or table that does describe the meaning of such a register.
It isn't dangerous to spend a bit of time looking through the documentation that the chip vendors spends quite a lot of time writing.