FWLib: GPIO_PinRemapConfig Clarification?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-11-21 4:38 AM
Posted on November 21, 2008 at 13:38
FWLib: GPIO_PinRemapConfig Clarification?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:53 AM
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 ]Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:53 AM
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
