From 0fe862893ff046555051f78e53d7e5e397a4dcaa Mon Sep 17 00:00:00 2001 From: Tahsin Mutlugun Date: Mon, 13 Jan 2025 20:28:28 +0300 Subject: [PATCH] Fix WUT enable bit position on MAX32657 Fix GCR.PM register bit setting WUT as a wakeup source. Signed-off-by: Tahsin Mutlugun --- Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h b/Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h index 3c5536ea231..9cbf8532058 100644 --- a/Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h +++ b/Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h @@ -7,7 +7,7 @@ /****************************************************************************** * - * Copyright (C) 2024 Analog Devices, Inc. + * Copyright (C) 2024-2025 Analog Devices, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -312,7 +312,7 @@ typedef struct { #define MXC_F_GCR_PM_RTC_WE_POS 5 /**< PM_RTC_WE Position */ #define MXC_F_GCR_PM_RTC_WE ((uint32_t)(0x1UL << MXC_F_GCR_PM_RTC_WE_POS)) /**< PM_RTC_WE Mask */ -#define MXC_F_GCR_PM_WUT_WE_POS 7 /**< PM_WUT_WE Position */ +#define MXC_F_GCR_PM_WUT_WE_POS 6 /**< PM_WUT_WE Position */ #define MXC_F_GCR_PM_WUT_WE ((uint32_t)(0x1UL << MXC_F_GCR_PM_WUT_WE_POS)) /**< PM_WUT_WE Mask */ #define MXC_F_GCR_PM_ERFO_BP_POS 20 /**< PM_ERFO_BP Position */