Home
last modified time | relevance | path

Searched refs:regIndex (Results 1 – 25 of 121) sorted by relevance

12345

/hal_nxp-latest/s32/drivers/s32ze/Adc/include/
DAdc_Sar_Ip_HeaderWrapper_S32XX.h139 #define CEOCFR(base, regIndex) REG_ACCESS((base)->CEOCFR0, (regIndex)) argument
140 #define CIMR(base, regIndex) REG_ACCESS((base)->CIMR0, (regIndex)) argument
141 #define DMAR(base, regIndex) REG_ACCESS((base)->DMAR0, (regIndex)) argument
142 #define PSR(base, regIndex) REG_ACCESS((base)->PSR0, (regIndex)) argument
143 #define CTR(base, regIndex) REG_ACCESS((base)->CTR0, (regIndex)) argument
144 #define NCMR(base, regIndex) REG_ACCESS((base)->NCMR0, (regIndex)) argument
145 #define JCMR(base, regIndex) REG_ACCESS((base)->JCMR0, (regIndex)) argument
146 #define CWSELR(base, regIndex) REG_ACCESS((base)->CWSELR, (regIndex)) argument
147 #define CWENR(base, regIndex) REG_ACCESS((base)->CWENR0, (regIndex)) argument
148 #define AWORR(base, regIndex) REG_ACCESS((base)->AWORR0, (regIndex)) argument
DAdc_Sar_Ip_HeaderWrapper_S32XX_AE.h134 #define CEOCFR(base, regIndex) REG_ACCESS((base)->CEOCFR0, (regIndex)) argument
135 #define CIMR(base, regIndex) REG_ACCESS((base)->CIMR0, (regIndex)) argument
136 #define DMAR(base, regIndex) REG_ACCESS((base)->DMAR0, (regIndex)) argument
137 #define PSR(base, regIndex) REG_ACCESS((base)->PSR0, (regIndex)) argument
138 #define CTR(base, regIndex) REG_ACCESS((base)->CTR0, (regIndex)) argument
139 #define NCMR(base, regIndex) REG_ACCESS((base)->NCMR0, (regIndex)) argument
140 #define JCMR(base, regIndex) REG_ACCESS((base)->JCMR0, (regIndex)) argument
141 #define CWSELR(base, regIndex) REG_ACCESS((base)->CWSELR, (regIndex)) argument
142 #define CWENR(base, regIndex) REG_ACCESS((base)->CWENR0, (regIndex)) argument
143 #define AWORR(base, regIndex) REG_ACCESS((base)->AWORR0, (regIndex)) argument
/hal_nxp-latest/s32/drivers/s32k3/Adc/include/
DAdc_Sar_Ip_HeaderWrapper_S32K3.h169 #define CEOCFR(base, regIndex) REG_ACCESS((base)->CEOCFR0, (regIndex)) argument
170 #define CIMR(base, regIndex) REG_ACCESS((base)->CIMR0, (regIndex)) argument
171 #define DMAR(base, regIndex) REG_ACCESS((base)->DMAR0, (regIndex)) argument
172 #define PSR(base, regIndex) REG_ACCESS((base)->PSR0, (regIndex)) argument
173 #define CTR(base, regIndex) REG_ACCESS((base)->CTR0, (regIndex)) argument
174 #define NCMR(base, regIndex) REG_ACCESS((base)->NCMR0, (regIndex)) argument
175 #define JCMR(base, regIndex) REG_ACCESS((base)->JCMR0, (regIndex)) argument
176 #define CWSELR(base, regIndex) REG_ACCESS((base)->CWSELRPI[0U], (regIndex)) argument
177 #define CWENR(base, regIndex) REG_ACCESS((base)->CWENR0, (regIndex)) argument
178 #define AWORR(base, regIndex) REG_ACCESS((base)->AWORR0, (regIndex)) argument
/hal_nxp-latest/imx/drivers/
Dmu_imx.c39 mu_status_t MU_TrySendMsg(MU_Type * base, uint32_t regIndex, uint32_t msg) in MU_TrySendMsg() argument
41 assert(regIndex < MU_TR_COUNT); in MU_TrySendMsg()
44 if(MU_IsTxEmpty(base, regIndex)) in MU_TrySendMsg()
46 base->TR[regIndex] = msg; in MU_TrySendMsg()
59 void MU_SendMsg(MU_Type * base, uint32_t regIndex, uint32_t msg) in MU_SendMsg() argument
61 assert(regIndex < MU_TR_COUNT); in MU_SendMsg()
62 uint32_t mask = MU_SR_TE0_MASK >> regIndex; in MU_SendMsg()
65 base->TR[regIndex] = msg; in MU_SendMsg()
74 mu_status_t MU_TryReceiveMsg(MU_Type * base, uint32_t regIndex, uint32_t *msg) in MU_TryReceiveMsg() argument
76 assert(regIndex < MU_RR_COUNT); in MU_TryReceiveMsg()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/drivers/irqsteer/
Dfsl_irqsteer.c194 …uint32_t regIndex = (uint32_t)FSL_FEATURE_IRQSTEER_CHn_MASK_COUNT - 1U - ((uint32_t)intMasterIndex… in IRQSTEER_GetMasterNextInterrupt() local
198 bitOffset = __CLZ(__RBIT(base->CHn_STATUS[regIndex])); in IRQSTEER_GetMasterNextInterrupt()
202 regIndex--; in IRQSTEER_GetMasterNextInterrupt()
203 bitOffset = __CLZ(__RBIT(base->CHn_STATUS[regIndex])); in IRQSTEER_GetMasterNextInterrupt()
212 …irqNum = (uint32_t)IRQSTEER_INT_SRC_NUM(regIndex, bitOffset) + (uint32_t)FSL_FEATURE_IRQSTEER_IRQ_… in IRQSTEER_GetMasterNextInterrupt()
219 uint32_t bitOffset, regIndex, chanStatus, sliceNum; in IRQSTEER_GetMasterNextInterrupt() local
229 regIndex = IRQSTEER_GetRegIndex(intMasterIndex, i, sliceNum + 1); in IRQSTEER_GetMasterNextInterrupt()
232 chanStatus = base->CHn_STATUS[regIndex]; in IRQSTEER_GetMasterNextInterrupt()
238 return (IRQn_Type)(uint32_t)IRQSTEER_INT_SRC_NUM(regIndex, bitOffset); in IRQSTEER_GetMasterNextInterrupt()
252 uint32_t sliceNum, i, regIndex, chanStatus; in IRQSTEER_GetMasterInterruptsStatus() local
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1172/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1166/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1171/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1165/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1176/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1175/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMXRT1173/drivers/
Dfsl_pgmc.c234 uint32_t regIndex = 0UL; in PGMC_CPC_CACHE_ControlBySetPointMode() local
242 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_CACHE_ControlBySetPointMode()
244 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_CACHE_ControlBySetPointMode()
248 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_CACHE_ControlBySetPointMode()
334 uint32_t regIndex = 0UL; in PGMC_CPC_LMEM_ControlBySetPointMode() local
342 for (regIndex = 0UL; regIndex < 2UL; regIndex++) in PGMC_CPC_LMEM_ControlBySetPointMode()
344 ptrMemSpCtrlReg += regIndex; in PGMC_CPC_LMEM_ControlBySetPointMode()
348 if (0UL != (setPointMap & (1UL << ((regIndex * 8UL) + setPointIndex)))) in PGMC_CPC_LMEM_ControlBySetPointMode()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S005/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54628/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S018/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54S016/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54618/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54606/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54605/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54607/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54608/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54018M/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54005/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC54018/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()
/hal_nxp-latest/mcux/mcux-sdk/devices/LPC51U68/drivers/
Dfsl_reset.c46 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_SetPeripheralReset() local
53 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_SetPeripheralReset()
69 SYSCON->PRESETCTRLSET[regIndex] = bitMask; in RESET_SetPeripheralReset()
71 while (0u == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_SetPeripheralReset()
87 const uint32_t regIndex = ((uint32_t)peripheral & 0xFFFF0000u) >> 16; in RESET_ClearPeripheralReset() local
94 if (regIndex >= SYSCON_PRESETCTRL_COUNT) in RESET_ClearPeripheralReset()
110 SYSCON->PRESETCTRLCLR[regIndex] = bitMask; in RESET_ClearPeripheralReset()
112 while (bitMask == (SYSCON->PRESETCTRL[regIndex] & bitMask)) in RESET_ClearPeripheralReset()

12345