/hal_stm32-3.5.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_flash_ramfunc.c | 131 uint32_t count, reg; in HAL_FLASHEx_OB_DBankConfig() local 139 reg = FLASH->SECWM1R1; in HAL_FLASHEx_OB_DBankConfig() 140 …if ((reg & FLASH_SECWM1R1_SECWM1_PSTRT) > ((reg & FLASH_SECWM1R1_SECWM1_PEND) >> FLASH_SECWM1R1_SE… in HAL_FLASHEx_OB_DBankConfig() 143 reg = FLASH->SECWM2R1; in HAL_FLASHEx_OB_DBankConfig() 144 …if ((reg & FLASH_SECWM2R1_SECWM2_PSTRT) > ((reg & FLASH_SECWM2R1_SECWM2_PEND) >> FLASH_SECWM2R1_SE… in HAL_FLASHEx_OB_DBankConfig() 148 reg = FLASH->WRP1AR; in HAL_FLASHEx_OB_DBankConfig() 149 …if ((reg & FLASH_WRP1AR_WRP1A_PSTRT) <= ((reg & FLASH_WRP1AR_WRP1A_PEND) >> FLASH_WRP1AR_WRP1A_PEN… in HAL_FLASHEx_OB_DBankConfig() 155 reg = FLASH->WRP1BR; in HAL_FLASHEx_OB_DBankConfig() 156 …if ((reg & FLASH_WRP1BR_WRP1B_PSTRT) <= ((reg & FLASH_WRP1BR_WRP1B_PEND) >> FLASH_WRP1BR_WRP1B_PEN… in HAL_FLASHEx_OB_DBankConfig() 162 reg = FLASH->WRP2AR; in HAL_FLASHEx_OB_DBankConfig() [all …]
|
D | stm32l5xx_hal_flash_ex.c | 172 __IO uint32_t *reg; in HAL_FLASHEx_Erase() local 190 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASHEx_Erase() 222 CLEAR_BIT((*reg), (pFlash.ProcedureOnGoing & ~(FLASH_NON_SECURE_MASK))); in HAL_FLASHEx_Erase() 447 __IO uint32_t *reg; in HAL_FLASHEx_ConfigBBAttributes() local 461 reg = &(FLASH->SECBB1R1); in HAL_FLASHEx_ConfigBBAttributes() 465 reg = &(FLASH->SECBB2R1); in HAL_FLASHEx_ConfigBBAttributes() 471 *reg = pBBAttributes->BBAttributes_array[index]; in HAL_FLASHEx_ConfigBBAttributes() 472 if (*reg != pBBAttributes->BBAttributes_array[index]) in HAL_FLASHEx_ConfigBBAttributes() 476 reg++; in HAL_FLASHEx_ConfigBBAttributes() 503 __IO uint32_t *reg; in HAL_FLASHEx_GetConfigBBAttributes() local [all …]
|
D | stm32l5xx_hal_dfsdm.c | 2199 uint32_t reg; in HAL_DFSDM_FilterGetRegularValue() local 2207 reg = hdfsdm_filter->Instance->FLTRDATAR; in HAL_DFSDM_FilterGetRegularValue() 2210 *Channel = (reg & DFSDM_FLTRDATAR_RDATACH); in HAL_DFSDM_FilterGetRegularValue() 2213 reg &= DFSDM_FLTRDATAR_RDATA; in HAL_DFSDM_FilterGetRegularValue() 2214 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetRegularValue() 2611 uint32_t reg; in HAL_DFSDM_FilterGetInjectedValue() local 2619 reg = hdfsdm_filter->Instance->FLTJDATAR; in HAL_DFSDM_FilterGetInjectedValue() 2622 *Channel = (reg & DFSDM_FLTJDATAR_JDATACH); in HAL_DFSDM_FilterGetInjectedValue() 2625 reg &= DFSDM_FLTJDATAR_JDATA; in HAL_DFSDM_FilterGetInjectedValue() 2626 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetInjectedValue() [all …]
|
D | stm32l5xx_hal_flash.c | 161 __IO uint32_t *reg; in HAL_FLASH_Program() local 178 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_Program() 187 CLEAR_BIT((*reg), (pFlash.ProcedureOnGoing & ~(FLASH_NON_SECURE_MASK))); in HAL_FLASH_Program() 255 __IO uint32_t *reg; in HAL_FLASH_IRQHandler() local 259 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in HAL_FLASH_IRQHandler() 287 CLEAR_BIT((*reg), type); in HAL_FLASH_IRQHandler() 349 (*reg) &= ~(FLASH_IT_EOP | FLASH_IT_OPERR); in HAL_FLASH_IRQHandler() 662 __IO uint32_t *reg; in FLASH_Program_DoubleWord() local 667 reg = IS_FLASH_SECURE_OPERATION() ? &(FLASH->SECCR) : &(FLASH_NS->NSCR); in FLASH_Program_DoubleWord() 674 SET_BIT((*reg), FLASH_NSCR_NSPG); in FLASH_Program_DoubleWord()
|
/hal_stm32-3.5.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_flash_ramfunc.c | 132 uint32_t count, reg; in HAL_FLASHEx_OB_DBankConfig() local 139 reg = FLASH->PCROP1SR; in HAL_FLASHEx_OB_DBankConfig() 140 if (reg > FLASH->PCROP1ER) in HAL_FLASHEx_OB_DBankConfig() 142 reg = FLASH->PCROP2SR; in HAL_FLASHEx_OB_DBankConfig() 143 if (reg > FLASH->PCROP2ER) in HAL_FLASHEx_OB_DBankConfig() 167 reg = FLASH->WRP1AR; in HAL_FLASHEx_OB_DBankConfig() 168 if (((reg & FLASH_WRP1AR_WRP1A_STRT) >> FLASH_WRP1AR_WRP1A_STRT_Pos) <= in HAL_FLASHEx_OB_DBankConfig() 169 ((reg & FLASH_WRP1AR_WRP1A_END) >> FLASH_WRP1AR_WRP1A_END_Pos)) in HAL_FLASHEx_OB_DBankConfig() 175 reg = FLASH->WRP1BR; in HAL_FLASHEx_OB_DBankConfig() 176 if (((reg & FLASH_WRP1BR_WRP1B_STRT) >> FLASH_WRP1BR_WRP1B_STRT_Pos) <= in HAL_FLASHEx_OB_DBankConfig() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_flash_ramfunc.c | 131 uint32_t count, reg; in HAL_FLASHEx_OB_DBankConfig() local 138 reg = FLASH->PCROP1SR; in HAL_FLASHEx_OB_DBankConfig() 139 if (reg > FLASH->PCROP1ER) in HAL_FLASHEx_OB_DBankConfig() 141 reg = FLASH->PCROP2SR; in HAL_FLASHEx_OB_DBankConfig() 142 if (reg > FLASH->PCROP2ER) in HAL_FLASHEx_OB_DBankConfig() 166 reg = FLASH->WRP1AR; in HAL_FLASHEx_OB_DBankConfig() 167 if (((reg & FLASH_WRP1AR_WRP1A_STRT) >> FLASH_WRP1AR_WRP1A_STRT_Pos) <= in HAL_FLASHEx_OB_DBankConfig() 168 ((reg & FLASH_WRP1AR_WRP1A_END) >> FLASH_WRP1AR_WRP1A_END_Pos)) in HAL_FLASHEx_OB_DBankConfig() 174 reg = FLASH->WRP1BR; in HAL_FLASHEx_OB_DBankConfig() 175 if (((reg & FLASH_WRP1BR_WRP1B_STRT) >> FLASH_WRP1BR_WRP1B_STRT_Pos) <= in HAL_FLASHEx_OB_DBankConfig() [all …]
|
D | stm32l4xx_hal_dfsdm.c | 2211 uint32_t reg; in HAL_DFSDM_FilterGetRegularValue() local 2219 reg = hdfsdm_filter->Instance->FLTRDATAR; in HAL_DFSDM_FilterGetRegularValue() 2222 *Channel = (reg & DFSDM_FLTRDATAR_RDATACH); in HAL_DFSDM_FilterGetRegularValue() 2225 reg &= DFSDM_FLTRDATAR_RDATA; in HAL_DFSDM_FilterGetRegularValue() 2226 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetRegularValue() 2623 uint32_t reg; in HAL_DFSDM_FilterGetInjectedValue() local 2631 reg = hdfsdm_filter->Instance->FLTJDATAR; in HAL_DFSDM_FilterGetInjectedValue() 2634 *Channel = (reg & DFSDM_FLTJDATAR_JDATACH); in HAL_DFSDM_FilterGetInjectedValue() 2637 reg &= DFSDM_FLTJDATAR_JDATA; in HAL_DFSDM_FilterGetInjectedValue() 2638 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetInjectedValue() [all …]
|
D | stm32l4xx_hal_ospi.c | 3098 uint32_t reg; in OSPIM_GetConfig() local 3136 reg = OCTOSPIM->PCR[index]; in OSPIM_GetConfig() 3138 if ((reg & OCTOSPIM_PCR_CLKEN) != 0U) in OSPIM_GetConfig() 3141 if ((reg & OCTOSPIM_PCR_CLKSRC) == (value & OCTOSPIM_PCR_CLKSRC)) in OSPIM_GetConfig() 3148 if ((reg & OCTOSPIM_PCR_DQSEN) != 0U) in OSPIM_GetConfig() 3151 if ((reg & OCTOSPIM_PCR_DQSSRC) == (value & OCTOSPIM_PCR_DQSSRC)) in OSPIM_GetConfig() 3158 if ((reg & OCTOSPIM_PCR_NCSEN) != 0U) in OSPIM_GetConfig() 3161 if ((reg & OCTOSPIM_PCR_NCSSRC) == (value & OCTOSPIM_PCR_NCSSRC)) in OSPIM_GetConfig() 3168 if ((reg & OCTOSPIM_PCR_IOLEN) != 0U) in OSPIM_GetConfig() 3171 if ((reg & OCTOSPIM_PCR_IOLSRC_1) == (value & OCTOSPIM_PCR_IOLSRC_1)) in OSPIM_GetConfig() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_dfsdm.c | 2204 uint32_t reg; in HAL_DFSDM_FilterGetRegularValue() local 2212 reg = hdfsdm_filter->Instance->FLTRDATAR; in HAL_DFSDM_FilterGetRegularValue() 2215 *Channel = (reg & DFSDM_FLTRDATAR_RDATACH); in HAL_DFSDM_FilterGetRegularValue() 2218 reg &= DFSDM_FLTRDATAR_RDATA; in HAL_DFSDM_FilterGetRegularValue() 2219 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetRegularValue() 2621 uint32_t reg; in HAL_DFSDM_FilterGetInjectedValue() local 2629 reg = hdfsdm_filter->Instance->FLTJDATAR; in HAL_DFSDM_FilterGetInjectedValue() 2632 *Channel = (reg & DFSDM_FLTJDATAR_JDATACH); in HAL_DFSDM_FilterGetInjectedValue() 2635 reg &= DFSDM_FLTJDATAR_JDATA; in HAL_DFSDM_FilterGetInjectedValue() 2636 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetInjectedValue() [all …]
|
D | stm32mp1xx_hal_cec.c | 778 uint32_t reg; in HAL_CEC_IRQHandler() local 779 reg = hcec->Instance->ISR; in HAL_CEC_IRQHandler() 784 if ((reg & CEC_FLAG_ARBLST) != 0U) in HAL_CEC_IRQHandler() 792 if ((reg & CEC_FLAG_RXBR) != 0U) in HAL_CEC_IRQHandler() 804 if ((reg & CEC_FLAG_RXEND) != 0U) in HAL_CEC_IRQHandler() 823 if ((reg & CEC_FLAG_TXBR) != 0U) in HAL_CEC_IRQHandler() 843 if ((reg & CEC_FLAG_TXEND) != 0U) in HAL_CEC_IRQHandler() 861 …if ((reg & (CEC_ISR_RXOVR | CEC_ISR_BRE | CEC_ISR_SBPE | CEC_ISR_LBPE | CEC_ISR_RXACKE | CEC_ISR_T… in HAL_CEC_IRQHandler() 864 hcec->ErrorCode = reg; in HAL_CEC_IRQHandler() 869 if ((reg & (CEC_ISR_RXOVR | CEC_ISR_BRE | CEC_ISR_SBPE | CEC_ISR_LBPE | CEC_ISR_RXACKE)) != 0U) in HAL_CEC_IRQHandler() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_dfsdm.c | 2399 uint32_t reg; in HAL_DFSDM_FilterGetRegularValue() local 2407 reg = hdfsdm_filter->Instance->FLTRDATAR; in HAL_DFSDM_FilterGetRegularValue() 2410 *Channel = (reg & DFSDM_FLTRDATAR_RDATACH); in HAL_DFSDM_FilterGetRegularValue() 2413 reg &= DFSDM_FLTRDATAR_RDATA; in HAL_DFSDM_FilterGetRegularValue() 2414 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetRegularValue() 2816 uint32_t reg; in HAL_DFSDM_FilterGetInjectedValue() local 2824 reg = hdfsdm_filter->Instance->FLTJDATAR; in HAL_DFSDM_FilterGetInjectedValue() 2827 *Channel = (reg & DFSDM_FLTJDATAR_JDATACH); in HAL_DFSDM_FilterGetInjectedValue() 2830 reg &= DFSDM_FLTJDATAR_JDATA; in HAL_DFSDM_FilterGetInjectedValue() 2831 value = ((int32_t)reg) / 256; in HAL_DFSDM_FilterGetInjectedValue() [all …]
|
D | stm32h7xx_hal_ospi.c | 3041 uint32_t reg; in OSPIM_GetConfig() local 3075 reg = OCTOSPIM->PCR[index]; in OSPIM_GetConfig() 3077 if ((reg & OCTOSPIM_PCR_CLKEN) != 0U) in OSPIM_GetConfig() 3080 if ((reg & OCTOSPIM_PCR_CLKSRC) == (value & OCTOSPIM_PCR_CLKSRC)) in OSPIM_GetConfig() 3087 if ((reg & OCTOSPIM_PCR_DQSEN) != 0U) in OSPIM_GetConfig() 3090 if ((reg & OCTOSPIM_PCR_DQSSRC) == (value & OCTOSPIM_PCR_DQSSRC)) in OSPIM_GetConfig() 3097 if ((reg & OCTOSPIM_PCR_NCSEN) != 0U) in OSPIM_GetConfig() 3100 if ((reg & OCTOSPIM_PCR_NCSSRC) == (value & OCTOSPIM_PCR_NCSSRC)) in OSPIM_GetConfig() 3107 if ((reg & OCTOSPIM_PCR_IOLEN) != 0U) in OSPIM_GetConfig() 3110 if ((reg & OCTOSPIM_PCR_IOLSRC_1) == (value & OCTOSPIM_PCR_IOLSRC_1)) in OSPIM_GetConfig() [all …]
|
D | stm32h7xx_hal_dma2d.c | 1252 …const __IO uint32_t *reg = &(hdma2d->Instance->BGPFCCR); /* by default, point at background regi… in HAL_DMA2D_CLUTLoading_Abort() local 1260 reg = &(hdma2d->Instance->FGPFCCR); in HAL_DMA2D_CLUTLoading_Abort() 1268 while ((*reg & DMA2D_BGPFCCR_START) != 0U) in HAL_DMA2D_CLUTLoading_Abort() 1310 …const __IO uint32_t *reg = &(hdma2d->Instance->BGPFCCR); /* by default, point at background regi… in HAL_DMA2D_CLUTLoading_Suspend() local 1318 reg = &(hdma2d->Instance->FGPFCCR); in HAL_DMA2D_CLUTLoading_Suspend() 1328 loadsuspended |= ((*reg & DMA2D_BGPFCCR_START) != DMA2D_BGPFCCR_START) ? 1UL : 0UL; in HAL_DMA2D_CLUTLoading_Suspend() 1344 loadsuspended |= ((*reg & DMA2D_BGPFCCR_START) != DMA2D_BGPFCCR_START) ? 1UL : 0UL; in HAL_DMA2D_CLUTLoading_Suspend() 1348 if ((*reg & DMA2D_BGPFCCR_START) != 0U) in HAL_DMA2D_CLUTLoading_Suspend()
|
/hal_stm32-3.5.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_dfsdm.c | 2643 uint32_t reg = 0U; in HAL_DFSDM_FilterGetRegularValue() local 2651 reg = hdfsdm_filter->Instance->FLTRDATAR; in HAL_DFSDM_FilterGetRegularValue() 2654 *Channel = (reg & DFSDM_FLTRDATAR_RDATACH); in HAL_DFSDM_FilterGetRegularValue() 2655 value = ((int32_t)(reg & DFSDM_FLTRDATAR_RDATA) >> DFSDM_FLTRDATAR_RDATA_Pos); in HAL_DFSDM_FilterGetRegularValue() 3057 uint32_t reg = 0U; in HAL_DFSDM_FilterGetInjectedValue() local 3065 reg = hdfsdm_filter->Instance->FLTJDATAR; in HAL_DFSDM_FilterGetInjectedValue() 3068 *Channel = (reg & DFSDM_FLTJDATAR_JDATACH); in HAL_DFSDM_FilterGetInjectedValue() 3069 value = ((int32_t)(reg & DFSDM_FLTJDATAR_JDATA) >> DFSDM_FLTJDATAR_JDATA_Pos); in HAL_DFSDM_FilterGetInjectedValue() 3242 uint32_t reg = 0U; in HAL_DFSDM_FilterGetExdMaxValue() local 3250 reg = hdfsdm_filter->Instance->FLTEXMAX; in HAL_DFSDM_FilterGetExdMaxValue() [all …]
|
D | stm32f4xx_hal_cec.c | 778 uint32_t reg; in HAL_CEC_IRQHandler() local 779 reg = hcec->Instance->ISR; in HAL_CEC_IRQHandler() 784 if ((reg & CEC_FLAG_ARBLST) != 0U) in HAL_CEC_IRQHandler() 792 if ((reg & CEC_FLAG_RXBR) != 0U) in HAL_CEC_IRQHandler() 804 if ((reg & CEC_FLAG_RXEND) != 0U) in HAL_CEC_IRQHandler() 823 if ((reg & CEC_FLAG_TXBR) != 0U) in HAL_CEC_IRQHandler() 839 if ((reg & CEC_FLAG_TXEND) != 0U) in HAL_CEC_IRQHandler() 857 …if ((reg & (CEC_ISR_RXOVR | CEC_ISR_BRE | CEC_ISR_SBPE | CEC_ISR_LBPE | CEC_ISR_RXACKE | CEC_ISR_T… in HAL_CEC_IRQHandler() 860 hcec->ErrorCode = reg; in HAL_CEC_IRQHandler() 865 if ((reg & (CEC_ISR_RXOVR | CEC_ISR_BRE | CEC_ISR_SBPE | CEC_ISR_LBPE | CEC_ISR_RXACKE)) != 0U) in HAL_CEC_IRQHandler() [all …]
|
D | stm32f4xx_hal_dma2d.c | 1210 …const __IO uint32_t *reg = &(hdma2d->Instance->BGPFCCR); /* by default, point at background regi… in HAL_DMA2D_CLUTLoading_Abort() local 1218 reg = &(hdma2d->Instance->FGPFCCR); in HAL_DMA2D_CLUTLoading_Abort() 1226 while ((*reg & DMA2D_BGPFCCR_START) != 0U) in HAL_DMA2D_CLUTLoading_Abort() 1268 …const __IO uint32_t *reg = &(hdma2d->Instance->BGPFCCR); /* by default, point at background regi… in HAL_DMA2D_CLUTLoading_Suspend() local 1276 reg = &(hdma2d->Instance->FGPFCCR); in HAL_DMA2D_CLUTLoading_Suspend() 1286 loadsuspended |= ((*reg & DMA2D_BGPFCCR_START) != DMA2D_BGPFCCR_START) ? 1UL : 0UL; in HAL_DMA2D_CLUTLoading_Suspend() 1302 loadsuspended |= ((*reg & DMA2D_BGPFCCR_START) != DMA2D_BGPFCCR_START) ? 1UL : 0UL; in HAL_DMA2D_CLUTLoading_Suspend() 1306 if ((*reg & DMA2D_BGPFCCR_START) != 0U) in HAL_DMA2D_CLUTLoading_Suspend()
|
/hal_stm32-3.5.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_dfsdm.c | 2206 uint32_t reg = 0; in HAL_DFSDM_FilterGetRegularValue() local 2214 reg = hdfsdm_filter->Instance->FLTRDATAR; in HAL_DFSDM_FilterGetRegularValue() 2217 *Channel = (reg & DFSDM_FLTRDATAR_RDATACH); in HAL_DFSDM_FilterGetRegularValue() 2218 value = ((int32_t)(reg & DFSDM_FLTRDATAR_RDATA) >> DFSDM_FLTRDATAR_RDATA_Pos); in HAL_DFSDM_FilterGetRegularValue() 2620 uint32_t reg = 0; in HAL_DFSDM_FilterGetInjectedValue() local 2628 reg = hdfsdm_filter->Instance->FLTJDATAR; in HAL_DFSDM_FilterGetInjectedValue() 2631 *Channel = (reg & DFSDM_FLTJDATAR_JDATACH); in HAL_DFSDM_FilterGetInjectedValue() 2632 value = ((int32_t)(reg & DFSDM_FLTJDATAR_JDATA) >> DFSDM_FLTJDATAR_JDATA_Pos); in HAL_DFSDM_FilterGetInjectedValue() 2805 uint32_t reg = 0; in HAL_DFSDM_FilterGetExdMaxValue() local 2813 reg = hdfsdm_filter->Instance->FLTEXMAX; in HAL_DFSDM_FilterGetExdMaxValue() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32l1xx/drivers/include/ |
D | stm32l1xx_ll_system.h | 1379 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)((uint32_t)(&RI->HYSCR1) + (Port >> 1U)); in LL_RI_EnableHysteresis() local 1380 CLEAR_BIT(*reg, Pin << (16U * (Port & 1U))); in LL_RI_EnableHysteresis() 1445 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)((uint32_t)(&RI->HYSCR1) + ((Port >> 1U) << 2U)); in LL_RI_DisableHysteresis() local 1446 SET_BIT(*reg, Pin << (16U * (Port & 1U))); in LL_RI_DisableHysteresis() 1507 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)((uint32_t)(&RI->ASMR1) + ((Port * 3U) << 2)); in LL_RI_ControlSwitchByADC() local 1508 CLEAR_BIT(*reg, Pin); in LL_RI_ControlSwitchByADC() 1570 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)((uint32_t)(&RI->ASMR1) + ((Port * 3U) << 2)); in LL_RI_ControlSwitchByTIM() local 1571 SET_BIT(*reg, Pin); in LL_RI_ControlSwitchByTIM() 1633 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)((uint32_t)(&RI->CMR1) + ((Port * 3U) << 2)); in LL_RI_MaskChannelDuringAcquisition() local 1634 CLEAR_BIT(*reg, Pin); in LL_RI_MaskChannelDuringAcquisition() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_flash_ex.c | 474 __IO uint32_t *reg; in HAL_FLASHEx_ConfigBBAttributes() local 491 reg = &(FLASH->SECBB1R1); in HAL_FLASHEx_ConfigBBAttributes() 495 reg = &(FLASH->SECBB2R1); in HAL_FLASHEx_ConfigBBAttributes() 503 reg = &(FLASH->PRIVBB1R1); in HAL_FLASHEx_ConfigBBAttributes() 507 reg = &(FLASH->PRIVBB2R1); in HAL_FLASHEx_ConfigBBAttributes() 514 *reg = pBBAttributes->BBAttributes_array[index]; in HAL_FLASHEx_ConfigBBAttributes() 515 if ((*reg) != pBBAttributes->BBAttributes_array[index]) in HAL_FLASHEx_ConfigBBAttributes() 519 reg++; in HAL_FLASHEx_ConfigBBAttributes() 547 __IO uint32_t *reg; in HAL_FLASHEx_GetConfigBBAttributes() local 558 reg = &(FLASH->SECBB1R1); in HAL_FLASHEx_GetConfigBBAttributes() [all …]
|
D | stm32u5xx_hal_xspi.c | 3324 __IO uint32_t reg = 0; in HAL_XSPI_GetDelayValue() local 3334 reg = hxspi->Instance->CALFCR; in HAL_XSPI_GetDelayValue() 3335 pCfg->MaxCalibration = (reg & HSPI_CALFCR_CALMAX); in HAL_XSPI_GetDelayValue() 3338 reg = hxspi->Instance->CALMR; in HAL_XSPI_GetDelayValue() 3341 reg = hxspi->Instance->CALSOR; in HAL_XSPI_GetDelayValue() 3344 reg = hxspi->Instance->CALSIR; in HAL_XSPI_GetDelayValue() 3354 pCfg->FineCalibrationUnit = (reg & HSPI_CALFCR_FINE); in HAL_XSPI_GetDelayValue() 3355 pCfg->CoarseCalibrationUnit = ((reg & HSPI_CALFCR_COARSE) >> HSPI_CALFCR_COARSE_Pos); in HAL_XSPI_GetDelayValue() 3796 uint32_t reg; in XSPIM_GetConfig() local 3823 reg = OCTOSPIM->PCR[index]; in XSPIM_GetConfig() [all …]
|
D | stm32u5xx_hal_ospi.c | 3224 uint32_t reg; in OSPIM_GetConfig() local 3258 reg = OCTOSPIM->PCR[index]; in OSPIM_GetConfig() 3260 if ((reg & OCTOSPIM_PCR_CLKEN) != 0U) in OSPIM_GetConfig() 3263 if ((reg & OCTOSPIM_PCR_CLKSRC) == (value & OCTOSPIM_PCR_CLKSRC)) in OSPIM_GetConfig() 3270 if ((reg & OCTOSPIM_PCR_DQSEN) != 0U) in OSPIM_GetConfig() 3273 if ((reg & OCTOSPIM_PCR_DQSSRC) == (value & OCTOSPIM_PCR_DQSSRC)) in OSPIM_GetConfig() 3280 if ((reg & OCTOSPIM_PCR_NCSEN) != 0U) in OSPIM_GetConfig() 3283 if ((reg & OCTOSPIM_PCR_NCSSRC) == (value & OCTOSPIM_PCR_NCSSRC)) in OSPIM_GetConfig() 3290 if ((reg & OCTOSPIM_PCR_IOLEN) != 0U) in OSPIM_GetConfig() 3293 if ((reg & OCTOSPIM_PCR_IOLSRC_1) == (value & OCTOSPIM_PCR_IOLSRC_1)) in OSPIM_GetConfig() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_flash_ex.c | 654 __IO uint32_t *reg; in HAL_FLASHEx_ConfigBBAttributes() local 671 reg = &(FLASH->SECBB1R1); in HAL_FLASHEx_ConfigBBAttributes() 675 reg = &(FLASH->SECBB2R1); in HAL_FLASHEx_ConfigBBAttributes() 683 reg = &(FLASH->PRIVBB1R1); in HAL_FLASHEx_ConfigBBAttributes() 687 reg = &(FLASH->PRIVBB2R1); in HAL_FLASHEx_ConfigBBAttributes() 694 *reg = pBBAttributes->BBAttributes_array[index] & FLASH_PRIVBBR_PRIVBB; in HAL_FLASHEx_ConfigBBAttributes() 695 if ((*reg) != (pBBAttributes->BBAttributes_array[index] & FLASH_PRIVBBR_PRIVBB)) in HAL_FLASHEx_ConfigBBAttributes() 699 reg++; in HAL_FLASHEx_ConfigBBAttributes() 727 __IO uint32_t *reg; in HAL_FLASHEx_GetConfigBBAttributes() local 739 reg = &(FLASH->SECBB1R1); in HAL_FLASHEx_GetConfigBBAttributes() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_flash_ex.c | 487 __IO uint32_t *reg; in HAL_FLASHEx_ConfigBBAttributes() local 501 reg = &(FLASH->SECBBR1); in HAL_FLASHEx_ConfigBBAttributes() 506 reg = &(FLASH->PRIVBBR1); in HAL_FLASHEx_ConfigBBAttributes() 512 *reg = pBBAttributes->BBAttributes_array[index]; in HAL_FLASHEx_ConfigBBAttributes() 513 if ((*reg) != pBBAttributes->BBAttributes_array[index]) in HAL_FLASHEx_ConfigBBAttributes() 517 reg++; in HAL_FLASHEx_ConfigBBAttributes() 543 __IO uint32_t *reg; in HAL_FLASHEx_GetConfigBBAttributes() local 551 reg = &(FLASH->SECBBR1); in HAL_FLASHEx_GetConfigBBAttributes() 555 reg = &(FLASH->PRIVBBR1); in HAL_FLASHEx_GetConfigBBAttributes() 561 pBBAttributes->BBAttributes_array[index] = (*reg); in HAL_FLASHEx_GetConfigBBAttributes() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32wbaxx/drivers/include/ |
D | stm32wbaxx_ll_rcc.h | 1851 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (I2CxSource >> 24U)); in LL_RCC_SetI2CClockSource() local 1852 …MODIFY_REG(*reg, 3U << (((I2CxSource & 0x00FF0000U) >> 16U) & 0x1FU), ((I2CxSource & 0x000000FFU) … in LL_RCC_SetI2CClockSource() 1870 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (SPIxSource >> 24U)); in LL_RCC_SetSPIClockSource() local 1871 …MODIFY_REG(*reg, 3U << (((SPIxSource & 0x00FF0000U) >> 16U) & 0x1FU), ((SPIxSource & 0x000000FFU) … in LL_RCC_SetSPIClockSource() 1891 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (LPTIMxSource >> 24U)); in LL_RCC_SetLPTIMClockSource() local 1892 …MODIFY_REG(*reg, 3U << (((LPTIMxSource & 0x00FF0000U) >> 16U) & 0x1FU), ((LPTIMxSource & 0x000000F… in LL_RCC_SetLPTIMClockSource() 2001 __IO const uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (I2Cx >> 24U)); in LL_RCC_GetI2CClockSource() local 2002 …return (uint32_t)((READ_BIT(*reg, (3UL << (((I2Cx & 0x00FF0000UL) >> 16U) & 0x1FUL))) >> (((I2Cx &… in LL_RCC_GetI2CClockSource() 2022 __IO const uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (SPIx >> 24U)); in LL_RCC_GetSPIClockSource() local 2023 …return (uint32_t)((READ_BIT(*reg, (3UL << (((SPIx & 0x00FF0000UL) >> 16U) & 0x1FUL))) >> (((SPIx &… in LL_RCC_GetSPIClockSource() [all …]
|
/hal_stm32-3.5.0/stm32cube/stm32u5xx/drivers/include/ |
D | stm32u5xx_ll_rcc.h | 2886 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (USARTxSource >> 24U)); in LL_RCC_SetUSARTClockSource() local 2887 MODIFY_REG(*reg, 3UL << ((USARTxSource & 0x001F0000U) >> 16U), ((USARTxSource & 0x000000FFU) << \ in LL_RCC_SetUSARTClockSource() 2954 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (I2CxSource >> 24U)); in LL_RCC_SetI2CClockSource() local 2955 …MODIFY_REG(*reg, 3U << (((I2CxSource & 0x00FF0000U) >> 16U) & 0x1FU), ((I2CxSource & 0x000000FFU) … in LL_RCC_SetI2CClockSource() 2983 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (SPIxSource >> 24U)); in LL_RCC_SetSPIClockSource() local 2984 …MODIFY_REG(*reg, 3U << (((SPIxSource & 0x00FF0000U) >> 16U) & 0x1FU), ((SPIxSource & 0x000000FFU) … in LL_RCC_SetSPIClockSource() 3011 __IO uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (LPTIMxSource >> 24U)); in LL_RCC_SetLPTIMClockSource() local 3012 …MODIFY_REG(*reg, 3U << (((LPTIMxSource & 0x00FF0000U) >> 16U) & 0x1FU), ((LPTIMxSource & 0x000000F… in LL_RCC_SetLPTIMClockSource() 3301 __IO const uint32_t *reg = (__IO uint32_t *)(uint32_t)(RCC_BASE + 0xE0U + (USARTx >> 24U)); in LL_RCC_GetUSARTClockSource() local 3302 return (uint32_t)((READ_BIT(*reg, 3UL << ((USARTx & 0x001F0000U) >> 16U)) >> \ in LL_RCC_GetUSARTClockSource() [all …]
|