AnsweredAssumed Answered

CMSIS STM32F4 setting AFR register

Question asked by Mark Higham on Jun 4, 2017
Latest reply on Jun 4, 2017 by Clive One

There doesn't seem to be any bit definition for the GPIO AFR registers. I can set the PA5 pin alternate function to AF1 using the below code but other registers seems to have bit definitions to use. Am I missing them?


GPIOA->AFR[0] |= 0x00100000;