Home
last modified time | relevance | path

Searched refs:fracValue (Results 1 – 19 of 19) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MCIMX7U5/drivers/
Dfsl_clock.c1297 uint32_t fracValue = 0U; in CLOCK_GetAuxPllPfdFreq() local
1303 fracValue = (SCG->APLLPFD & SCG_PLLPFD_PFD_MASK(pfdClkout)) >> (uint32_t)pfdClkout; in CLOCK_GetAuxPllPfdFreq()
1305 if (fracValue != 0UL) in CLOCK_GetAuxPllPfdFreq()
1312fracValue); /* PFD Clock Frequency = PLL output frequency * 18 / frac value. */ in CLOCK_GetAuxPllPfdFreq()
1357 void CLOCK_EnableAuxPllPfdClkout(scg_apll_pfd_clkout_t pfdClkout, uint8_t fracValue) in CLOCK_EnableAuxPllPfdClkout() argument
1363 assert(fracValue); in CLOCK_EnableAuxPllPfdClkout()
1364 assert(fracValue < SCG_APLLPFD_PFD_MAX_VAL); in CLOCK_EnableAuxPllPfdClkout()
1370 …LPFD = (SCG->APLLPFD & ~SCG_PLLPFD_PFD_MASK(pfdClkout)) | SCG_PLLPFD_PFD_VAL(pfdClkout, fracValue); in CLOCK_EnableAuxPllPfdClkout()
1588 uint32_t fracValue = 0U; in CLOCK_GetSysPllPfdFreq() local
1594 fracValue = (SCG->SPLLPFD & SCG_PLLPFD_PFD_MASK(pfdClkout)) >> (uint32_t)pfdClkout; in CLOCK_GetSysPllPfdFreq()
[all …]
Dfsl_clock.h57 #define SCG_PLLPFD_PFD_VAL(pfdClkout, fracValue) ((uint32_t)((uint32_t)(fracValue) << (uint32_t)(pf… argument
954 …id CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint8_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
969 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
1672 void CLOCK_EnableAuxPllPfdClkout(scg_apll_pfd_clkout_t pfdClkout, uint8_t fracValue);
1853 void CLOCK_EnableSysPllPfdClkout(scg_spll_pfd_clkout_t pfdClkout, uint8_t fracValue);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MCIMX7U3/drivers/
Dfsl_clock.c1297 uint32_t fracValue = 0U; in CLOCK_GetAuxPllPfdFreq() local
1303 fracValue = (SCG->APLLPFD & SCG_PLLPFD_PFD_MASK(pfdClkout)) >> (uint32_t)pfdClkout; in CLOCK_GetAuxPllPfdFreq()
1305 if (fracValue != 0UL) in CLOCK_GetAuxPllPfdFreq()
1312fracValue); /* PFD Clock Frequency = PLL output frequency * 18 / frac value. */ in CLOCK_GetAuxPllPfdFreq()
1357 void CLOCK_EnableAuxPllPfdClkout(scg_apll_pfd_clkout_t pfdClkout, uint8_t fracValue) in CLOCK_EnableAuxPllPfdClkout() argument
1363 assert(fracValue); in CLOCK_EnableAuxPllPfdClkout()
1364 assert(fracValue < SCG_APLLPFD_PFD_MAX_VAL); in CLOCK_EnableAuxPllPfdClkout()
1370 …LPFD = (SCG->APLLPFD & ~SCG_PLLPFD_PFD_MASK(pfdClkout)) | SCG_PLLPFD_PFD_VAL(pfdClkout, fracValue); in CLOCK_EnableAuxPllPfdClkout()
1588 uint32_t fracValue = 0U; in CLOCK_GetSysPllPfdFreq() local
1594 fracValue = (SCG->SPLLPFD & SCG_PLLPFD_PFD_MASK(pfdClkout)) >> (uint32_t)pfdClkout; in CLOCK_GetSysPllPfdFreq()
[all …]
Dfsl_clock.h57 #define SCG_PLLPFD_PFD_VAL(pfdClkout, fracValue) ((uint32_t)((uint32_t)(fracValue) << (uint32_t)(pf… argument
954 …id CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint8_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
969 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
1672 void CLOCK_EnableAuxPllPfdClkout(scg_apll_pfd_clkout_t pfdClkout, uint8_t fracValue);
1853 void CLOCK_EnableSysPllPfdClkout(scg_spll_pfd_clkout_t pfdClkout, uint8_t fracValue);
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK26F18/drivers/
Dfsl_clock.h781 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
784 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
794 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
797 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK27FA15/drivers/
Dfsl_clock.h811 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
814 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
822 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
825 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK80F25615/drivers/
Dfsl_clock.h777 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
780 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
790 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
793 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK82F25615/drivers/
Dfsl_clock.h784 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
787 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
797 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
800 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK28FA15/drivers/
Dfsl_clock.h813 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
816 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
826 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
829 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK66F18/drivers/
Dfsl_clock.h809 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
812 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
822 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
825 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MK65F18/drivers/
Dfsl_clock.h810 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
813 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
823 static inline void CLOCK_SetPllFllSelClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetPllFllSelClock() argument
826 SIM->CLKDIV3 = SIM_CLKDIV3_PLLFLLDIV(divValue) | SIM_CLKDIV3_PLLFLLFRAC(fracValue); in CLOCK_SetPllFllSelClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE12Z7/drivers/
Dfsl_clock.h663 …d CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint16_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
670 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE13Z7/drivers/
Dfsl_clock.h665 …d CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint16_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
672 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKE17Z7/drivers/
Dfsl_clock.h666 …d CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint16_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
673 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV56F24/drivers/
Dfsl_clock.h714 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
717 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/MKV58F24/drivers/
Dfsl_clock.h716 static inline void CLOCK_SetTraceClock(uint32_t src, uint32_t divValue, uint32_t fracValue) in CLOCK_SetTraceClock() argument
719 SIM->CLKDIV4 = SIM_CLKDIV4_TRACEDIV(divValue) | SIM_CLKDIV4_TRACEFRAC(fracValue); in CLOCK_SetTraceClock()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/K32L2A41A/drivers/
Dfsl_clock.h717 …id CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint8_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
725 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/K32L2A31A/drivers/
Dfsl_clock.h717 …id CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint8_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
725 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()
/hal_nxp-3.5.0/mcux/mcux-sdk/devices/K32L3A60/drivers/
Dfsl_clock.h797 …id CLOCK_SetIpSrcDiv(clock_ip_name_t name, clock_ip_src_t src, uint8_t divValue, uint8_t fracValue) in CLOCK_SetIpSrcDiv() argument
805 PCC_CLKCFG_PCD(divValue) | PCC_CLKCFG_FRAC(fracValue); in CLOCK_SetIpSrcDiv()