/hal_stm32-3.5.0/lib/stm32wb/hci/ |
D | app_common.h | 92 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument 94 #define BITN( w, n ) (((w)[(n)/32] >> ((n)%32)) & 1) argument 96 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END argument 104 #define ALIGN(n) argument 106 #define ALIGN(n) __attribute__((aligned(n)))
|
D | utilities_common.h | 93 #define ALIGN(n) argument 95 #define ALIGN(n) __attribute__((aligned(n))) 113 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument 116 #define BITN( w, n ) (((w)[(n)/32] >> ((n)%32)) & 1) argument 119 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END argument
|
D | stm32_wpan_common.h | 106 #define ALIGN(n) argument 108 #define ALIGN(n) __attribute__((aligned(n))) 126 #define SHRR( x, n ) ((((x)>>((n)-1))+1)>>1) argument 129 #define BITN( w, n ) (((w)[(n)/32] >> ((n)%32)) & 1) argument 132 #define BITNSET( w, n, b ) M_BEGIN (w)[(n)/32] |= ((U32)(b))<<((n)%32); M_END argument
|
/hal_stm32-3.5.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_pka.c | 286 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 287 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 288 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 1811 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 1819 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 1823 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 1831 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 1835 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 1840 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 1861 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_pka.c | 287 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 288 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 289 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 1877 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 1885 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 1889 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 1897 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 1901 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 1906 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 1927 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_pka.c | 287 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 288 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 289 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 1838 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 1846 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 1850 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 1858 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 1862 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 1867 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 1888 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_pka.c | 287 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 288 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 289 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 1838 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 1846 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 1850 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 1858 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 1862 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 1867 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 1888 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/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 516 n = LL_RCC_PLL1_GetN(); 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 577 n = LL_RCC_PLL2_GetN(); 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() 611 uint32_t m, n, fracv = 0U; in LL_RCC_GetPLL3ClockFreq() local 656 n = LL_RCC_PLL3_GetN(); in LL_RCC_GetPLL3ClockFreq() [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 335 n = LL_RCC_PLL1_GetN(); 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 409 n = LL_RCC_PLL2_GetN(); 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() 424 …PLL_Clocks->PLL_Q_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL2_GetQ(… in LL_RCC_GetPLL2ClockFreq() 429 …PLL_Clocks->PLL_R_Frequency = LL_RCC_CalcPLLClockFreq(pllinputfreq, m, n, fracn, LL_RCC_PLL2_GetR(… in LL_RCC_GetPLL2ClockFreq() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_pka.c | 304 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 305 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 306 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 2063 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 2071 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 2075 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 2083 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 2087 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 2092 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 2113 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_pka.c | 304 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 305 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 306 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 2063 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 2071 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 2075 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 2083 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 2087 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 2092 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 2113 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_pka.c | 304 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n); 305 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n); 306 void PKA_Memcpy_u32_to_u32(__IO uint32_t dst[], __IO const uint32_t src[], size_t n); 2063 void PKA_Memcpy_u32_to_u8(uint8_t dst[], __IO const uint32_t src[], size_t n) in PKA_Memcpy_u32_to_u8() argument 2071 for (; index_uint32_t < (n / 4UL); index_uint32_t++) in PKA_Memcpy_u32_to_u8() 2075 uint32_t index_uint8_t = n - 4UL - (index_uint32_t * 4UL); in PKA_Memcpy_u32_to_u8() 2083 if ((n % 4UL) == 1UL) in PKA_Memcpy_u32_to_u8() 2087 else if ((n % 4UL) == 2UL) in PKA_Memcpy_u32_to_u8() 2092 else if ((n % 4UL) == 3UL) in PKA_Memcpy_u32_to_u8() 2113 void PKA_Memcpy_u8_to_u32(__IO uint32_t dst[], const uint8_t src[], size_t n) in PKA_Memcpy_u8_to_u32() argument [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/soc/Templates/ |
D | partition_stm32h562xx.h | 549 #define SAU_INIT_REGION(n) \ argument 550 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 551 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 552 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 553 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32h563xx.h | 554 #define SAU_INIT_REGION(n) \ argument 555 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 556 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 557 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 558 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/soc/Templates/ |
D | partition_stm32u535xx.h | 547 #define SAU_INIT_REGION(n) \ argument 548 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 549 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 550 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 551 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32u545xx.h | 551 #define SAU_INIT_REGION(n) \ argument 552 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 553 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 554 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 555 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32u575xx.h | 558 #define SAU_INIT_REGION(n) \ argument 559 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 560 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 561 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 562 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32u585xx.h | 563 #define SAU_INIT_REGION(n) \ argument 564 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 565 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 566 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 567 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32u595xx.h | 578 #define SAU_INIT_REGION(n) \ argument 579 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 580 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 581 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 582 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32u599xx.h | 585 #define SAU_INIT_REGION(n) \ argument 586 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 587 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 588 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 589 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/soc/Templates/ |
D | partition_stm32wba54xx.h | 485 #define SAU_INIT_REGION(n) \ argument 486 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 487 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 488 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 489 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32wba55xx.h | 485 #define SAU_INIT_REGION(n) \ argument 486 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 487 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 488 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 489 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32wba52xx.h | 483 #define SAU_INIT_REGION(n) \ argument 484 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 485 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 486 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 487 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
/hal_stm32-3.5.0/stm32cube/stm32l5xx/soc/Templates/ |
D | partition_stm32l552xx.h | 539 #define SAU_INIT_REGION(n) \ argument 540 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 541 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 542 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 543 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|
D | partition_stm32l562xx.h | 541 #define SAU_INIT_REGION(n) \ argument 542 SAU->RNR = (n & SAU_RNR_REGION_Msk); \ 543 SAU->RBAR = (SAU_INIT_START##n & SAU_RBAR_BADDR_Msk); \ 544 SAU->RLAR = (SAU_INIT_END##n & SAU_RLAR_LADDR_Msk) | \ 545 ((SAU_INIT_NSC##n << SAU_RLAR_NSC_Pos) & SAU_RLAR_NSC_Msk) | 1U
|