/hal_stm32-3.4.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_opamp.c | 248 …uint32_t tmp_csr; /* Temporary variable to update register CSR, except bits ANAWSSELx, S7SEL… in HAL_OPAMP_Init() local 332 tmp_csr = OPAMP->CSR; in HAL_OPAMP_Init() 336 CLEAR_BIT(tmp_csr, OPAMP_CSR_ALL_SWITCHES(hopamp)); in HAL_OPAMP_Init() 347 SET_BIT(tmp_csr, OPAMP_CSR_S3SELX(hopamp)); in HAL_OPAMP_Init() 359 SET_BIT(tmp_csr, OPAMP_CSR_S4SELX(hopamp)); in HAL_OPAMP_Init() 365 SET_BIT(tmp_csr, OPAMP_CSR_ANAWSELX(hopamp)); in HAL_OPAMP_Init() 376 SET_BIT(tmp_csr, OPAMP_CSR_S5SELX(hopamp)); in HAL_OPAMP_Init() 388 SET_BIT(tmp_csr, OPAMP_CSR_S6SELX(hopamp)); in HAL_OPAMP_Init() 407 SET_BIT(tmp_csr, OPAMP_CSR_S7SEL2); in HAL_OPAMP_Init() 414 SET_BIT(tmp_csr, OPAMP_CSR_S6SELX(hopamp)); in HAL_OPAMP_Init() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_comp.c | 271 uint32_t tmp_csr = 0U; in HAL_COMP_Init() local 327 tmp_csr = (hcomp->Init.InvertingInput | in HAL_COMP_Init() 335 tmp_csr |= (hcomp->Init.NonInvertingInput | in HAL_COMP_Init() 379 tmp_csr |= (COMP_CSR_COMP1LPTIM1IN1); in HAL_COMP_Init() 389 tmp_csr |= (COMP_CSR_COMP2LPTIM1IN1); in HAL_COMP_Init() 411 tmp_csr |= (COMP_CSR_COMP2LPTIM1IN2); in HAL_COMP_Init() 424 tmp_csr in HAL_COMP_Init() 433 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_dma.c | 718 uint32_t tmp_csr; in HAL_DMA_PollForTransfer() local 754 tmp_csr = hdma->Instance->CSR; in HAL_DMA_PollForTransfer() 756 while ((tmp_csr & level_flag) == 0U) in HAL_DMA_PollForTransfer() 780 tmp_csr = hdma->Instance->CSR; in HAL_DMA_PollForTransfer() 784 if ((tmp_csr & DMA_FLAG_TO) != 0U) in HAL_DMA_PollForTransfer() 794 if ((tmp_csr & (DMA_FLAG_DTE | DMA_FLAG_ULE | DMA_FLAG_USE)) != 0U) in HAL_DMA_PollForTransfer() 797 if ((tmp_csr & DMA_FLAG_DTE) != 0U) in HAL_DMA_PollForTransfer() 807 if ((tmp_csr & DMA_FLAG_ULE) != 0U) in HAL_DMA_PollForTransfer() 817 if ((tmp_csr & DMA_FLAG_USE) != 0U) in HAL_DMA_PollForTransfer()
|
D | stm32u5xx_hal_comp.c | 235 uint32_t tmp_csr; in HAL_COMP_Init() local 306 tmp_csr = (hcomp->Init.InputMinus in HAL_COMP_Init() 320 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_dma.c | 718 uint32_t tmp_csr; in HAL_DMA_PollForTransfer() local 754 tmp_csr = hdma->Instance->CSR; in HAL_DMA_PollForTransfer() 756 while ((tmp_csr & level_flag) == 0U) in HAL_DMA_PollForTransfer() 780 tmp_csr = hdma->Instance->CSR; in HAL_DMA_PollForTransfer() 784 if ((tmp_csr & DMA_FLAG_TO) != 0U) in HAL_DMA_PollForTransfer() 794 if ((tmp_csr & (DMA_FLAG_DTE | DMA_FLAG_ULE | DMA_FLAG_USE)) != 0U) in HAL_DMA_PollForTransfer() 797 if ((tmp_csr & DMA_FLAG_DTE) != 0U) in HAL_DMA_PollForTransfer() 807 if ((tmp_csr & DMA_FLAG_ULE) != 0U) in HAL_DMA_PollForTransfer() 817 if ((tmp_csr & DMA_FLAG_USE) != 0U) in HAL_DMA_PollForTransfer()
|
D | stm32h5xx_hal_comp.c | 234 uint32_t tmp_csr; in HAL_COMP_Init() local 292 tmp_csr = (hcomp->Init.InputMinus in HAL_COMP_Init() 305 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_comp.c | 264 uint32_t tmp_csr; in HAL_COMP_Init() local 334 tmp_csr = ( hcomp->Init.NonInvertingInput in HAL_COMP_Init() 350 tmp_csr in HAL_COMP_Init() 357 tmp_csr in HAL_COMP_Init() 365 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_comp.c | 235 uint32_t tmp_csr; in HAL_COMP_Init() local 301 tmp_csr = ( hcomp->Init.InputMinus in HAL_COMP_Init() 316 tmp_csr in HAL_COMP_Init() 323 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_comp.c | 264 uint32_t tmp_csr ; in HAL_COMP_Init() local 328 tmp_csr = (hcomp->Init.InvertingInput | \ in HAL_COMP_Init() 342 tmp_csr in HAL_COMP_Init() 349 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_comp.c | 232 uint32_t tmp_csr; in HAL_COMP_Init() local 296 tmp_csr = ( hcomp->Init.InputMinus in HAL_COMP_Init() 310 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_comp.c | 232 uint32_t tmp_csr; in HAL_COMP_Init() local 296 tmp_csr = ( hcomp->Init.InputMinus in HAL_COMP_Init() 310 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_comp.c | 227 uint32_t tmp_csr; in HAL_COMP_Init() local 289 tmp_csr = ( hcomp->Init.InputMinus in HAL_COMP_Init() 302 tmp_csr in HAL_COMP_Init()
|
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_comp.c | 232 uint32_t tmp_csr; in HAL_COMP_Init() local 304 tmp_csr = ( hcomp->Init.InputMinus in HAL_COMP_Init() 318 tmp_csr in HAL_COMP_Init()
|