/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S36/drivers/ |
D | fsl_power.c | 462 PMC->CTRL = (PMC->CTRL | PMC_CTRL_SELCLOCK_MASK) & (~PMC_CTRL_LPMODE_MASK); in POWER_PowerInit() 465 if (PMC->TIMEOUTEVENTS != 0UL) in POWER_PowerInit() 472 PMC->WAKEUPIOCTRL &= ~PMC_WAKEUPIOCTRL_WAKEUPIO_ENABLE_CTRL_MASK; in POWER_PowerInit() 475 …PMC->LDOFLASHNV = (PMC->LDOFLASHNV & (~PMC_LDOFLASHNV_VADJ_MASK)) | PMC_LDOFLASHNV_VADJ(V_LDO_1P85… in POWER_PowerInit() 478 …PMC->LDOEFUSEPROG = (PMC->LDOEFUSEPROG & (~PMC_LDOEFUSEPROG_VADJ_MASK)) | PMC_LDOEFUSEPROG_VADJ(V_… in POWER_PowerInit() 481 …PMC->LDOCORE0 = (PMC->LDOCORE0 & (~PMC_LDOCORE0_LPREGREFSEL_MASK)) | PMC_LDOCORE0_LPREGREFSEL(V_LD… in POWER_PowerInit() 484 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_PowerInit() 487 PMC->REFFASTWKUP = PMC->REFFASTWKUP | PMC_REFFASTWKUP_LPWKUP_MASK | PMC_REFFASTWKUP_HWWKUP_MASK; in POWER_PowerInit() 511 PMC->CMD = PMC_CMD_DCDCENABLE_MASK; in POWER_SetCorePowerSource() 514 while ((PMC->STATUSPWR & PMC_STATUSPWR_DCDCPWROK_MASK) == 0UL) in POWER_SetCorePowerSource() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5536/drivers/ |
D | fsl_power.c | 462 PMC->CTRL = (PMC->CTRL | PMC_CTRL_SELCLOCK_MASK) & (~PMC_CTRL_LPMODE_MASK); in POWER_PowerInit() 465 if (PMC->TIMEOUTEVENTS != 0UL) in POWER_PowerInit() 472 PMC->WAKEUPIOCTRL &= ~PMC_WAKEUPIOCTRL_WAKEUPIO_ENABLE_CTRL_MASK; in POWER_PowerInit() 475 …PMC->LDOFLASHNV = (PMC->LDOFLASHNV & (~PMC_LDOFLASHNV_VADJ_MASK)) | PMC_LDOFLASHNV_VADJ(V_LDO_1P85… in POWER_PowerInit() 478 …PMC->LDOEFUSEPROG = (PMC->LDOEFUSEPROG & (~PMC_LDOEFUSEPROG_VADJ_MASK)) | PMC_LDOEFUSEPROG_VADJ(V_… in POWER_PowerInit() 481 …PMC->LDOCORE0 = (PMC->LDOCORE0 & (~PMC_LDOCORE0_LPREGREFSEL_MASK)) | PMC_LDOCORE0_LPREGREFSEL(V_LD… in POWER_PowerInit() 484 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_PowerInit() 487 PMC->REFFASTWKUP = PMC->REFFASTWKUP | PMC_REFFASTWKUP_LPWKUP_MASK | PMC_REFFASTWKUP_HWWKUP_MASK; in POWER_PowerInit() 511 PMC->CMD = PMC_CMD_DCDCENABLE_MASK; in POWER_SetCorePowerSource() 514 while ((PMC->STATUSPWR & PMC_STATUSPWR_DCDCPWROK_MASK) == 0UL) in POWER_SetCorePowerSource() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5534/drivers/ |
D | fsl_power.c | 462 PMC->CTRL = (PMC->CTRL | PMC_CTRL_SELCLOCK_MASK) & (~PMC_CTRL_LPMODE_MASK); in POWER_PowerInit() 465 if (PMC->TIMEOUTEVENTS != 0UL) in POWER_PowerInit() 472 PMC->WAKEUPIOCTRL &= ~PMC_WAKEUPIOCTRL_WAKEUPIO_ENABLE_CTRL_MASK; in POWER_PowerInit() 475 …PMC->LDOFLASHNV = (PMC->LDOFLASHNV & (~PMC_LDOFLASHNV_VADJ_MASK)) | PMC_LDOFLASHNV_VADJ(V_LDO_1P85… in POWER_PowerInit() 478 …PMC->LDOEFUSEPROG = (PMC->LDOEFUSEPROG & (~PMC_LDOEFUSEPROG_VADJ_MASK)) | PMC_LDOEFUSEPROG_VADJ(V_… in POWER_PowerInit() 481 …PMC->LDOCORE0 = (PMC->LDOCORE0 & (~PMC_LDOCORE0_LPREGREFSEL_MASK)) | PMC_LDOCORE0_LPREGREFSEL(V_LD… in POWER_PowerInit() 484 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_PowerInit() 487 PMC->REFFASTWKUP = PMC->REFFASTWKUP | PMC_REFFASTWKUP_LPWKUP_MASK | PMC_REFFASTWKUP_HWWKUP_MASK; in POWER_PowerInit() 511 PMC->CMD = PMC_CMD_DCDCENABLE_MASK; in POWER_SetCorePowerSource() 514 while ((PMC->STATUSPWR & PMC_STATUSPWR_DCDCPWROK_MASK) == 0UL) in POWER_SetCorePowerSource() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT595S/drivers/ |
D | fsl_power.c | 138 … if (((PMC->LVDCORECTRL & PMC_LVDCORECTRL_LVDCORELVL_MASK) >> PMC_LVDCORECTRL_LVDCORELVL_SHIFT) > \ 141 … PMC->LVDCORECTRL = PMC_LVDCORECTRL_LVDCORELVL(kLvdFallingTripVol_720); \ 145 #define PMC_REG(off) (*((volatile uint32_t *)(void *)PMC + (off) / 4U)) 177 if (PMC->SLEEPCTRL != PMC_SLEEPCTRL_CORELVL(1)) in AT_QUICKACCESS_SECTION_CODE() 180 PMC->SLEEPCTRL = PMC_SLEEPCTRL_CORELVL(1); in AT_QUICKACCESS_SECTION_CODE() 214 if ((PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK)) != 0U) in POWER_DisableLVD() 216 lvdChangeFlag = PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 217 PMC->CTRL &= ~(PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 223 PMC->CTRL |= lvdChangeFlag & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_RestoreLVD() 258 PMC->CTRL |= PMC_CTRL_OTPSWREN_MASK; /* Enable RBB for OTP switch */ in POWER_EnablePD() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT533S/drivers/ |
D | fsl_power.c | 138 … if (((PMC->LVDCORECTRL & PMC_LVDCORECTRL_LVDCORELVL_MASK) >> PMC_LVDCORECTRL_LVDCORELVL_SHIFT) > \ 141 … PMC->LVDCORECTRL = PMC_LVDCORECTRL_LVDCORELVL(kLvdFallingTripVol_720); \ 145 #define PMC_REG(off) (*((volatile uint32_t *)(void *)PMC + (off) / 4U)) 177 if (PMC->SLEEPCTRL != PMC_SLEEPCTRL_CORELVL(1)) in AT_QUICKACCESS_SECTION_CODE() 180 PMC->SLEEPCTRL = PMC_SLEEPCTRL_CORELVL(1); in AT_QUICKACCESS_SECTION_CODE() 214 if ((PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK)) != 0U) in POWER_DisableLVD() 216 lvdChangeFlag = PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 217 PMC->CTRL &= ~(PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 223 PMC->CTRL |= lvdChangeFlag & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_RestoreLVD() 258 PMC->CTRL |= PMC_CTRL_OTPSWREN_MASK; /* Enable RBB for OTP switch */ in POWER_EnablePD() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT555S/drivers/ |
D | fsl_power.c | 138 … if (((PMC->LVDCORECTRL & PMC_LVDCORECTRL_LVDCORELVL_MASK) >> PMC_LVDCORECTRL_LVDCORELVL_SHIFT) > \ 141 … PMC->LVDCORECTRL = PMC_LVDCORECTRL_LVDCORELVL(kLvdFallingTripVol_720); \ 145 #define PMC_REG(off) (*((volatile uint32_t *)(void *)PMC + (off) / 4U)) 177 if (PMC->SLEEPCTRL != PMC_SLEEPCTRL_CORELVL(1)) in AT_QUICKACCESS_SECTION_CODE() 180 PMC->SLEEPCTRL = PMC_SLEEPCTRL_CORELVL(1); in AT_QUICKACCESS_SECTION_CODE() 214 if ((PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK)) != 0U) in POWER_DisableLVD() 216 lvdChangeFlag = PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 217 PMC->CTRL &= ~(PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 223 PMC->CTRL |= lvdChangeFlag & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_RestoreLVD() 258 PMC->CTRL |= PMC_CTRL_OTPSWREN_MASK; /* Enable RBB for OTP switch */ in POWER_EnablePD() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT633S/drivers/ |
D | fsl_power.c | 151 … if (((PMC->LVDCORECTRL & PMC_LVDCORECTRL_LVDCORELVL_MASK) >> PMC_LVDCORECTRL_LVDCORELVL_SHIFT) > \ 154 … PMC->LVDCORECTRL = PMC_LVDCORECTRL_LVDCORELVL(kLvdFallingTripVol_720); \ 158 #define PMC_REG(off) (*((volatile uint32_t *)(void *)PMC + (off) / 4)) 191 if (PMC->SLEEPCTRL != PMC_SLEEPCTRL_CORELVL(0xA)) in AT_QUICKACCESS_SECTION_CODE() 194 PMC->SLEEPCTRL = PMC_SLEEPCTRL_CORELVL(0xA); in AT_QUICKACCESS_SECTION_CODE() 227 if ((PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK)) != 0U) in POWER_DisableLVD() 229 lvdChangeFlag = PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 230 PMC->CTRL &= ~(PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 236 PMC->CTRL |= lvdChangeFlag & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_RestoreLVD() 264 while ((PMC->STATUS & PMC_STATUS_ACTIVEFSM_MASK) != 0U) in POWER_ApplyPD() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/MIMXRT685S/drivers/ |
D | fsl_power.c | 151 … if (((PMC->LVDCORECTRL & PMC_LVDCORECTRL_LVDCORELVL_MASK) >> PMC_LVDCORECTRL_LVDCORELVL_SHIFT) > \ 154 … PMC->LVDCORECTRL = PMC_LVDCORECTRL_LVDCORELVL(kLvdFallingTripVol_720); \ 158 #define PMC_REG(off) (*((volatile uint32_t *)(void *)PMC + (off) / 4)) 191 if (PMC->SLEEPCTRL != PMC_SLEEPCTRL_CORELVL(0xA)) in AT_QUICKACCESS_SECTION_CODE() 194 PMC->SLEEPCTRL = PMC_SLEEPCTRL_CORELVL(0xA); in AT_QUICKACCESS_SECTION_CODE() 227 if ((PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK)) != 0U) in POWER_DisableLVD() 229 lvdChangeFlag = PMC->CTRL & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 230 PMC->CTRL &= ~(PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_DisableLVD() 236 PMC->CTRL |= lvdChangeFlag & (PMC_CTRL_LVDCORERE_MASK | PMC_CTRL_LVDCOREIE_MASK); in POWER_RestoreLVD() 264 while ((PMC->STATUS & PMC_STATUS_ACTIVEFSM_MASK) != 0U) in POWER_ApplyPD() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S14/drivers/ |
D | fsl_power.c | 345 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 346 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 362 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 366 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 383 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 460 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 590 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 594 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 595 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 599 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S16/drivers/ |
D | fsl_power.c | 345 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 346 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 362 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 366 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 383 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 460 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 590 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 594 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 595 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 599 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5516/drivers/ |
D | fsl_power.c | 345 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 346 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 362 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 366 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 383 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 460 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 590 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 594 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 595 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 599 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5514/drivers/ |
D | fsl_power.c | 345 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 346 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 362 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 366 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 383 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 460 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 590 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 594 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 595 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 599 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5512/drivers/ |
D | fsl_power.c | 345 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 346 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 362 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 366 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 383 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 460 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 590 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 594 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 595 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 599 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5504/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5502/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S06/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S04/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5504CPXXXX/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5506/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5502CPXXXX/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5506CPXXXX/drivers/ |
D | fsl_power.c | 344 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 345 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 361 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 365 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 382 PMC->MISCCTRL &= (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & (~PMC_MISCCTRL_LDOMEMHIGHZMODE_MASK); in POWER_EnterLowPower() 449 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 575 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 579 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODVBATRESETENA_SECURE_MASK | PMC_RESETCTRL_BODVBATRESETENA_SEC… in POWER_EnterPowerDown() 580 PMC->RESETCTRL |= (0x2UL << PMC_RESETCTRL_BODVBATRESETENA_SECURE_SHIFT) | in POWER_EnterPowerDown() 584 …PMC->RESETCTRL &= (~(PMC_RESETCTRL_BODCORERESETENA_SECURE_MASK | PMC_RESETCTRL_BODCORERESETENA_SEC… in POWER_EnterPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5528/drivers/ |
D | fsl_power.c | 346 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 347 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 373 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 377 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 394 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 481 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 589 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 591 PMC->RESETCTRL = in POWER_EnterPowerDown() 605 PMC->RESETCTRL = pmc_reset_ctrl; in POWER_EnterPowerDown() 696 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S28/drivers/ |
D | fsl_power.c | 346 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 347 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 373 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 377 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 394 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 481 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 589 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 591 PMC->RESETCTRL = in POWER_EnterPowerDown() 605 PMC->RESETCTRL = pmc_reset_ctrl; in POWER_EnterPowerDown() 696 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC55S26/drivers/ |
D | fsl_power.c | 346 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 347 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 373 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 377 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 394 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 481 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 589 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 591 PMC->RESETCTRL = in POWER_EnterPowerDown() 605 PMC->RESETCTRL = pmc_reset_ctrl; in POWER_EnterPowerDown() 696 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepPowerDown() [all …]
|
/hal_nxp-3.7.0/mcux/mcux-sdk/devices/LPC5526/drivers/ |
D | fsl_power.c | 346 PMC->DCDC0 = dcdcTrimValue0 >> 1; in lf_set_dcdc_power_profile_low() 347 PMC->DCDC1 = dcdcTrimValue1; in lf_set_dcdc_power_profile_low() 373 …PMC->REFFASTWKUP = (PMC->REFFASTWKUP & (~PMC_REFFASTWKUP_LPWKUP_MASK) & (~PMC_REFFASTWKUP_HWWKUP_M… in POWER_EnterLowPower() 377 PMC->SRAMCTRL = (PMC->SRAMCTRL & (~PMC_SRAMCTRL_SMB_MASK)) | PMC_SRAMCTRL_SMB(3); in POWER_EnterLowPower() 394 PMC->MISCCTRL &= (~PMC_MISCCTRL_LOWPWR_FLASH_BUF_MASK) & (~PMC_MISCCTRL_DISABLE_BLEED_MASK) & in POWER_EnterLowPower() 481 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepSleep() 589 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterPowerDown() 591 PMC->RESETCTRL = in POWER_EnterPowerDown() 605 PMC->RESETCTRL = pmc_reset_ctrl; in POWER_EnterPowerDown() 696 pmc_reset_ctrl = PMC->RESETCTRL; in POWER_EnterDeepPowerDown() [all …]
|