Home
last modified time | relevance | path

Searched refs:OPAMP (Results 1 – 25 of 94) sorted by relevance

1234

/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_hal_opamp_ex.c159 tmp_OpaxSwitchesContextBackup = READ_BIT(OPAMP->CSR, OPAMP_CSR_ALL_SWITCHES_ALL_OPAMPS); in HAL_OPAMPEx_SelfCalibrateAll()
163 CLEAR_BIT(OPAMP->CSR, OPAMP_CSR_ALL_SWITCHES_ALL_OPAMPS); in HAL_OPAMPEx_SelfCalibrateAll()
166 SET_BIT(OPAMP->OTR, OPAMP_OTR_OT_USER); in HAL_OPAMPEx_SelfCalibrateAll()
172 tmp_opamp1_reg_trimming = &OPAMP->OTR; in HAL_OPAMPEx_SelfCalibrateAll()
177 tmp_opamp1_reg_trimming = &OPAMP->LPOTR; in HAL_OPAMPEx_SelfCalibrateAll()
183 tmp_opamp2_reg_trimming = &OPAMP->OTR; in HAL_OPAMPEx_SelfCalibrateAll()
188 tmp_opamp2_reg_trimming = &OPAMP->LPOTR; in HAL_OPAMPEx_SelfCalibrateAll()
194 tmp_opamp3_reg_trimming = &OPAMP->OTR; in HAL_OPAMPEx_SelfCalibrateAll()
199 tmp_opamp3_reg_trimming = &OPAMP->LPOTR; in HAL_OPAMPEx_SelfCalibrateAll()
203 CLEAR_BIT (OPAMP->CSR, OPAMP_CSR_OPAXPD_ALL); in HAL_OPAMPEx_SelfCalibrateAll()
[all …]
Dstm32l1xx_hal_opamp.c332 tmp_csr = OPAMP->CSR; in HAL_OPAMP_Init()
438 …MODIFY_REG(OPAMP->OTR, OPAMP_OTR_OT_USER … in HAL_OPAMP_Init()
448 CLEAR_BIT(OPAMP->OTR, OPAMP_OTR_OT_USER); in HAL_OPAMP_Init()
460 SET_BIT(OPAMP->OTR, OPAMP_OTR_OT_USER); in HAL_OPAMP_Init()
464 …MODIFY_REG(OPAMP->LPOTR, OPAMP_OFFSET_TRIM_SET(hopamp, OPAMP_FACTORYTRIMMING_N, OPAMP_TRIM_VALUE_M… in HAL_OPAMP_Init()
472 CLEAR_BIT(OPAMP->OTR, OPAMP_OTR_OT_USER); in HAL_OPAMP_Init()
488 OPAMP->CSR = tmp_csr; in HAL_OPAMP_Init()
531 SET_BIT (OPAMP->CSR, OPAMP_CSR_OPAXPD(hopamp)); in HAL_OPAMP_DeInit()
540 CLEAR_BIT(OPAMP->CSR, OPAMP_CSR_ALL_SWITCHES(hopamp)); in HAL_OPAMP_DeInit()
648 CLEAR_BIT (OPAMP->CSR, OPAMP_CSR_OPAXPD(hopamp)); in HAL_OPAMP_Start()
[all …]
Dstm32l1xx_ll_opamp.c141 MODIFY_REG(OPAMP->CSR, in LL_OPAMP_DeInit()
190 MODIFY_REG(OPAMP->CSR, in LL_OPAMP_Init()
217 MODIFY_REG(OPAMP->CSR, in LL_OPAMP_Init()
/hal_stm32-2.7.6/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_opamp.h391 MODIFY_REG(OPAMP->CSR, OPAMP_CSR_AOP_RANGE, PowerRange); in LL_OPAMP_SetCommonPowerRange()
410 return (uint32_t)(READ_BIT(OPAMP->CSR, OPAMP_CSR_AOP_RANGE)); in LL_OPAMP_GetCommonPowerRange()
435 MODIFY_REG(OPAMP->CSR, in LL_OPAMP_SetPowerMode()
452 …uint32_t power_mode = (READ_BIT(OPAMP->CSR, OPAMP_CSR_OPA1LPM << __OPAMP_INSTANCE_BITOFFSET(OPAMPx… in LL_OPAMP_GetPowerMode()
487 CLEAR_BIT(OPAMP->CSR, in LL_OPAMP_SetMode()
511 return (uint32_t)(((READ_BIT(OPAMP->CSR, in LL_OPAMP_GetMode()
533 MODIFY_REG(OPAMP->CSR, in LL_OPAMP_SetFunctionalMode()
549 return (uint32_t)(READ_BIT(OPAMP->CSR, OPAMP_CSR_S3SEL1 << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)) in LL_OPAMP_GetFunctionalMode()
579 MODIFY_REG(OPAMP->CSR, in LL_OPAMP_SetInputNonInverting()
601 uint32_t input_non_inverting_opamp_x = READ_BIT(OPAMP->CSR, in LL_OPAMP_GetInputNonInverting()
[all …]
Dstm32l1xx_ll_bus.h140 #if defined(OPAMP)
/hal_stm32-2.7.6/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_hal_opamp.c944 tmp_opamp_reg_trimming = &OPAMP->OTR; in HAL_OPAMP_GetTrimOffset()
948 tmp_opamp_reg_trimming = &OPAMP->LPOTR; in HAL_OPAMP_GetTrimOffset()
/hal_stm32-2.7.6/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_hal_opamp.c952 tmp_opamp_reg_trimming = &OPAMP->OTR; in HAL_OPAMP_GetTrimOffset()
956 tmp_opamp_reg_trimming = &OPAMP->LPOTR; in HAL_OPAMP_GetTrimOffset()
/hal_stm32-2.7.6/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_hal_opamp.c955 tmp_opamp_reg_trimming = &OPAMP->OTR; in HAL_OPAMP_GetTrimOffset()
959 tmp_opamp_reg_trimming = &OPAMP->LPOTR; in HAL_OPAMP_GetTrimOffset()
/hal_stm32-2.7.6/stm32cube/stm32f3xx/soc/
Dstm32f318xx.h685 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32f301x8.h684 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
/hal_stm32-2.7.6/stm32cube/stm32l1xx/soc/
Dstm32l162xdx.h798 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l152xdx.h776 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l152xe.h776 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l162xe.h798 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l162xc.h779 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l162xca.h781 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l151xc.h740 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l151xca.h742 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l151xe.h759 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l152xc.h757 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l152xca.h759 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l151xdx.h759 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l152xd.h829 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l151xd.h812 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro
Dstm32l162xd.h851 #define OPAMP ((OPAMP_TypeDef *) OPAMP_BASE) macro

1234