Home
last modified time | relevance | path

Searched refs:tempReg (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/sysctl/
Dfsl_sysctl.c110 uint32_t tempReg = base->FCCTRLSEL[flexCommIndex]; in SYSCTL_SetShareSet() local
112 tempReg &= ~((uint32_t)SYSCTL_FCCTRLSEL_SCKINSEL_MASK << (uint32_t)signal); in SYSCTL_SetShareSet()
113 tempReg |= (set + 1U) << (uint32_t)signal; in SYSCTL_SetShareSet()
115 SYSCTL_UpdateRegister(base, &base->FCCTRLSEL[flexCommIndex], tempReg); in SYSCTL_SetShareSet()
132 uint32_t tempReg = base->FCCTRLSEL[flexCommIndex]; in SYSCTL_SetFlexcommShareSet() local
134tempReg &= ~(SYSCTL_FCCTRLSEL_SCKINSEL_MASK | SYSCTL_FCCTRLSEL_WSINSEL_MASK | SYSCTL_FCCTRLSEL_DAT… in SYSCTL_SetFlexcommShareSet()
136 tempReg |= SYSCTL_FCCTRLSEL_SCKINSEL(sckSet + 1U) | SYSCTL_FCCTRLSEL_WSINSEL(wsSet + 1U) | in SYSCTL_SetFlexcommShareSet()
139 SYSCTL_UpdateRegister(base, &base->FCCTRLSEL[flexCommIndex], tempReg); in SYSCTL_SetFlexcommShareSet()
160 uint32_t tempReg = base->SHAREDCTRLSET[setIndex]; in SYSCTL_SetShareSetSrc() local
163 tempReg &= ~(SYSCTL_SHAREDCTRLSET_SHAREDSCKSEL_MASK | SYSCTL_SHAREDCTRLSET_SHAREDWSSEL_MASK | in SYSCTL_SetShareSetSrc()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/pxp/
Dfsl_pxp.c762 uint32_t tempReg; in PXP_SetCsc2Config() local
766 tempReg = in PXP_SetCsc2Config()
768 …base->CSC2_COEF0 = tempReg | (PXP_ConvertFloat(config->A2, PXP_CSC2_COEF_INT_WIDTH, PXP_CSC2_COEF_… in PXP_SetCsc2Config()
771 tempReg = in PXP_SetCsc2Config()
773 …base->CSC2_COEF1 = tempReg | (PXP_ConvertFloat(config->B1, PXP_CSC2_COEF_INT_WIDTH, PXP_CSC2_COEF_… in PXP_SetCsc2Config()
776 tempReg = in PXP_SetCsc2Config()
778 …base->CSC2_COEF2 = tempReg | (PXP_ConvertFloat(config->B3, PXP_CSC2_COEF_INT_WIDTH, PXP_CSC2_COEF_… in PXP_SetCsc2Config()
781 tempReg = in PXP_SetCsc2Config()
783 …base->CSC2_COEF3 = tempReg | (PXP_ConvertFloat(config->C2, PXP_CSC2_COEF_INT_WIDTH, PXP_CSC2_COEF_… in PXP_SetCsc2Config()
786 tempReg = in PXP_SetCsc2Config()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.c795 uint32_t tempReg = base->BAUD; in LPUART_EnableInterrupts() local
797 tempReg |= ((mask << 8U) & LPUART_BAUD_LBKDIE_MASK); in LPUART_EnableInterrupts()
801 tempReg |= ((mask << 8U) & LPUART_BAUD_RXEDGIE_MASK); in LPUART_EnableInterrupts()
804 base->BAUD = tempReg; in LPUART_EnableInterrupts()
836 uint32_t tempReg = base->BAUD; in LPUART_DisableInterrupts() local
838 tempReg &= ~((mask << 8U) & LPUART_BAUD_LBKDIE_MASK); in LPUART_DisableInterrupts()
842 tempReg &= ~((mask << 8U) & LPUART_BAUD_RXEDGIE_MASK); in LPUART_DisableInterrupts()
845 base->BAUD = tempReg; in LPUART_DisableInterrupts()
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/wm8904/
Dfsl_wm8904.c958 uint16_t tempReg = 0U; in WM8904_SetAudioFormat() local
960 error = WM8904_ReadRegister(handle, WM8904_CLK_RATES_0, &tempReg); in WM8904_SetAudioFormat()
1029 ratio = (sysclk >> (tempReg & 0x1U)) / sampleRate; in WM8904_SetAudioFormat()
1073 error = WM8904_ReadRegister(handle, WM8904_AUDIO_IF_1, &tempReg); in WM8904_SetAudioFormat()
1076 if ((tempReg & (1UL << 6U)) != 0U) in WM8904_SetAudioFormat()