Write multiple GPIO pins on the same port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-25 8:04 AM
My code is written in C and I am using your HAL library I need to set/Reset 6 GPIO pins on the same port now I iam doing it by calling 6 times to HAL_GPIO_WritePin which take too much time how can I do it in one cpmmand since all pins are of the same port.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-26 5:44 AM
Look at using GPIOx->BSRR more directly.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-26 5:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-26 5:56 AM
Or more generally, a study of the Reference Manual (GPIO section) won't hurt.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-06-26 11:11 AM
Millennial Kryptonite...
Up vote any posts that you find helpful, it shows what's working..
