Skip to main content
charles239955_stm1_st
Visitor II
October 8, 2012
Question

GPIO remap order of operations

  • October 8, 2012
  • 0 replies
  • 419 views
Posted on October 08, 2012 at 23:13

The STM32 CMSIS examples I've seen show the remap function (e.g., GPIO_PinRemapConfig(...)) being called before the GPIO_Init() function.

Must the MAPR and MAPR2 remap register fields be assigned prior to assigning the CRL/CRH register fields, or can MAPR/MAPR2 be assigned after the GPIO_Init() call?

Many thanks.

#gpio-remap
This topic has been closed for replies.