Gpio-Input configuration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-05-22 8:59 AM
Posted on May 22, 2012 at 17:59
I'm
starting to work with
STM8
.I'm not finding
a
way to
configure the ports
as pull-down.
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-05-22 9:46 PM
Posted on May 23, 2012 at 06:46
Welcome Fernando to this forum!
Your answer has got no reply because you can configure STM8 a GPIO either as floating input or as pull-up input. Section 11 of the STM8S microcontroller Family Reference Manual (RM0016) shows how Px_IDR Px_ODR Px_DDR Px_CR1 Px_CR2 control Port x GPIOs. Ciao EtaPhiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-27 5:36 PM
Posted on June 28, 2012 at 02:36Configure the inputs as floating and add an external pull-down resistor ;)
