2008-11-21 04:38 AM
FWLib: GPIO_PinRemapConfig Clarification?
2011-05-17 03:53 AM
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 ]2011-05-17 03:53 AM
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