Skip to content

Commit

Permalink
Rename retention regulator control functions.
Browse files Browse the repository at this point in the history
Signed-off-by: Tahsin Mutlugun <[email protected]>
  • Loading branch information
ttmut committed Jan 13, 2025
1 parent 847c982 commit 8e655e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Include/MAX32657/lp.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ void MXC_LP_SetOVR(mxc_lp_ovr_t ovr);
/**
* @brief Enable retention regulator
*/
void MXC_LP_RetentionRegEnable(void);
void MXC_LP_EnableRetentionReg(void);

/**
* @brief Disable retention regulator
*/
void MXC_LP_RetentionRegDisable(void);
void MXC_LP_DisableRetentionReg(void);

/**
* @brief Is the retention regulator enabled
Expand Down
4 changes: 2 additions & 2 deletions Libraries/PeriphDrivers/Source/LP/lp_me30.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ void MXC_LP_SetOVR(mxc_lp_ovr_t ovr)
//not supported yet
}

void MXC_LP_RetentionRegEnable(void)
void MXC_LP_EnableRetentionReg(void)
{
MXC_PWRSEQ->lpctrl |= MXC_F_PWRSEQ_LPCTRL_RETLDO_EN;
}

void MXC_LP_RetentionRegDisable(void)
void MXC_LP_DisableRetentionReg(void)
{
MXC_PWRSEQ->lpctrl &= ~MXC_F_PWRSEQ_LPCTRL_RETLDO_EN;
}
Expand Down

0 comments on commit 8e655e3

Please sign in to comment.