Skip to main content
st3
Associate III
November 21, 2008
Question

FWLib: GPIO_PinRemapConfig Clarification?

  • November 21, 2008
  • 2 replies
  • 714 views
Posted on November 21, 2008 at 13:38

FWLib: GPIO_PinRemapConfig Clarification?

    This topic has been closed for replies.

    2 replies

    st3
    st3Author
    Associate III
    May 17, 2011
    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

    st3
    st3Author
    Associate III
    May 17, 2011
    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 ]