Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IOConfig struct and pub fn io_config() #3272

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 20, 2024

  1. Add IOConfig struct and pub fn io_config()

    The STM32 TSC needs to do successive acquisitions when using multiple channels in a group. To do this the IOs must be configured for each acquisition. This change reflects the implementations in the STM32 HAL.
    
    See:
    * https://community.st.com/t5/stm32-mcus-products/tsc-channel-selection/td-p/164783
    
    Specifically, see the HAL solution provided. It shows that only one acquisition channel must enabled in a group during an acquisition cycle, then the next channel in the next acquisition cycle, and so on.
    
    
    * https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/d6/4c/20/0d/a1/c1/4c/99/DM00210526/files/DM00210526.pdf/jcr:content/translations/en.DM00210526.pdf
    
    While this is about the STM Touch Library, table 8 (and others) show the acquisition timings required for multiple channels in a group.
    beastbytes authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    ebfbcc4 View commit details
    Browse the repository at this point in the history