Skip to content

periph_*: Allow extensions for external periph adapters #9582

@kYc0o

Description

@kYc0o

Many times, internal peripherals in a MCU are enough to handle basic operations, like GPIOs, ADCs, DACs, etc. However, for complex applications, extensions for such peripherals are needed, and actually widely used in industry.

Since RIOT aim is to keep the periph interfaces as slim and portable as possible, making extensions to them is indeed a complicated task. The aim of this issue is to explore the possible solutions to this, and to work together towards a common definition on how to write APIs and driver extensions for this use-case.

I'll summarize here the interfaces that need changes, and the PRs if there's one.

GPIO

ADC

DAC

PWM

Metadata

Metadata

Labels

Area: cpuArea: CPU/MCU portsArea: driversArea: Device driversDiscussion: RFCThe issue/PR is used as a discussion starting point about the item of the issue/PRProcess: API changeIntegration Process: PR contains or issue proposes an API change. Should be handled with care.State: staleState: The issue / PR has no activity for >185 daysType: new featureThe issue requests / The PR implemements a new feature for RIOT

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions