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 STM32C0/G0/L0 ADC driver #94

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Commits on Dec 29, 2023

  1. [GH#414] STM32_ADC_Common: Remove whitespaces

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    65017ab View commit details
    Browse the repository at this point in the history
  2. [GH#414] STM32_ADC_Common: Add ADC_CALFACT selector

    The STM32_ADC_Common define the 0xC4 address for ADC_CALFACT register.
    This is only valid for the most advanced version of adc peripheral
    which is not compatible with the low cost devices like C0/G0/L0. This
    add a selector at class instanciation to allow the correct definition
    of the address.
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    fa4f7db View commit details
    Browse the repository at this point in the history
  3. [GH#414] STM32_ADC_Common: Add ADVREGEN bit in ADC_CR

    Add mising ADVREGEN tag bit from ADC_CR register.
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    5805c3c View commit details
    Browse the repository at this point in the history
  4. [GH#414] STM32_ADC_Common: Add LFMEN bit in ADC_CCR

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    6cdc4cf View commit details
    Browse the repository at this point in the history
  5. [GH#414] STM32_ADC_Common: Rename EOSEQ in ADC_ISR

    Rename EOSEQ to EOS in ADC_ISR register to be compliance with
    C0/F0/G0/L0/WBA.
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    88d18f2 View commit details
    Browse the repository at this point in the history
  6. [GH#414] STM32_ADC_Common: Implement EOCAL interrupt

    The STM32L0 ADC still in a loop waiting the calibration phase
    finish. This implement the calibration interrupt to finish
    calibration procedure and allow ADC driver to work.
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    bf9cdc3 View commit details
    Browse the repository at this point in the history
  7. [GH#414] Analog: Add STM32L0 ADC driver

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    f0dd553 View commit details
    Browse the repository at this point in the history
  8. [GH#542] STM32_ADC_Common: Implement CCRDY interrupt

    The STM32G0 ADC still in a loop waiting the channel config be
    ready. This implement the Channel Config Ready interrupt to
    based on CHSELRMOD and SCANDIR changes to allow ADC driver to
    work.
    
    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    7cd5adf View commit details
    Browse the repository at this point in the history
  9. [GH#542] STM32_ADC_Common: Fix EXTSEL length in ADC_CFGR1

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    2ddcee1 View commit details
    Browse the repository at this point in the history
  10. [GH#542] STM32_ADC_Common: Add missing bits in ADC_CFGR2

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    a85a034 View commit details
    Browse the repository at this point in the history
  11. [GH#542] Analog: Add STM32G0 ADC driver

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    692d2c3 View commit details
    Browse the repository at this point in the history
  12. [GH#569] Analog: Add STM32C0 ADC driver

    Signed-off-by: Gerson Fernando Budke <[email protected]>
    nandojve committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    e8a831d View commit details
    Browse the repository at this point in the history