/hal_nxp-2.7.6/mcux/devices/MIMXRT1015/ |
D | fsl_iomuxc.h | 490 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 494 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 496 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 497 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 501 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 502 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1011/ |
D | fsl_iomuxc.h | 517 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 521 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 523 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 524 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 528 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 529 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1024/ |
D | fsl_iomuxc.h | 880 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 884 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 886 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 887 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 891 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 892 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1021/ |
D | fsl_iomuxc.h | 934 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 938 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 940 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 941 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 945 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 946 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1176/ |
D | fsl_iomuxc.h | 1685 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 1689 if (mclk > kIOMUXC_GPR_SAI2MClk3Sel) in IOMUXC_SetSaiMClkClockSource() 1694 else if (mclk > kIOMUXC_GPR_SAI1MClk3Sel) in IOMUXC_SetSaiMClkClockSource() 1699 else if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 1701 gpr = base->GPR0 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1702 base->GPR0 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 1706 gpr = base->GPR0 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1707 base->GPR0 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1051/ |
D | fsl_iomuxc.h | 1168 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 1172 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 1174 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_HIGHBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource() 1175 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 1179 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_LOWBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource() 1180 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1052/ |
D | fsl_iomuxc.h | 1168 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 1172 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 1174 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1175 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 1179 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1180 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1062/ |
D | fsl_iomuxc.h | 1345 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 1349 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 1351 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1352 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 1356 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1357 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1064/ |
D | fsl_iomuxc.h | 1329 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 1333 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 1335 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_HIGHBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1336 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 1340 gpr = base->GPR1 & ~((uint32_t)IOMUXC_GPR_SAIMCLK_LOWBITMASK << (uint32_t)mclk); in IOMUXC_SetSaiMClkClockSource() 1341 base->GPR1 = (((uint32_t)clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << (uint32_t)mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1061/ |
D | fsl_iomuxc.h | 1345 static inline void IOMUXC_SetSaiMClkClockSource(IOMUXC_GPR_Type *base, iomuxc_gpr_saimclk_t mclk, u… in IOMUXC_SetSaiMClkClockSource() argument 1349 if (mclk > kIOMUXC_GPR_SAI1MClk2Sel) in IOMUXC_SetSaiMClkClockSource() 1351 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_HIGHBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource() 1352 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_HIGHBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource() 1356 gpr = base->GPR1 & ~(IOMUXC_GPR_SAIMCLK_LOWBITMASK << mclk); in IOMUXC_SetSaiMClkClockSource() 1357 base->GPR1 = ((clkSrc & IOMUXC_GPR_SAIMCLK_LOWBITMASK) << mclk) | gpr; in IOMUXC_SetSaiMClkClockSource()
|