Skip to content

Commit

Permalink
Fix WUT enable bit position on MAX32657
Browse files Browse the repository at this point in the history
Fix GCR.PM register bit setting WUT as a wakeup source.

Signed-off-by: Tahsin Mutlugun <[email protected]>
  • Loading branch information
ttmut committed Jan 13, 2025
1 parent 8e655e3 commit 0fe8628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/CMSIS/Device/Maxim/MAX32657/Include/gcr_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit 0fe8628

Please sign in to comment.