cancel
Showing results for 
Search instead for 
Did you mean: 

GPIO remap order of operations

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
0 REPLIES 0