cancel
Showing results for 
Search instead for 
Did you mean: 

FWLib: GPIO_PinRemapConfig Clarification?

st3
Associate II
Posted on November 21, 2008 at 13:38

FWLib: GPIO_PinRemapConfig Clarification?

2 REPLIES 2
st3
Associate II
Posted on May 17, 2011 at 12:53

In the FWLib GPIO_PinRemapConfig function, for peripherals that have both a Partial and a Full remap, is disabling Full remap equivalent to disabling Partial remap?

ie, are the following two calls equivalent:

Code:

<BR>GPIO_PinRemapConfig(GPIO_PartialRemap_USART3, DISABLE); <BR> <BR>GPIO_PinRemapConfig(GPIO_FullRemap_USART3, DISABLE); <BR>

In other words, do they both set USART3 to No Remap?

Also, the description of the 1st parameter is a bit confusing: it says, ''selects the pin (sic) to remap'' - surely that should say the ''peripheral to remap'' - or the ''pins to remap''?

Again, using USART3 as the example:

GPIO_PartialRemap_USART3 would affect 3 pins;

GPIO_FullRemap_USART3 would affect 5 pins.

Wouldn't it...? :-?

[ This message was edited by: st7 on 21-11-2008 18:05 ]

[ This message was edited by: st7 on 21-11-2008 18:06 ]

st3
Associate II
Posted on May 17, 2011 at 12:53

Hmm... the forum seems to have another bug with the 'Code' option - it puts those spurious 'BR' tags in if you edit the message... :o