/hal_stm32-latest/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_gtzc.c | 318 uint32_t i; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 337 for (i = 0U; i < 32U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 339 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 341 PeriphAttributes[i] = GTZC_TZSC_PERIPH_SEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 345 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NSEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 350 for (i = 32U; i < 64U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 352 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 354 PeriphAttributes[i] = GTZC_TZSC_PERIPH_SEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 358 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NSEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 363 for (i = 64U; i < GTZC_TZSC_PERIPH_NUMBER; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_gtzc.c | 384 uint32_t i; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 403 for (i = 0U; i < 32U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 405 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 407 PeriphAttributes[i] = GTZC_TZSC_PERIPH_SEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 411 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NSEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 416 for (i = 32U; i < 64U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 418 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 420 PeriphAttributes[i] = GTZC_TZSC_PERIPH_SEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 424 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NSEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 429 for (i = 64U; i < 96U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
D | stm32u5xx_hal_rtc_ex.c | 1687 uint32_t i; in HAL_RTCEx_SetActiveTampers() local 1691 for (i = 0; i < RTC_TAMP_NB; i++) in HAL_RTCEx_SetActiveTampers() 1693 assert_param(IS_RTC_TAMPER_ERASE_MODE(sAllTamper->TampInput[i].NoErase)); in HAL_RTCEx_SetActiveTampers() 1694 assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sAllTamper->TampInput[i].MaskFlag)); in HAL_RTCEx_SetActiveTampers() 1696 …assert_param(!((sAllTamper->TampInput[i].MaskFlag != RTC_TAMPERMASK_FLAG_DISABLE) && (i > RTC_TAMP… in HAL_RTCEx_SetActiveTampers() 1726 for (i = 0; i < RTC_TAMP_NB; i++) in HAL_RTCEx_SetActiveTampers() 1728 if (sAllTamper->TampInput[i].Enable != RTC_ATAMP_DISABLE) in HAL_RTCEx_SetActiveTampers() 1730 CR1 |= (TAMP_CR1_TAMP1E << i); in HAL_RTCEx_SetActiveTampers() 1731 ATCR1 |= (TAMP_ATCR1_TAMP1AM << i); in HAL_RTCEx_SetActiveTampers() 1733 if (sAllTamper->TampInput[i].Interrupt != RTC_ATAMP_INTERRUPT_DISABLE) in HAL_RTCEx_SetActiveTampers() [all …]
|
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_gtzc.c | 362 uint32_t i; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 381 for (i = 0U; i < 32U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 383 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 385 PeriphAttributes[i] = GTZC_TZSC_PERIPH_PRIV; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 389 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NPRIV; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 394 for (i = 32U; i < 64U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 396 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 398 PeriphAttributes[i] = GTZC_TZSC_PERIPH_PRIV; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 402 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NPRIV; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 407 for (i = 64U; i < GTZC_TZSC_PERIPH_NUMBER; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
D | stm32h5xx_hal_crc.c | 434 uint32_t i; /* input data buffer index */ in CRC_Handle_8() local 441 for (i = 0U; i < (BufferLength / 4U); i++) in CRC_Handle_8() 443 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8() 444 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8() 445 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8() 446 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8() 453 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8() 457 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 467 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8() [all …]
|
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_gtzc.c | 321 uint32_t i; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() local 339 for (i = 0U; i < 32U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 341 if (((reg_value & (1UL << i)) >> i) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 343 PeriphAttributes[i] = GTZC_TZSC_PERIPH_SEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 347 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NSEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 352 for (/*i = 32U*/; i < GTZC_TZSC_PERIPH_NUMBER; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 354 if (((reg_value & (1UL << (i - 32U))) >> (i - 32U)) != 0U) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 356 PeriphAttributes[i] = GTZC_TZSC_PERIPH_SEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 360 PeriphAttributes[i] = GTZC_TZSC_PERIPH_NSEC; in HAL_GTZC_TZSC_GetConfigPeriphAttributes() 368 for (i = 0U; i < 32U; i++) in HAL_GTZC_TZSC_GetConfigPeriphAttributes() [all …]
|
/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/STM32_BLE/App/ |
D | pawr_buff_alloc.c | 57 #define BUFFER_IN_USE(mask, i) (mask & (1<<i)) argument 58 #define SET_BUFFER_IN_USE(mask, i) (mask |= (1<<i)) argument 59 #define CLEAR_BUFFER_IN_USE(mask, i) (mask &= ~(1<<i)) argument 73 for(int i = 0; i < CFG_BLE_PAWR_SUBEVENT_DATA_COUNT_MAX; i++) in subevent_buff_free() local 75 if(p == pawr_subevent_buf[i]) in subevent_buff_free() 77 CLEAR_BUFFER_IN_USE(used_subevent_buff_msk, i); in subevent_buff_free() 85 for(int i = 0; i < MAX_PAWR_RESPONSE_SUBEVENT_COUNT; i++) in response_buff_free() local 87 if(p == pawr_resp_buff[i]) in response_buff_free() 89 CLEAR_BUFFER_IN_USE(used_resp_buff_msk, i); in response_buff_free() 124 uint8_t i; in pawr_buff_subevent_alloc() local [all …]
|
D | adv_buff_alloc_tiny.c | 30 #define BUFFER_IN_USE(i) (used_buffers_msk & (1<<i)) argument 31 #define SET_BUFFER_IN_USE(i) (used_buffers_msk |= (1<<i)) argument 32 #define CLEAR_BUFFER_IN_USE(i) (used_buffers_msk &= ~(1<<i)) argument 50 for(int i = 0; i < NUM_BUFFERS; i++) in adv_tiny_buff_free() local 52 if(p == buffer[i]) in adv_tiny_buff_free() 54 CLEAR_BUFFER_IN_USE(i); in adv_tiny_buff_free() 66 uint8_t i; in adv_tiny_buff_alloc() local 68 for(i = 0; i < NUM_BUFFERS && BUFFER_IN_USE(i) ; i++); in adv_tiny_buff_alloc() 70 if(i == NUM_BUFFERS) in adv_tiny_buff_alloc() 76 SET_BUFFER_IN_USE(i); in adv_tiny_buff_alloc() [all …]
|
D | adv_buff_alloc.c | 42 uint8_t i, j; in adv_buff_init() local 44 for(i = 0; i < NUM_ADV_BUFF_TYPES; i++) in adv_buff_init() 46 adv_buf_info[i][j].handle = 0xFF; in adv_buff_init() 57 int i; in search_handle() local 63 for(i = 0; i < CFG_BLE_NUM_ADV_SETS; i++){ in search_handle() 64 if(adv_buf_info[data_type][i].handle == handle) in search_handle() 65 return &adv_buf_info[data_type][i]; in search_handle() 206 uint8_t i, j; in adv_buff_free_old() local 213 for(i = 0; i < CFG_BLE_NUM_ADV_SETS; i++){ in adv_buff_free_old() 214 if(adv_buf_info[j][i].old_buff_data == buff){ in adv_buff_free_old() [all …]
|
/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/System/Interfaces/ |
D | hw_pka.c | 212 for(int i=0; i<size; i++) in HW_PKA_WriteSingleInput() local 331 uint_fast8_t i = bufferSize; in rev_memcmp() local 336 i--; in rev_memcmp() 337 retval = (int)a[i] - (int)b[i]; in rev_memcmp() 342 } while (i != 0U); in rev_memcmp() 439 for(uint8_t i=0;i<32;i++) { in HW_PKA_GetData() local 440 dataTarget[i] = ((uint8_t *)StartAddress)[i]; in HW_PKA_GetData() 484 for(int i=0;i<8;i++) in HW_PKA_StartP256DHkeyGeneration() local 485 bufferSecretKey[i] = secretKey[i]; in HW_PKA_StartP256DHkeyGeneration() 486 for(int i=0;i<16;i++) in HW_PKA_StartP256DHkeyGeneration() local [all …]
|
/hal_stm32-latest/stm32cube/stm32n6xx/drivers/src/ |
D | stm32n6xx_ll_usb.c | 278 uint32_t i; in USB_DevInit() local 280 for (i = 0U; i < 15U; i++) in USB_DevInit() 282 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 344 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 346 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 348 if (i == 0U) in USB_DevInit() 350 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 354 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 359 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 362 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
D | stm32n6xx_hal_crc.c | 434 uint32_t i; /* input data buffer index */ in CRC_Handle_8() local 441 for (i = 0U; i < (BufferLength / 4U); i++) in CRC_Handle_8() 443 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8() 444 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8() 445 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8() 446 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8() 453 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8() 457 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 467 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8() [all …]
|
/hal_stm32-latest/lib/stm32wb0/BLE_TransparentMode/System/Modules/RADIO_utils/Src/ |
D | RADIO_utils.c | 108 uint8_t i; in RADIO_DBmToPALevel() local 112 for(i = 0; i < tx_power_levels; i++) in RADIO_DBmToPALevel() 114 if(pa_level_table[i] >= TX_dBm) in RADIO_DBmToPALevel() 117 if (((pa_level_table[i] > TX_dBm) && (i > LOWEST_TX_POWER_LEVEL_INDEX)) || in RADIO_DBmToPALevel() 118 (i == tx_power_levels)) in RADIO_DBmToPALevel() 120 i--; in RADIO_DBmToPALevel() 123 return i; in RADIO_DBmToPALevel() 130 uint8_t i; in RADIO_DBmToPALevelGe() local 132 for(i = LOWEST_TX_POWER_LEVEL_INDEX; i < tx_power_levels; i++) in RADIO_DBmToPALevelGe() 134 if (pa_level_table[i] >= TX_dBm) in RADIO_DBmToPALevelGe() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_ll_usb.c | 296 uint32_t i; in USB_DevInit() local 298 for (i = 0U; i < 15U; i++) in USB_DevInit() 300 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 385 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 387 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 389 if (i == 0U) in USB_DevInit() 391 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 395 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 400 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 403 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
D | stm32h7rsxx_hal_crc.c | 434 uint32_t i; /* input data buffer index */ in CRC_Handle_8() local 441 for (i = 0U; i < (BufferLength / 4U); i++) in CRC_Handle_8() 443 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8() 444 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8() 445 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8() 446 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8() 453 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8() 457 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 467 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8() [all …]
|
/hal_stm32-latest/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_ll_usb.c | 292 uint32_t i; in USB_DevInit() local 294 for (i = 0U; i < 15U; i++) in USB_DevInit() 296 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 356 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 358 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 360 if (i == 0U) in USB_DevInit() 362 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 366 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 371 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 374 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
/hal_stm32-latest/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_ll_usb.c | 300 uint32_t i; in USB_DevInit() local 302 for (i = 0U; i < 15U; i++) in USB_DevInit() 304 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 388 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 390 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 392 if (i == 0U) in USB_DevInit() 394 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 398 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 403 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 406 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
/hal_stm32-latest/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_ll_usb.c | 338 uint32_t i; in USB_DevInit() local 340 for (i = 0U; i < 15U; i++) in USB_DevInit() 342 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 418 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 420 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 422 if (i == 0U) in USB_DevInit() 424 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 428 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 433 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 436 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_ll_usb.c | 304 uint32_t i; in USB_DevInit() local 306 for (i = 0U; i < 15U; i++) in USB_DevInit() 308 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 367 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 369 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 371 if (i == 0U) in USB_DevInit() 373 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 377 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 382 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 385 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
/hal_stm32-latest/stm32cube/stm32wb0x/drivers/src/ |
D | stm32wb0x_hal_radio.c | 682 for (uint8_t i = 0; i < 5; i++) in HAL_RADIO_SetChannelMap() local 684 (bluedata + StateMachineNo)->USEDCHANNELFLAGS[i] = chan_remap[i]; in HAL_RADIO_SetChannelMap() 771 for (uint8_t i = 0; i < 5; i++) in HAL_RADIO_SetEncryptionCount() local 773 (bluedata + StateMachineNo)->PCNTRCV[i] = count_rcv[i]; in HAL_RADIO_SetEncryptionCount() 774 (bluedata + StateMachineNo)->PCNTTX[i] = count_tx[i]; in HAL_RADIO_SetEncryptionCount() 789 uint8_t i = 0; in HAL_RADIO_SetEncryptionAttributes() local 793 for (i = 0; i < 8; i++) in HAL_RADIO_SetEncryptionAttributes() 795 (bluedata + StateMachineNo)->ENCRYPTIV[i] = enc_iv[i]; in HAL_RADIO_SetEncryptionAttributes() 796 (bluedata + StateMachineNo)->ENCRYPTK[i] = enc_key[i]; in HAL_RADIO_SetEncryptionAttributes() 798 for (i = 8; i < 16; i++) in HAL_RADIO_SetEncryptionAttributes() [all …]
|
/hal_stm32-latest/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_ll_usb.c | 263 uint32_t i; in USB_DevInit() local 265 for (i = 0U; i < 15U; i++) in USB_DevInit() 267 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 295 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 297 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 299 if (i == 0U) in USB_DevInit() 301 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 305 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 310 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 313 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_ll_usb.c | 271 uint32_t i; in USB_DevInit() local 273 for (i = 0U; i < 15U; i++) in USB_DevInit() 275 USBx->DIEPTXF[i] = 0U; in USB_DevInit() 318 for (i = 0U; i < cfg.dev_endpoints; i++) in USB_DevInit() 320 if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) in USB_DevInit() 322 if (i == 0U) in USB_DevInit() 324 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 328 USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; in USB_DevInit() 333 USBx_INEP(i)->DIEPCTL = 0U; in USB_DevInit() 336 USBx_INEP(i)->DIEPTSIZ = 0U; in USB_DevInit() [all …]
|
/hal_stm32-latest/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_crc.c | 436 uint32_t i; /* input data buffer index */ in CRC_Handle_8() local 443 for (i = 0U; i < (BufferLength / 4U); i++) in CRC_Handle_8() 445 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8() 446 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8() 447 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8() 448 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8() 455 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8() 459 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 465 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 469 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8() [all …]
|
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_crc.c | 434 uint32_t i; /* input data buffer index */ in CRC_Handle_8() local 441 for (i = 0U; i < (BufferLength / 4U); i++) in CRC_Handle_8() 443 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8() 444 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8() 445 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8() 446 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8() 453 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8() 457 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 467 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8() [all …]
|
/hal_stm32-latest/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_crc.c | 434 uint32_t i; /* input data buffer index */ in CRC_Handle_8() local 441 for (i = 0U; i < (BufferLength / 4U); i++) in CRC_Handle_8() 443 hcrc->Instance->DR = ((uint32_t)pBuffer[4U * i] << 24U) | \ in CRC_Handle_8() 444 ((uint32_t)pBuffer[(4U * i) + 1U] << 16U) | \ in CRC_Handle_8() 445 ((uint32_t)pBuffer[(4U * i) + 2U] << 8U) | \ in CRC_Handle_8() 446 (uint32_t)pBuffer[(4U * i) + 3U]; in CRC_Handle_8() 453 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[4U * i]; /* Derogation Misra… in CRC_Handle_8() 457 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 463 data = ((uint16_t)(pBuffer[4U * i]) << 8U) | (uint16_t)pBuffer[(4U * i) + 1U]; in CRC_Handle_8() 467 …*(__IO uint8_t *)(__IO void *)(&hcrc->Instance->DR) = pBuffer[(4U * i) + 2U]; /* Derogation Misra… in CRC_Handle_8() [all …]
|