how to figure out ADC1->DR contains which pin data at moment?how to figure out ADC1->DR contains which pin data at moment?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-05-02 12:30 PM
Posted on May 02, 2017 at 21:30
how to figure out ADC1->DR contains which pin data at moment?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-05-02 12:50 PM
Posted on May 02, 2017 at 21:50
You don't. You DMA to a buffer which is some multiple of the pin count you are scanning, and then the array holds the data in the order you would anticipate.
Specify which STM32 part/family your question relates too, they make like 100's of different parts
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
