Skip to content

[ECU STM32] Implement ADC driver #24

@AksonovSergei

Description

@AksonovSergei

📌 Requirements

  1. The component should measure data from 'N' ADC (Analog-to-Digital Converter) channels. It should then clean up this data (filter it), change it into the right format (convert), and save it to a database.
  2. The component should have two parts:
  • Driver: This is the code that measures the input channels and filters the data.
  • Manager: This is the code that connects the driver to the project. It reads settings from a database and tells the driver what to do based on those settings.
  1. The driver should provide an API to set up the ADC channels when the code is built (at compilation time).
  2. The driver must provide an API to register a callback. This callback will let the system know when a measurement is ready.
  3. The driver must provide an API to get the last measured value for each channel.
  4. The driver must perform calibration by request.

✅ Checklist

  • The task is implemented according to the requirements.
  • The code is covered with unit tests.
  • Static code analysis has been completed with no critical issues.
  • A pull request has been created.
  • The code has passed the code review.
  • The pull request has been successfully merged.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions