I have a problem for use infrared interface (IRTIM) of my MCU. When I saw in Reference manual I could find this:
Now, when I search for find GPIOx_AFRx register, I cannot find this register in reference manual.
Where is it?
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
The actual register isn't named
GPIOx_AFRx, the "x" is a placeholder for other designators.
In this case, the first "x" is a placeholder for a numbered general purpose I/O, and the second "x" is a placeholder to indicate the alternate function low or high register.
If you look at sections 8.4.9 and 8.4.10 (PDF page 128) of the document you linked, you'll find they deal with the
GPIOx_AFRH for the low and high registers, respectively.