/hal_stm32-3.7.0/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 …]
|
D | stm32wbaxx_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-3.7.0/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 …]
|
D | stm32u5xx_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-3.7.0/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-3.7.0/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 …]
|
D | stm32l5xx_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-3.7.0/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-3.7.0/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 …]
|
D | stm32f7xx_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-3.7.0/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 …]
|
D | stm32h7xx_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-3.7.0/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-3.7.0/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-3.7.0/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-3.7.0/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-3.7.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_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-3.7.0/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-3.7.0/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-3.7.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_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-3.7.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_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-3.7.0/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 …]
|