[riot-commits] [RIOT-OS/RIOT] 93ed3c: cpu/atxmega: Add periph power management

Marian Buschsieweke noreply at github.com
Wed Apr 7 11:45:40 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 93ed3cd9d69adb6ae5b5097cec6341e173e816e5
      https://github.com/RIOT-OS/RIOT/commit/93ed3cd9d69adb6ae5b5097cec6341e173e816e5
  Author: Gerson Fernando Budke <nandojve at gmail.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M cpu/atxmega/atxmega_cpu.c
    A cpu/atxmega/include/cpu_pm.h
    M cpu/atxmega/include/periph_cpu.h
    M cpu/atxmega/periph/pm.c
    M cpu/atxmega/periph/timer.c
    M cpu/atxmega/periph/uart.c

  Log Message:
  -----------
  cpu/atxmega: Add periph power management

The current xmega don't have a way to disable peripherals that are
not in used.  Add peripheral management to allow enable only the mcu
blocks that will be used by application.  This saves power on active
and sleep modes.  By default, at clock initialization, all peripherals
are now disabled and each drive must activate at initialization phase.
The periph_timer and periph_uart were updated with this new feature.

Signed-off-by: Gerson Fernando Budke <nandojve at gmail.com>


  Commit: 948b490cdfb12e5de673da88dbbeecbfec19bf6b
      https://github.com/RIOT-OS/RIOT/commit/948b490cdfb12e5de673da88dbbeecbfec19bf6b
  Author: Gerson Fernando Budke <nandojve at gmail.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M boards/atxmega-a1u-xpro/include/periph_conf.h

  Log Message:
  -----------
  boards/atxmega-a1u-xpro: Add periph_pm properties

The periph_pm requires new field to control the power management
feature.  Add missing config at periph_conf for timers and uart.

Signed-off-by: Gerson Fernando Budke <nandojve at gmail.com>


  Commit: ac774f34042fab8d5abbab8d48a95d77d38fcc38
      https://github.com/RIOT-OS/RIOT/commit/ac774f34042fab8d5abbab8d48a95d77d38fcc38
  Author: Marian Buschsieweke <maribu at users.noreply.github.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M boards/atxmega-a1u-xpro/include/periph_conf.h
    M cpu/atxmega/atxmega_cpu.c
    A cpu/atxmega/include/cpu_pm.h
    M cpu/atxmega/include/periph_cpu.h
    M cpu/atxmega/periph/pm.c
    M cpu/atxmega/periph/timer.c
    M cpu/atxmega/periph/uart.c

  Log Message:
  -----------
  Merge pull request #16212 from nandojve/xmega_pm

cpu/atxmega: Add periph power management


Compare: https://github.com/RIOT-OS/RIOT/compare/04b562780ff9...ac774f34042f


More information about the commits mailing list