[riot-commits] [RIOT-OS/RIOT] b7b52c: cpu/samd5x: use ONDEMAND bit to run clocks on demand

Dylan Laduranty noreply at github.com
Fri Feb 21 23:37:10 CET 2020


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b7b52c4c5708604a52ff793b6e8b5b7e2b06ea49
      https://github.com/RIOT-OS/RIOT/commit/b7b52c4c5708604a52ff793b6e8b5b7e2b06ea49
  Author: Benjamin Valentin <benjamin.valentin at ml-pa.com>
  Date:   2020-02-19 (Wed, 19 Feb 2020)

  Changed paths:
    M cpu/samd5x/cpu.c

  Log Message:
  -----------
  cpu/samd5x: use ONDEMAND bit to run clocks on demand

Set the ONDEMAND bit so clocks are only run if they have a user configured.

This saves 390 µA on same54-xpro.

 examples/default:

    before: 3.88 mA
    after : 3.49 mA

 examples/gnrc_networking: (with REB215-XPRO EXT3)

    before: 13.29 mA
    after : 12.9  mA


  Commit: e74484c31f79966a4cc42a11319c22e99bcb3913
      https://github.com/RIOT-OS/RIOT/commit/e74484c31f79966a4cc42a11319c22e99bcb3913
  Author: Dylan Laduranty <dylan.laduranty at mesotic.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M cpu/samd5x/cpu.c

  Log Message:
  -----------
  Merge pull request #13411 from benpicco/samd5x-OSCCTRL.ONDEMAND

cpu/samd5x: use ONDEMAND bit to run clocks on demand


Compare: https://github.com/RIOT-OS/RIOT/compare/261ede7b79d9...e74484c31f79


More information about the commits mailing list