/hal_stm32-3.5.0/scripts/genpinctrl/ |
D | genpinctrl.py | 270 m = re.search(r"GPIO-(.*)_Modes.xml", gpio_file.name) 271 gpio_ip = m.group(1) 298 m = re.search(r"^[A-Z0-9]+_REMAP(\d+)", name) 299 if not m: 323 m = re.search(r"^GPIO_AF(\d+)_[A-Z0-9]+", value.text) 324 if not m: 330 af_n = int(m.group(1)) 429 m = re.search(r"^P([A-Z])(\d+)(.*)$", pin_name) 430 if not m: 433 pin_port = m.group(1).lower() [all …]
|
/hal_stm32-3.5.0/lib/stm32wb/hci/ |
D | app_common.h | 73 #define MODINC( a, m ) M_BEGIN (a)++; if ((a)>=(m)) (a)=0; M_END argument 75 #define MODDEC( a, m ) M_BEGIN if ((a)==0) (a)=(m); (a)--; M_END argument 77 #define MODADD( a, b, m ) M_BEGIN (a)+=(b); if ((a)>=(m)) (a)-=(m); M_END argument 79 #define MODSUB( a, b, m ) MODADD( a, (m)-(b), m ) argument
|
D | utilities_common.h | 80 #define MODINC( a, m ) M_BEGIN (a)++; if ((a)>=(m)) (a)=0; M_END argument 83 #define MODDEC( a, m ) M_BEGIN if ((a)==0) (a)=(m); (a)--; M_END argument 86 #define MODADD( a, b, m ) M_BEGIN (a)+=(b); if ((a)>=(m)) (a)-=(m); M_END argument 89 #define MODSUB( a, b, m ) MODADD( a, (m)-(b), m ) argument
|
D | stm32_wpan_common.h | 93 #define MODINC( a, m ) M_BEGIN (a)++; if ((a)>=(m)) (a)=0; M_END argument 96 #define MODDEC( a, m ) M_BEGIN if ((a)==0) (a)=(m); (a)--; M_END argument 99 #define MODADD( a, b, m ) M_BEGIN (a)+=(b); if ((a)>=(m)) (a)-=(m); M_END argument 102 #define MODSUB( a, b, m ) MODADD( a, (m)-(b), m ) argument
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_ll_rcc.c | 480 uint32_t m, n, fracv = 0U; in LL_RCC_GetPLL1ClockFreq() local 515 m = LL_RCC_PLL1_GetM(); in LL_RCC_GetPLL1ClockFreq() 522 if (m != 0U) in LL_RCC_GetPLL1ClockFreq() 526 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL1_GetP(… in LL_RCC_GetPLL1ClockFreq() 540 uint32_t m, n, fracv = 0U; in LL_RCC_GetPLL2ClockFreq() local 576 m = LL_RCC_PLL2_GetM(); in LL_RCC_GetPLL2ClockFreq() 583 if (m != 0U) in LL_RCC_GetPLL2ClockFreq() 587 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetP(… in LL_RCC_GetPLL2ClockFreq() 592 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetQ(… in LL_RCC_GetPLL2ClockFreq() 597 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracv, LL_RCC_PLL2_GetR(… in LL_RCC_GetPLL2ClockFreq() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_ll_rcc.c | 294 uint32_t m, n, fracn = 0U; in LL_RCC_GetPLL1ClockFreq() local 334 m = LL_RCC_PLL1_GetM(); in LL_RCC_GetPLL1ClockFreq() 341 if (m != 0U) in LL_RCC_GetPLL1ClockFreq() 345 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetP(… in LL_RCC_GetPLL1ClockFreq() 350 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetQ(… in LL_RCC_GetPLL1ClockFreq() 355 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL1_GetR(… in LL_RCC_GetPLL1ClockFreq() 368 uint32_t m, n, fracn = 0U; in LL_RCC_GetPLL2ClockFreq() local 408 m = LL_RCC_PLL2_GetM(); in LL_RCC_GetPLL2ClockFreq() 415 if (m != 0U) in LL_RCC_GetPLL2ClockFreq() 419 …PLL_Clocks->PLL_P_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL2_GetP(… in LL_RCC_GetPLL2ClockFreq() [all …]
|
/hal_stm32-3.5.0/scripts/genllheaders/ |
D | genllheaders.py | 61 m = re.search(r"version v?([0-9\.]+)", readme) 62 if not m: 66 versions[series] = m.group(1) 71 m = re.match(r"^stm32[a-z0-9]+_ll_([a-z0-9]+)\.h$", header.name) 72 if not m: 75 ll_api = m.group(1)
|