Skip to content

[ECU STM32] Implement Buzzer Driver #15

@AksonovSergei

Description

@AksonovSergei

📌 Requirements

  1. The component should control an active buzzer (this kind has its own sound maker inside).
  2. The component should have two parts:
  • Driver: This is the code that makes the buzzer work in different ways.
  • 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. Driver should provide a way to configure GPIO port and pin used to controll buzzer.
  2. The driver must have an API to turn on continuous buzzer sound.
  3. The driver must have an API to make the buzzer sound on and off (periodic signal) with a set "on" time (duty cycle), how often it sounds (period), and for how long (duration).
  4. The driver must have an API to turn the buzzer off.

✅ 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