Lines Matching refs:frequency

363   uint32_t frequency = 0U;  in LL_RCC_GetCpuClockFreq()  local
371 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetCpuClockFreq()
375 frequency = MSI_VALUE; in LL_RCC_GetCpuClockFreq()
379 frequency = HSE_VALUE; in LL_RCC_GetCpuClockFreq()
387 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetCpuClockFreq()
388 frequency = frequency / ic_divider; in LL_RCC_GetCpuClockFreq()
391 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetCpuClockFreq()
392 frequency = frequency / ic_divider; in LL_RCC_GetCpuClockFreq()
395 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetCpuClockFreq()
396 frequency = frequency / ic_divider; in LL_RCC_GetCpuClockFreq()
399 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetCpuClockFreq()
400 frequency = frequency / ic_divider; in LL_RCC_GetCpuClockFreq()
413 return frequency; in LL_RCC_GetCpuClockFreq()
422 uint32_t frequency = 0U; in LL_RCC_GetSystemClockFreq() local
430 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetSystemClockFreq()
434 frequency = MSI_VALUE; in LL_RCC_GetSystemClockFreq()
438 frequency = HSE_VALUE; in LL_RCC_GetSystemClockFreq()
446 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSystemClockFreq()
447 frequency = frequency / ic_divider; in LL_RCC_GetSystemClockFreq()
450 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSystemClockFreq()
451 frequency = frequency / ic_divider; in LL_RCC_GetSystemClockFreq()
454 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSystemClockFreq()
455 frequency = frequency / ic_divider; in LL_RCC_GetSystemClockFreq()
458 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSystemClockFreq()
459 frequency = frequency / ic_divider; in LL_RCC_GetSystemClockFreq()
472 return frequency; in LL_RCC_GetSystemClockFreq()
805 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetADCClockFreq() local
814 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetADCClockFreq()
818 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetADCClockFreq()
828 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetADCClockFreq()
829 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
832 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetADCClockFreq()
833 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
836 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetADCClockFreq()
837 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
840 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetADCClockFreq()
841 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
857 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetADCClockFreq()
858 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
861 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetADCClockFreq()
862 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
865 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetADCClockFreq()
866 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
869 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetADCClockFreq()
870 frequency = frequency / ic_divider; in LL_RCC_GetADCClockFreq()
882 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetADCClockFreq()
889 frequency = MSI_VALUE; in LL_RCC_GetADCClockFreq()
894 frequency = EXTERNAL_CLOCK_VALUE; in LL_RCC_GetADCClockFreq()
898 frequency = LL_RCC_GetSystemClockFreq() / (1UL << LL_RCC_GetTIMPrescaler()); in LL_RCC_GetADCClockFreq()
906 return frequency; in LL_RCC_GetADCClockFreq()
918 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetADFClockFreq() local
927 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetADFClockFreq()
931 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetADFClockFreq()
941 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetADFClockFreq()
942 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
945 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetADFClockFreq()
946 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
949 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetADFClockFreq()
950 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
953 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetADFClockFreq()
954 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
970 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetADFClockFreq()
971 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
974 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetADFClockFreq()
975 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
978 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetADFClockFreq()
979 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
982 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetADFClockFreq()
983 frequency = frequency / ic_divider; in LL_RCC_GetADFClockFreq()
995 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetADFClockFreq()
1002 frequency = MSI_VALUE; in LL_RCC_GetADFClockFreq()
1007 frequency = EXTERNAL_CLOCK_VALUE; in LL_RCC_GetADFClockFreq()
1011 frequency = LL_RCC_GetSystemClockFreq() / (1UL << LL_RCC_GetTIMPrescaler()); in LL_RCC_GetADFClockFreq()
1019 return frequency; in LL_RCC_GetADFClockFreq()
1031 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetCLKPClockFreq() local
1039 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetCLKPClockFreq()
1046 frequency = MSI_VALUE; in LL_RCC_GetCLKPClockFreq()
1053 frequency = HSE_VALUE; in LL_RCC_GetCLKPClockFreq()
1064 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1065 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1068 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1069 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1072 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1073 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1076 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1077 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1093 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1094 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1097 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1098 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1101 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1102 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1105 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1106 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1122 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1123 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1126 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1127 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1130 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1131 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1134 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1135 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1151 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1152 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1155 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1156 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1159 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1160 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1163 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1164 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1180 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1181 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1184 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1185 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1188 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1189 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1192 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetCLKPClockFreq()
1193 frequency = frequency / ic_divider; in LL_RCC_GetCLKPClockFreq()
1207 return frequency; in LL_RCC_GetCLKPClockFreq()
1219 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetDCMIPPClockFreq() local
1228 frequency = RCC_GetPCLK5ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetDCMIPPClockFreq()
1232 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetDCMIPPClockFreq()
1242 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetDCMIPPClockFreq()
1243 frequency = frequency / ic_divider; in LL_RCC_GetDCMIPPClockFreq()
1246 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetDCMIPPClockFreq()
1247 frequency = frequency / ic_divider; in LL_RCC_GetDCMIPPClockFreq()
1250 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetDCMIPPClockFreq()
1251 frequency = frequency / ic_divider; in LL_RCC_GetDCMIPPClockFreq()
1254 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetDCMIPPClockFreq()
1255 frequency = frequency / ic_divider; in LL_RCC_GetDCMIPPClockFreq()
1267 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetDCMIPPClockFreq()
1276 return frequency; in LL_RCC_GetDCMIPPClockFreq()
1288 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetETHClockFreq() local
1297 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetETHClockFreq()
1301 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetETHClockFreq()
1311 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetETHClockFreq()
1312 frequency = frequency / ic_divider; in LL_RCC_GetETHClockFreq()
1315 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetETHClockFreq()
1316 frequency = frequency / ic_divider; in LL_RCC_GetETHClockFreq()
1319 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetETHClockFreq()
1320 frequency = frequency / ic_divider; in LL_RCC_GetETHClockFreq()
1323 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetETHClockFreq()
1324 frequency = frequency / ic_divider; in LL_RCC_GetETHClockFreq()
1336 frequency = HSE_VALUE; in LL_RCC_GetETHClockFreq()
1345 return frequency; in LL_RCC_GetETHClockFreq()
1357 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetETHPTPClockFreq() local
1366 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetETHPTPClockFreq()
1370 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetETHPTPClockFreq()
1380 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetETHPTPClockFreq()
1381 frequency = frequency / ic_divider; in LL_RCC_GetETHPTPClockFreq()
1384 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetETHPTPClockFreq()
1385 frequency = frequency / ic_divider; in LL_RCC_GetETHPTPClockFreq()
1388 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetETHPTPClockFreq()
1389 frequency = frequency / ic_divider; in LL_RCC_GetETHPTPClockFreq()
1392 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetETHPTPClockFreq()
1393 frequency = frequency / ic_divider; in LL_RCC_GetETHPTPClockFreq()
1405 frequency = HSE_VALUE; in LL_RCC_GetETHPTPClockFreq()
1415 if (frequency != LL_RCC_PERIPH_FREQUENCY_NO) in LL_RCC_GetETHPTPClockFreq()
1417 frequency = frequency / ((LL_RCC_GetETH1PTPDivider() >> RCC_CCIPR2_ETH1PTPDIV_Pos) + 1U); in LL_RCC_GetETHPTPClockFreq()
1420 return frequency; in LL_RCC_GetETHPTPClockFreq()
1432 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetFDCANClockFreq() local
1438 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetFDCANClockFreq()
1442 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetFDCANClockFreq()
1452 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetFDCANClockFreq()
1453 frequency = frequency / ic_divider; in LL_RCC_GetFDCANClockFreq()
1456 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetFDCANClockFreq()
1457 frequency = frequency / ic_divider; in LL_RCC_GetFDCANClockFreq()
1460 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetFDCANClockFreq()
1461 frequency = frequency / ic_divider; in LL_RCC_GetFDCANClockFreq()
1464 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetFDCANClockFreq()
1465 frequency = frequency / ic_divider; in LL_RCC_GetFDCANClockFreq()
1477 frequency = HSE_VALUE; in LL_RCC_GetFDCANClockFreq()
1486 return frequency; in LL_RCC_GetFDCANClockFreq()
1498 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetFMCClockFreq() local
1504 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetFMCClockFreq()
1508 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetFMCClockFreq()
1518 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetFMCClockFreq()
1519 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1522 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetFMCClockFreq()
1523 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1526 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetFMCClockFreq()
1527 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1530 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetFMCClockFreq()
1531 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1547 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetFMCClockFreq()
1548 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1551 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetFMCClockFreq()
1552 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1555 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetFMCClockFreq()
1556 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1559 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetFMCClockFreq()
1560 frequency = frequency / ic_divider; in LL_RCC_GetFMCClockFreq()
1574 return frequency; in LL_RCC_GetFMCClockFreq()
1589 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI2CClockFreq() local
1601 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetI2CClockFreq()
1608 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetI2CClockFreq()
1621 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetI2CClockFreq()
1622 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1625 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetI2CClockFreq()
1626 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1629 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetI2CClockFreq()
1630 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1633 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetI2CClockFreq()
1634 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1653 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetI2CClockFreq()
1654 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1657 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetI2CClockFreq()
1658 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1661 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetI2CClockFreq()
1662 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1665 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetI2CClockFreq()
1666 frequency = frequency / ic_divider; in LL_RCC_GetI2CClockFreq()
1681 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetI2CClockFreq()
1691 frequency = MSI_VALUE; in LL_RCC_GetI2CClockFreq()
1700 return frequency; in LL_RCC_GetI2CClockFreq()
1713 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetI3CClockFreq() local
1723 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetI3CClockFreq()
1728 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetI3CClockFreq()
1739 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetI3CClockFreq()
1740 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1743 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetI3CClockFreq()
1744 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1747 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetI3CClockFreq()
1748 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1751 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetI3CClockFreq()
1752 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1769 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetI3CClockFreq()
1770 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1773 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetI3CClockFreq()
1774 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1777 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetI3CClockFreq()
1778 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1781 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetI3CClockFreq()
1782 frequency = frequency / ic_divider; in LL_RCC_GetI3CClockFreq()
1795 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetI3CClockFreq()
1803 frequency = MSI_VALUE; in LL_RCC_GetI3CClockFreq()
1812 return frequency; in LL_RCC_GetI3CClockFreq()
1828 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetLPTIMClockFreq() local
1837 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetLPTIMClockFreq()
1844 frequency = RCC_GetPCLK4ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetLPTIMClockFreq()
1852 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetLPTIMClockFreq()
1866 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetLPTIMClockFreq()
1867 frequency = frequency / ic_divider; in LL_RCC_GetLPTIMClockFreq()
1870 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetLPTIMClockFreq()
1871 frequency = frequency / ic_divider; in LL_RCC_GetLPTIMClockFreq()
1874 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetLPTIMClockFreq()
1875 frequency = frequency / ic_divider; in LL_RCC_GetLPTIMClockFreq()
1878 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetLPTIMClockFreq()
1879 frequency = frequency / ic_divider; in LL_RCC_GetLPTIMClockFreq()
1895 frequency = LSE_VALUE; in LL_RCC_GetLPTIMClockFreq()
1906 frequency = LSI_VALUE; in LL_RCC_GetLPTIMClockFreq()
1915 frequency = LL_RCC_GetSystemClockFreq() / (1UL << LL_RCC_GetTIMPrescaler()); in LL_RCC_GetLPTIMClockFreq()
1923 return frequency; in LL_RCC_GetLPTIMClockFreq()
1935 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetLPUARTClockFreq() local
1941 frequency = RCC_GetPCLK4ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetLPUARTClockFreq()
1945 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetLPUARTClockFreq()
1955 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1956 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1959 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1960 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1963 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1964 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1967 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1968 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1984 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1985 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1988 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1989 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1992 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1993 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
1996 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetLPUARTClockFreq()
1997 frequency = frequency / ic_divider; in LL_RCC_GetLPUARTClockFreq()
2009 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetLPUARTClockFreq()
2016 frequency = MSI_VALUE; in LL_RCC_GetLPUARTClockFreq()
2023 frequency = LSE_VALUE; in LL_RCC_GetLPUARTClockFreq()
2032 return frequency; in LL_RCC_GetLPUARTClockFreq()
2044 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetLTDCClockFreq() local
2053 frequency = RCC_GetPCLK5ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetLTDCClockFreq()
2057 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetLTDCClockFreq()
2067 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetLTDCClockFreq()
2068 frequency = frequency / ic_divider; in LL_RCC_GetLTDCClockFreq()
2071 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetLTDCClockFreq()
2072 frequency = frequency / ic_divider; in LL_RCC_GetLTDCClockFreq()
2075 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetLTDCClockFreq()
2076 frequency = frequency / ic_divider; in LL_RCC_GetLTDCClockFreq()
2079 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetLTDCClockFreq()
2080 frequency = frequency / ic_divider; in LL_RCC_GetLTDCClockFreq()
2092 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetLTDCClockFreq()
2101 return frequency; in LL_RCC_GetLTDCClockFreq()
2113 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetMDFClockFreq() local
2122 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetMDFClockFreq()
2126 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetMDFClockFreq()
2136 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetMDFClockFreq()
2137 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2140 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetMDFClockFreq()
2141 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2144 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetMDFClockFreq()
2145 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2148 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetMDFClockFreq()
2149 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2165 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetMDFClockFreq()
2166 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2169 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetMDFClockFreq()
2170 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2173 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetMDFClockFreq()
2174 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2177 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetMDFClockFreq()
2178 frequency = frequency / ic_divider; in LL_RCC_GetMDFClockFreq()
2190 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetMDFClockFreq()
2197 frequency = MSI_VALUE; in LL_RCC_GetMDFClockFreq()
2202 frequency = EXTERNAL_CLOCK_VALUE; in LL_RCC_GetMDFClockFreq()
2206 frequency = LL_RCC_GetSystemClockFreq() / (1UL << LL_RCC_GetTIMPrescaler()); in LL_RCC_GetMDFClockFreq()
2214 return frequency; in LL_RCC_GetMDFClockFreq()
2227 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetOTGPHYClockFreq() local
2237 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetOTGPHYClockFreq()
2248 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetOTGPHYClockFreq()
2249 frequency = frequency / ic_divider; in LL_RCC_GetOTGPHYClockFreq()
2252 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetOTGPHYClockFreq()
2253 frequency = frequency / ic_divider; in LL_RCC_GetOTGPHYClockFreq()
2256 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetOTGPHYClockFreq()
2257 frequency = frequency / ic_divider; in LL_RCC_GetOTGPHYClockFreq()
2260 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetOTGPHYClockFreq()
2261 frequency = frequency / ic_divider; in LL_RCC_GetOTGPHYClockFreq()
2274 frequency = HSE_VALUE >> 1U; in LL_RCC_GetOTGPHYClockFreq()
2284 frequency = HSE_VALUE; in LL_RCC_GetOTGPHYClockFreq()
2288 frequency = HSE_VALUE >> 1U; in LL_RCC_GetOTGPHYClockFreq()
2298 return frequency; in LL_RCC_GetOTGPHYClockFreq()
2311 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetOTGPHYCKREFClockFreq() local
2319 frequency = LL_RCC_GetOTGPHYClockFreq(LL_RCC_OTGPHY1_CLKSOURCE); in LL_RCC_GetOTGPHYCKREFClockFreq()
2323 frequency = LL_RCC_GetOTGPHYClockFreq(LL_RCC_OTGPHY2_CLKSOURCE); in LL_RCC_GetOTGPHYCKREFClockFreq()
2332 frequency = HSE_VALUE; in LL_RCC_GetOTGPHYCKREFClockFreq()
2336 frequency = HSE_VALUE >> 1U; in LL_RCC_GetOTGPHYCKREFClockFreq()
2346 return frequency; in LL_RCC_GetOTGPHYCKREFClockFreq()
2358 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetPSSIClockFreq() local
2367 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetPSSIClockFreq()
2371 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetPSSIClockFreq()
2381 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetPSSIClockFreq()
2382 frequency = frequency / ic_divider; in LL_RCC_GetPSSIClockFreq()
2385 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetPSSIClockFreq()
2386 frequency = frequency / ic_divider; in LL_RCC_GetPSSIClockFreq()
2389 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetPSSIClockFreq()
2390 frequency = frequency / ic_divider; in LL_RCC_GetPSSIClockFreq()
2393 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetPSSIClockFreq()
2394 frequency = frequency / ic_divider; in LL_RCC_GetPSSIClockFreq()
2406 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetPSSIClockFreq()
2415 return frequency; in LL_RCC_GetPSSIClockFreq()
2428 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetSAIClockFreq() local
2438 frequency = RCC_GetPCLK2ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetSAIClockFreq()
2443 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetSAIClockFreq()
2454 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSAIClockFreq()
2455 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2458 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSAIClockFreq()
2459 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2462 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSAIClockFreq()
2463 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2466 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSAIClockFreq()
2467 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2484 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSAIClockFreq()
2485 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2488 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSAIClockFreq()
2489 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2492 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSAIClockFreq()
2493 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2496 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSAIClockFreq()
2497 frequency = frequency / ic_divider; in LL_RCC_GetSAIClockFreq()
2510 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetSAIClockFreq()
2518 frequency = MSI_VALUE; in LL_RCC_GetSAIClockFreq()
2524 frequency = EXTERNAL_CLOCK_VALUE; in LL_RCC_GetSAIClockFreq()
2529 frequency = LL_RCC_GetSPDIFRXClockFreq(LL_RCC_SPDIFRX1_CLKSOURCE); in LL_RCC_GetSAIClockFreq()
2537 return frequency; in LL_RCC_GetSAIClockFreq()
2550 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetSDMMCClockFreq() local
2560 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetSDMMCClockFreq()
2565 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetSDMMCClockFreq()
2576 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2577 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2580 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2581 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2584 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2585 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2588 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2589 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2606 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2607 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2610 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2611 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2614 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2615 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2618 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSDMMCClockFreq()
2619 frequency = frequency / ic_divider; in LL_RCC_GetSDMMCClockFreq()
2633 return frequency; in LL_RCC_GetSDMMCClockFreq()
2645 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetSPDIFRXClockFreq() local
2654 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetSPDIFRXClockFreq()
2658 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetSPDIFRXClockFreq()
2668 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2669 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2672 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2673 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2676 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2677 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2680 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2681 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2697 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2698 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2701 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2702 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2705 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2706 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2709 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSPDIFRXClockFreq()
2710 frequency = frequency / ic_divider; in LL_RCC_GetSPDIFRXClockFreq()
2722 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetSPDIFRXClockFreq()
2729 frequency = MSI_VALUE; in LL_RCC_GetSPDIFRXClockFreq()
2734 frequency = EXTERNAL_CLOCK_VALUE; in LL_RCC_GetSPDIFRXClockFreq()
2742 return frequency; in LL_RCC_GetSPDIFRXClockFreq()
2759 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetSPIClockFreq() local
2769 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetSPIClockFreq()
2775 frequency = RCC_GetPCLK2ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetSPIClockFreq()
2779 frequency = RCC_GetPCLK4ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetSPIClockFreq()
2788 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetSPIClockFreq()
2801 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSPIClockFreq()
2802 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2805 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSPIClockFreq()
2806 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2809 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSPIClockFreq()
2810 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2813 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSPIClockFreq()
2814 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2835 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSPIClockFreq()
2836 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2839 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSPIClockFreq()
2840 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2843 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSPIClockFreq()
2844 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2847 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSPIClockFreq()
2848 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2865 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetSPIClockFreq()
2866 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2869 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetSPIClockFreq()
2870 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2873 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetSPIClockFreq()
2874 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2877 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetSPIClockFreq()
2878 frequency = frequency / ic_divider; in LL_RCC_GetSPIClockFreq()
2895 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetSPIClockFreq()
2907 frequency = MSI_VALUE; in LL_RCC_GetSPIClockFreq()
2915 frequency = EXTERNAL_CLOCK_VALUE; in LL_RCC_GetSPIClockFreq()
2922 frequency = HSE_VALUE; in LL_RCC_GetSPIClockFreq()
2931 return frequency; in LL_RCC_GetSPIClockFreq()
2947 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetUARTClockFreq() local
2959 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetUARTClockFreq()
2963 frequency = RCC_GetPCLK2ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetUARTClockFreq()
2971 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetUARTClockFreq()
2985 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetUARTClockFreq()
2986 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
2989 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetUARTClockFreq()
2990 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
2993 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetUARTClockFreq()
2994 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
2997 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetUARTClockFreq()
2998 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
3018 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetUARTClockFreq()
3019 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
3022 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetUARTClockFreq()
3023 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
3026 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetUARTClockFreq()
3027 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
3030 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetUARTClockFreq()
3031 frequency = frequency / ic_divider; in LL_RCC_GetUARTClockFreq()
3047 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetUARTClockFreq()
3058 frequency = MSI_VALUE; in LL_RCC_GetUARTClockFreq()
3069 frequency = LSE_VALUE; in LL_RCC_GetUARTClockFreq()
3078 return frequency; in LL_RCC_GetUARTClockFreq()
3094 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetUSARTClockFreq() local
3105 frequency = RCC_GetPCLK2ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetUSARTClockFreq()
3110 frequency = RCC_GetPCLK1ClockFreq(RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq())); in LL_RCC_GetUSARTClockFreq()
3118 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetUSARTClockFreq()
3132 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3133 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3136 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3137 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3140 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3141 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3144 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3145 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3165 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3166 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3169 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3170 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3173 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3174 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3177 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetUSARTClockFreq()
3178 frequency = frequency / ic_divider; in LL_RCC_GetUSARTClockFreq()
3194 frequency = HSI_VALUE >> (LL_RCC_HSI_GetDivider() >> RCC_HSICFGR_HSIDIV_Pos); in LL_RCC_GetUSARTClockFreq()
3205 frequency = MSI_VALUE; in LL_RCC_GetUSARTClockFreq()
3216 frequency = LSE_VALUE; in LL_RCC_GetUSARTClockFreq()
3225 return frequency; in LL_RCC_GetUSARTClockFreq()
3240 uint32_t frequency = LL_RCC_PERIPH_FREQUENCY_NO; in LL_RCC_GetXSPIClockFreq() local
3248 frequency = RCC_GetHCLKClockFreq(LL_RCC_GetSystemClockFreq()); in LL_RCC_GetXSPIClockFreq()
3254 frequency = LL_RCC_GetCLKPClockFreq(LL_RCC_CLKP_CLKSOURCE); in LL_RCC_GetXSPIClockFreq()
3266 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3267 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3270 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3271 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3274 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3275 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3278 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3279 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3297 frequency = LL_RCC_GetPLL1ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3298 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3301 frequency = LL_RCC_GetPLL2ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3302 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3305 frequency = LL_RCC_GetPLL3ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3306 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3309 frequency = LL_RCC_GetPLL4ClockFreq(); in LL_RCC_GetXSPIClockFreq()
3310 frequency = frequency / ic_divider; in LL_RCC_GetXSPIClockFreq()
3324 return frequency; in LL_RCC_GetXSPIClockFreq()