Home
last modified time | relevance | path

Searched refs:ctrlReg (Results 1 – 25 of 42) sorted by relevance

12

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tmu_2/
Dfsl_tmu.c86 uint32_t ctrlReg; in TMU_Init() local
94 ctrlReg = base->TER; in TMU_Init()
95 ctrlReg |= TMU_TER_ALPF(config->averageLPF); in TMU_Init()
96 base->TER = ctrlReg; in TMU_Init()
117 uint32_t ctrlReg; in TMU_Enable() local
119 ctrlReg = base->TER; in TMU_Enable()
124 ctrlReg &= ~TMU_TER_ADC_PD_MASK; in TMU_Enable()
126 base->TER = ctrlReg | TMU_TER_EN_MASK; in TMU_Enable()
131 ctrlReg &= ~TMU_TER_EN_MASK; in TMU_Enable()
133 base->TER = ctrlReg | TMU_TER_ADC_PD_MASK; in TMU_Enable()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC51U68/
Dsystem_LPC51U68.c190 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
195 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
209 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
214 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
228 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
235 if ((ctrlReg & SYSCON_SYSPLLCTRL_BYPASSCCODIV2_MASK) == 0UL) in findPllMMult()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54113/
Dsystem_LPC54113.c181 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
186 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
200 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
205 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
219 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
226 if ((ctrlReg & SYSCON_SYSPLLCTRL_BYPASSCCODIV2_MASK) == 0U) in findPllMMult()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54114/
Dsystem_LPC54114_cm4.c181 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
186 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
200 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
205 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
219 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
226 if ((ctrlReg & SYSCON_SYSPLLCTRL_BYPASSCCODIV2_MASK) == 0U) in findPllMMult()
Dsystem_LPC54114_cm0plus.c181 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
186 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
200 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
205 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
219 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
226 if ((ctrlReg & SYSCON_SYSPLLCTRL_BYPASSCCODIV2_MASK) == 0U) in findPllMMult()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54016/
Dsystem_LPC54016.c200 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
205 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
219 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
224 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
238 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54005/
Dsystem_LPC54005.c199 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
204 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
218 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
223 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
237 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54618/
Dsystem_LPC54618.c198 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
203 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
217 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
222 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
236 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54616/
Dsystem_LPC54616.c200 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
205 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
219 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
224 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
238 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54606/
Dsystem_LPC54606.c202 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
207 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
221 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
226 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
240 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54608/
Dsystem_LPC54608.c198 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
203 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
217 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
222 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
236 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54607/
Dsystem_LPC54607.c199 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
204 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
218 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
223 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
237 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54018M/
Dsystem_LPC54018M.c199 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
204 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
218 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
223 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
237 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54S016/
Dsystem_LPC54S016.c193 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
198 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
212 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
217 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
231 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54S005/
Dsystem_LPC54S005.c192 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
197 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
211 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
216 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
230 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54018/
Dsystem_LPC54018.c199 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
204 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
218 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
223 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
237 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54628/
Dsystem_LPC54628.c196 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
201 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
215 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
220 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
234 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54S018/
Dsystem_LPC54S018.c192 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
197 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
211 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
216 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
230 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54605/
Dsystem_LPC54605.c202 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
207 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0U) in findPllPreDiv()
221 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
226 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
240 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54S018M/
Dsystem_LPC54S018M.c192 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
197 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTI_MASK) == 0UL) in findPllPreDiv()
211 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
216 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0UL) in findPllPostDiv()
230 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/
Dfsl_flexio.c93 uint32_t ctrlReg = 0; in FLEXIO_Init() local
101 ctrlReg = base->CTRL; in FLEXIO_Init()
102ctrlReg &= ~(FLEXIO_CTRL_DOZEN_MASK | FLEXIO_CTRL_DBGE_MASK | FLEXIO_CTRL_FASTACC_MASK | FLEXIO_CT… in FLEXIO_Init()
103ctrlReg |= (FLEXIO_CTRL_DBGE(userConfig->enableInDebug) | FLEXIO_CTRL_FASTACC(userConfig->enableFa… in FLEXIO_Init()
107 ctrlReg |= FLEXIO_CTRL_DOZEN_MASK; in FLEXIO_Init()
110 base->CTRL = ctrlReg; in FLEXIO_Init()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pxp/
Dfsl_pxp.c1432 uint32_t ctrlReg = 0U; in PXP_SetFetchEngineConfig() local
1455 ctrlReg = PXP_INPUT_FETCH_CTRL_CH0_HANDSHAKE_SCAN_LINE_NUM((uint32_t)scanlineNum) | in PXP_SetFetchEngineConfig()
1492 ctrlReg |= PXP_INPUT_FETCH_CTRL_CH0_ARBIT_EN_MASK; in PXP_SetFetchEngineConfig()
1494 base->INPUT_FETCH_CTRL_CH0 = ctrlReg; in PXP_SetFetchEngineConfig()
1512 base->INPUT_FETCH_CTRL_CH1 = ctrlReg; in PXP_SetFetchEngineConfig()
1544 ctrlReg |= PXP_DITHER_FETCH_CTRL_CH0_ARBIT_EN_MASK; in PXP_SetFetchEngineConfig()
1546 base->DITHER_FETCH_CTRL_CH0 = ctrlReg; in PXP_SetFetchEngineConfig()
1564 base->DITHER_FETCH_CTRL_CH1 = ctrlReg; in PXP_SetFetchEngineConfig()
1632 uint32_t ctrlReg = 0U; in PXP_SetStoreEngineConfig() local
1640 ctrlReg = PXP_INPUT_STORE_CTRL_CH0_WR_NUM_BYTES((uint32_t)config->storeFormat.burstLength) | in PXP_SetStoreEngineConfig()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/spi/
Dfsl_flexio_spi.c230 uint32_t ctrlReg = 0; in FLEXIO_SPI_MasterInit() local
244 ctrlReg = base->flexioBase->CTRL; in FLEXIO_SPI_MasterInit()
245ctrlReg &= ~(FLEXIO_CTRL_DOZEN_MASK | FLEXIO_CTRL_DBGE_MASK | FLEXIO_CTRL_FASTACC_MASK | FLEXIO_CT… in FLEXIO_SPI_MasterInit()
246ctrlReg |= (FLEXIO_CTRL_DBGE(masterConfig->enableInDebug) | FLEXIO_CTRL_FASTACC(masterConfig->enab… in FLEXIO_SPI_MasterInit()
250 ctrlReg |= FLEXIO_CTRL_DOZEN_MASK; in FLEXIO_SPI_MasterInit()
253 base->flexioBase->CTRL = ctrlReg; in FLEXIO_SPI_MasterInit()
436 uint32_t ctrlReg = 0; in FLEXIO_SPI_SlaveInit() local
448 ctrlReg = base->flexioBase->CTRL; in FLEXIO_SPI_SlaveInit()
449ctrlReg &= ~(FLEXIO_CTRL_DOZEN_MASK | FLEXIO_CTRL_DBGE_MASK | FLEXIO_CTRL_FASTACC_MASK | FLEXIO_CT… in FLEXIO_SPI_SlaveInit()
450ctrlReg |= (FLEXIO_CTRL_DBGE(slaveConfig->enableInDebug) | FLEXIO_CTRL_FASTACC(slaveConfig->enable… in FLEXIO_SPI_SlaveInit()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC51U68/drivers/
Dfsl_clock.c99 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg);
101 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg);
103 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg);
877 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
882 if ((ctrlReg & (1UL << SYSCON_SYSPLLCTRL_DIRECTI_SHIFT)) == 0U) in findPllPreDiv()
897 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
902 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
917 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
925 if ((ctrlReg & (SYSCON_SYSPLLCTRL_BYPASSCCODIV2_MASK)) == 0U) in findPllMMult()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/LPC54113/drivers/
Dfsl_clock.c100 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg);
102 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg);
104 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg);
975 static uint32_t findPllPreDiv(uint32_t ctrlReg, uint32_t nDecReg) in findPllPreDiv() argument
980 if ((ctrlReg & (1UL << SYSCON_SYSPLLCTRL_DIRECTI_SHIFT)) == 0U) in findPllPreDiv()
995 static uint32_t findPllPostDiv(uint32_t ctrlReg, uint32_t pDecReg) in findPllPostDiv() argument
1000 if ((ctrlReg & SYSCON_SYSPLLCTRL_DIRECTO_MASK) == 0U) in findPllPostDiv()
1015 static uint32_t findPllMMult(uint32_t ctrlReg, uint32_t mDecReg) in findPllMMult() argument
1023 if ((ctrlReg & (SYSCON_SYSPLLCTRL_BYPASSCCODIV2_MASK)) == 0U) in findPllMMult()

12