From 93fb44c247fcd9b62df8dd972d4c6cb91d24e543 Mon Sep 17 00:00:00 2001 From: Juergen Fitschen Date: Wed, 4 Mar 2020 12:24:35 +0100 Subject: [PATCH] cpu/saml21: unblock IDLE modes by default --- cpu/saml21/include/periph_cpu.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cpu/saml21/include/periph_cpu.h b/cpu/saml21/include/periph_cpu.h index 309caa8c09b62..b067dbbcd3dbb 100644 --- a/cpu/saml21/include/periph_cpu.h +++ b/cpu/saml21/include/periph_cpu.h @@ -26,6 +26,13 @@ extern "C" { #endif +/** + * @brief Override the default initial PM blocker + * + * STANDBY and BACKUP mode are blocked by defualt. Idle modes are enabled. + */ +#define PM_BLOCKER_INITIAL 0x00000101 + /** * @brief The Low Power SRAM is not retained during deep sleep. */