Skip to content

Commit

Permalink
Update low power wrapper for MAX32657
Browse files Browse the repository at this point in the history
Update wrap_max32_lp.h to accomodate the low power modes of MAX32657.

Signed-off-by: Tahsin Mutlugun <[email protected]>
  • Loading branch information
ttmut committed Jan 3, 2025
1 parent e906dca commit 5b03126
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Libraries/zephyr/MAX/Include/wrap_max32_lp.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,20 @@ static inline void Wrap_MXC_LP_EnterPowerDownMode(void)

static inline void Wrap_MXC_LP_EnterLowPowerMode(void)
{
#if defined(CONFIG_SOC_MAX32657)
MXC_LP_EnterSleepMode();
#else
MXC_LP_EnterLowPowerMode();
#endif
}

static inline void Wrap_MXC_LP_EnterMicroPowerMode(void)
{
#if defined(CONFIG_SOC_MAX32657)
MXC_LP_EnterSleepMode();
#else
MXC_LP_EnterMicroPowerMode();
#endif
}

static inline void Wrap_MXC_LP_EnterStandbyMode(void)
Expand Down

0 comments on commit 5b03126

Please sign in to comment.