Pull-up/down on Output pins?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2008-11-18 2:27 AM
Posted on November 18, 2008 at 11:27
Pull-up/down on Output pins?
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-05-17 3:52 AM
Posted on May 17, 2011 at 12:52
Is it possible to configure an output WITH internal pull-up or pull-down? It would save some parts in SDIO and I2C....
From what I see in stm32f10x_gpio.h, the PU and PD are only availlable on inputs... Is it correct, or is there a way? #define IS_GPIO_MODE(MODE) (((MODE) == GPIO_Mode_AIN) || ((MODE) == GPIO_Mode_IN_FLOATING) || ((MODE) == GPIO_Mode_IPD) || ((MODE) == GPIO_Mode_IPU) || ((MODE) == GPIO_Mode_Out_OD) || ((MODE) == GPIO_Mode_Out_PP) || ((MODE) == GPIO_Mode_AF_OD) || ((MODE) == GPIO_Mode_AF_PP)) -Jay2 [ This message was edited by: relaxe on 18-11-2008 15:58 ]