[riot-commits] [RIOT-OS/RIOT] b77afa: cpu/sam0_common/gpio: use explicit GCLK names

Dylan Laduranty noreply at github.com
Fri Feb 21 20:26:08 CET 2020


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

  Changed paths:
    M cpu/sam0_common/periph/gpio.c

  Log Message:
  -----------
  cpu/sam0_common/gpio: use explicit GCLK names

For consistency, use named GCLKs.

 - `SAM0_GCLK_32KHZ` will always be 2 for samd21
 - `SAM0_GCLK_MAIN` will always be 0

So no change in functionality, just makes the code easier to understand.


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

  Changed paths:
    M cpu/sam0_common/periph/gpio.c

  Log Message:
  -----------
  Merge pull request #13435 from benpicco/cpu/sam0/gpio-gclk-cleanup

cpu/sam0_common/gpio: use explicit GCLK names


Compare: https://github.com/RIOT-OS/RIOT/compare/f257765ce9a1...e11d3485ef44


More information about the commits mailing list