/hal_nxp-2.7.6/imx/drivers/ |
D | uart_imx.c | 116 uint32_t denominator; in UART_SetBaudRate() local 123 denominator = baudRate << 4; in UART_SetBaudRate() 126 while (denominator != 0) in UART_SetBaudRate() 128 divisor = denominator; in UART_SetBaudRate() 129 denominator = numerator % denominator; in UART_SetBaudRate() 134 denominator = (baudRate << 4) / divisor; in UART_SetBaudRate() 139 (denominator > UART_UBIR_INC_MASK)) in UART_SetBaudRate() 142 uint32_t n = (denominator - 1) / UART_UBIR_INC_MASK + 1; in UART_SetBaudRate() 145 denominator /= max; in UART_SetBaudRate() 148 if (0 == denominator) in UART_SetBaudRate() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1176/ |
D | fsl_clock.c | 615 CLOCK_CalcPllSpreadSpectrum(config.denominator, ssRange, ssMod, &ss); in CLOCK_InitAudioPllWithFreq() 653 …re(kAI_Itf_Audio, config->loopDivider, config->numerator, config->postDivider, config->denominator, in CLOCK_InitAudioPll() 691 ANADIG_PLL->PLL_AUDIO_DENOMINATOR = config->denominator; in CLOCK_GPC_SetAudioPllOutputFreq() 803 config->denominator = 0x0FFFFFFF; in CLOCK_CalcAvPllFreq() 815 config->numerator = (config->denominator / 24UL) * (freqInMhz % 24UL); in CLOCK_CalcAvPllFreq() 821 config->numerator = (config->denominator / 12UL) * (freqInMhz % 12UL); in CLOCK_CalcAvPllFreq() 827 config->numerator = (config->denominator / 6UL) * (freqInMhz % 6UL); in CLOCK_CalcAvPllFreq() 833 config->numerator = (config->denominator / 3UL) * (freqInMhz % 3UL); in CLOCK_CalcAvPllFreq() 839 config->numerator = (config->denominator * 2UL / 3UL) * (freqInMhz * 2UL % 3UL); in CLOCK_CalcAvPllFreq() 845 config->numerator = (config->denominator * 4UL / 3UL) * (freqInMhz * 4UL % 3UL); in CLOCK_CalcAvPllFreq() [all …]
|
D | fsl_clock.h | 1908 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 1921 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/drivers/imx8/ |
D | fsl_uart.c | 347 uint32_t denominator = 0U; in UART_SetBaudRate() local 357 denominator = baudRate_Bps << 4U; in UART_SetBaudRate() 360 while (denominator != 0U) in UART_SetBaudRate() 362 divisor = denominator; in UART_SetBaudRate() 363 denominator = numerator % denominator; in UART_SetBaudRate() 368 denominator = (baudRate_Bps << 4U) / divisor; in UART_SetBaudRate() 372 if ((numerator > (UART_UBIR_INC_MASK * 7U)) || (denominator > UART_UBIR_INC_MASK)) in UART_SetBaudRate() 375 uint32_t n = (denominator - 1U) / UART_UBIR_INC_MASK + 1U; in UART_SetBaudRate() 378 denominator /= max; in UART_SetBaudRate() 383 if (0U == denominator) in UART_SetBaudRate() [all …]
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1051/ |
D | fsl_clock.c | 536 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 642 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll() 729 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
|
D | fsl_clock.h | 885 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 899 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 909 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1061/ |
D | fsl_clock.c | 544 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 650 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll() 737 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
|
D | fsl_clock.h | 903 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 916 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 926 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1052/ |
D | fsl_clock.c | 622 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 728 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll() 815 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
|
D | fsl_clock.h | 951 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 965 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 975 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1062/ |
D | fsl_clock.c | 626 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 732 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll() 819 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
|
D | fsl_clock.h | 973 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 986 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 996 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1064/ |
D | fsl_clock.c | 626 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 732 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll() 819 CCM_ANALOG->PLL_VIDEO_DENOM = CCM_ANALOG_PLL_VIDEO_DENOM_B(config->denominator); in CLOCK_InitVideoPll()
|
D | fsl_clock.h | 973 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 986 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 996 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1011/ |
D | fsl_clock.c | 586 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 659 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
|
D | fsl_clock.h | 664 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 678 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1015/ |
D | fsl_clock.c | 547 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 620 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
|
D | fsl_clock.h | 725 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 739 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1021/ |
D | fsl_clock.c | 553 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 626 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
|
D | fsl_clock.h | 848 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 862 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT1024/ |
D | fsl_clock.c | 553 CCM_ANALOG->PLL_SYS_DENOM = CCM_ANALOG_PLL_SYS_DENOM_B(config->denominator); in CLOCK_InitSysPll() 626 CCM_ANALOG->PLL_AUDIO_DENOM = CCM_ANALOG_PLL_AUDIO_DENOM_B(config->denominator); in CLOCK_InitAudioPll()
|
D | fsl_clock.h | 852 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member 866 uint32_t denominator; /*!< 30 bit denominator of fractional loop divider */ member
|
/hal_nxp-2.7.6/mcux/devices/MIMXRT685S/ |
D | fsl_clock.c | 1254 CLKCTL0->SYSPLL0DENOM = config->denominator; in CLOCK_InitSysPll() 1342 CLKCTL1->AUDIOPLL0DENOM = config->denominator; in CLOCK_InitAudioPll()
|
D | fsl_clock.h | 806 uint32_t denominator; /*!< 30 bit numerator of fractional loop divider. */ member 836 uint32_t denominator; /*!< 30 bit numerator of fractional loop divider. */ member
|