/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/tmu_2/ |
D | fsl_tmu.c | 86 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/ |
D | system_LPC51U68.c | 190 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/ |
D | system_LPC54113.c | 181 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/ |
D | system_LPC54114_cm4.c | 181 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()
|
D | system_LPC54114_cm0plus.c | 181 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/ |
D | system_LPC54016.c | 200 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/ |
D | system_LPC54005.c | 199 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/ |
D | system_LPC54618.c | 198 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/ |
D | system_LPC54616.c | 200 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/ |
D | system_LPC54606.c | 202 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/ |
D | system_LPC54608.c | 198 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/ |
D | system_LPC54607.c | 199 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/ |
D | system_LPC54018M.c | 199 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/ |
D | system_LPC54S016.c | 193 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/ |
D | system_LPC54S005.c | 192 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/ |
D | system_LPC54018.c | 199 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/ |
D | system_LPC54628.c | 196 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/ |
D | system_LPC54S018.c | 192 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/ |
D | system_LPC54605.c | 202 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/ |
D | system_LPC54S018M.c | 192 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/ |
D | fsl_flexio.c | 93 uint32_t ctrlReg = 0; in FLEXIO_Init() local 101 ctrlReg = base->CTRL; in FLEXIO_Init() 102 …ctrlReg &= ~(FLEXIO_CTRL_DOZEN_MASK | FLEXIO_CTRL_DBGE_MASK | FLEXIO_CTRL_FASTACC_MASK | FLEXIO_CT… in FLEXIO_Init() 103 …ctrlReg |= (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/ |
D | fsl_pxp.c | 1432 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/ |
D | fsl_flexio_spi.c | 230 uint32_t ctrlReg = 0; in FLEXIO_SPI_MasterInit() local 244 ctrlReg = base->flexioBase->CTRL; in FLEXIO_SPI_MasterInit() 245 …ctrlReg &= ~(FLEXIO_CTRL_DOZEN_MASK | FLEXIO_CTRL_DBGE_MASK | FLEXIO_CTRL_FASTACC_MASK | FLEXIO_CT… in FLEXIO_SPI_MasterInit() 246 …ctrlReg |= (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() 449 …ctrlReg &= ~(FLEXIO_CTRL_DOZEN_MASK | FLEXIO_CTRL_DBGE_MASK | FLEXIO_CTRL_FASTACC_MASK | FLEXIO_CT… in FLEXIO_SPI_SlaveInit() 450 …ctrlReg |= (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/ |
D | fsl_clock.c | 99 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/ |
D | fsl_clock.c | 100 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()
|