Skip to content

Commit

Permalink
roadmap: extend peripheral drivers section
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Dec 7, 2023
1 parent 848f3d1 commit 25e3bcc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions doc/doxygen/src/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,45 @@ The text and items below are tentative, up for discussion, to be updated by regu
# Peripheral drivers
(contact/steering: [Hauke](https://github.com/haukepetersen))

## Timers

(contact/steering: [kaspar030](https://github.com/kaspar030), [benpicco](https://github.com/benpicco), [maribu](https://github.com/maribu))

- cleanup and unification of low-level timer interfaces (`timer`, `rtt`, `rtc`)
- implement capture mode

## SPI

- introduction of `spi_slave` interface
- transition to `spi_clk_t` being the frequency in Hz, not an `enum` constant, to allow arbitrary frequencies
- most implementations have been ported
- allow a way to detect the actual frequency an SPI bus is running at
- see https://github.com/RIOT-OS/RIOT/pull/16727 for one proposal

## I2C

- introduction of `i2c_slave` interface
- see https://github.com/RIOT-OS/RIOT/issues/19560 for a discussion

## GPIO

(contact/steering: [gschorcht](https://github.com/gschorcht), [maribu](https://github.com/maribu))

- add a port-based, feature-rich, thread-safe GPIO API
- [GPIO LL](https://doc.riot-os.org/group__drivers__periph__gpio__ll.html) seems to fit the bill so for
- many MCUs still need an implementation
- add a high level API that unifies external and internal GPIOs on top

## ADC

(contact/steering: [benpicco](https://github.com/benpicco), [kfessel](https://github.com/kfessel), [gschorcht](https://github.com/gschorcht), [maribu](https://github.com/maribu))

- extend / replace the ADC API to allow advanced use cases
- selecting reference voltages (think: multimeter app)
- differential inputs
- fast (ideally DMA supported) sampling (think: a digital oscilloscope app)
- unify external and internal ADCs
- see https://github.com/RIOT-OS/RIOT/pull/13247 for one proposal



Expand Down

0 comments on commit 25e3bcc

Please sign in to comment.