Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/lpc/
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-2.7.6/mcux/drivers/imx/
Dfsl_lpuart.c711 uint32_t tempReg = base->BAUD; in LPUART_EnableInterrupts() local
713 tempReg |= ((mask << 8U) & LPUART_BAUD_LBKDIE_MASK); in LPUART_EnableInterrupts()
717 tempReg |= ((mask << 8U) & LPUART_BAUD_RXEDGIE_MASK); in LPUART_EnableInterrupts()
720 base->BAUD = tempReg; in LPUART_EnableInterrupts()
752 uint32_t tempReg = base->BAUD; in LPUART_DisableInterrupts() local
754 tempReg &= ~((mask << 8U) & LPUART_BAUD_LBKDIE_MASK); in LPUART_DisableInterrupts()
758 tempReg &= ~((mask << 8U) & LPUART_BAUD_RXEDGIE_MASK); in LPUART_DisableInterrupts()
761 base->BAUD = tempReg; in LPUART_DisableInterrupts()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpuart.c711 uint32_t tempReg = base->BAUD; in LPUART_EnableInterrupts() local
713 tempReg |= ((mask << 8U) & LPUART_BAUD_LBKDIE_MASK); in LPUART_EnableInterrupts()
717 tempReg |= ((mask << 8U) & LPUART_BAUD_RXEDGIE_MASK); in LPUART_EnableInterrupts()
720 base->BAUD = tempReg; in LPUART_EnableInterrupts()
752 uint32_t tempReg = base->BAUD; in LPUART_DisableInterrupts() local
754 tempReg &= ~((mask << 8U) & LPUART_BAUD_LBKDIE_MASK); in LPUART_DisableInterrupts()
758 tempReg &= ~((mask << 8U) & LPUART_BAUD_RXEDGIE_MASK); in LPUART_DisableInterrupts()
761 base->BAUD = tempReg; in LPUART_DisableInterrupts()