[riot-notifications] [RIOT-OS/RIOT] drivers/dose: make use of start condition received interrupt (#16506)

benpicco notifications at github.com
Fri May 28 00:06:48 CEST 2021

The RIOT community cares a lot about code quality.
Therefore, before describing what your contribution is about, we would like
you to make sure that your modifications are compliant with the RIOT
coding conventions, see https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions.

### Contribution description

DOSE can make use of a GPIO to detect the start condition, however some UARTs already have this capability build in and can generate an interrupt when a start condition is detected.

Implement this feature for the sam0 family and make use of it in the DOSE driver.

### Testing procedure

DOSE should perform just as well without the extra wire / GPIO with this feature enabled. (not sure how to verify this)

### Issues/PRs references

Examples: Fixes #1234. See also #5678. Depends on PR #9876.

Please use keywords (e.g., fixes, resolve) with the links to the issues you
resolved, this way they will be automatically closed when your pull request
is merged. See https://help.github.com/articles/closing-issues-using-keywords/.

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * drivers/periph/uart: add periph_uart_rx_start feature
  * cpu/sam0_common: implement periph_uart_rx_start feature
  * drivers/dose: make use of periph_uart_rx_start feature

-- File Changes --

    M cpu/sam0_common/Kconfig (1)
    M cpu/sam0_common/Makefile.features (1)
    M cpu/sam0_common/periph/uart.c (40)
    M drivers/dose/Makefile.dep (1)
    M drivers/dose/dose.c (60)
    M drivers/dose/include/dose_params.h (5)
    M drivers/include/dose.h (4)
    M drivers/include/periph/uart.h (43)
    M kconfigs/Kconfig.features (5)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210527/9c27696b/attachment.htm>

More information about the notifications mailing list