Home
last modified time | relevance | path

Searched refs:OPAMPx (Results 1 – 18 of 18) sorted by relevance

/hal_stm32-latest/stm32cube/stm32g4xx/drivers/include/
Dstm32g4xx_ll_opamp.h411 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
413 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
430 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
432 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
453 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
456 …MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_4 | OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_VMSEL | OPAMP_CSR_CALO… in LL_OPAMP_SetFunctionalMode()
472 __STATIC_INLINE uint32_t LL_OPAMP_GetFunctionalMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetFunctionalMode() argument
474 …return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_PGGAIN_4 | OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_VMSEL)… in LL_OPAMP_GetFunctionalMode()
492 __STATIC_INLINE void LL_OPAMP_SetPGAGain(OPAMP_TypeDef *OPAMPx, uint32_t PGAGain) in LL_OPAMP_SetPGAGain() argument
494 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_PGGAIN_1 | OPAMP_CSR_PGGAIN_0, PGAGain); in LL_OPAMP_SetPGAGain()
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/include/
Dstm32f3xx_ll_opamp.h325 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
327 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
344 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
346 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
366 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
369 …MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_VMSEL | OPAMP_CSR_CALO… in LL_OPAMP_SetFunctionalMode()
384 __STATIC_INLINE uint32_t LL_OPAMP_GetFunctionalMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetFunctionalMode() argument
386 …return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_VMSEL)… in LL_OPAMP_GetFunctionalMode()
402 __STATIC_INLINE void LL_OPAMP_SetPGAGain(OPAMP_TypeDef *OPAMPx, uint32_t PGAGain) in LL_OPAMP_SetPGAGain() argument
404 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_1 | OPAMP_CSR_PGGAIN_0, PGAGain); in LL_OPAMP_SetPGAGain()
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_opamp.h432 __STATIC_INLINE void LL_OPAMP_SetPowerMode(OPAMP_TypeDef *OPAMPx, uint32_t PowerMode) in LL_OPAMP_SetPowerMode() argument
435 OPAMP_CSR_OPA1LPM << __OPAMP_INSTANCE_BITOFFSET(OPAMPx), in LL_OPAMP_SetPowerMode()
436 (PowerMode & OPAMP_POWERMODE_CSR_BIT_MASK) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)); in LL_OPAMP_SetPowerMode()
449 __STATIC_INLINE uint32_t LL_OPAMP_GetPowerMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetPowerMode() argument
451 …t32_t power_mode = (READ_BIT(OPAMP->CSR, OPAMP_CSR_OPA1LPM << __OPAMP_INSTANCE_BITOFFSET(OPAMPx))); in LL_OPAMP_GetPowerMode()
454 power_mode >>= __OPAMP_INSTANCE_BITOFFSET(OPAMPx); in LL_OPAMP_GetPowerMode()
484 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
487 …R_S7SEL2) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)) | ((Mode & OPAMP_CSR_S7SEL2) * __OPAMP_IS_INSTANC… in LL_OPAMP_SetMode()
508 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
511 …P_CSR_S7SEL2) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)) | (OPAMP_CSR_S7SEL2 * __OPAMP_IS_INSTANCE_OPA… in LL_OPAMP_GetMode()
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/include/
Dstm32u0xx_ll_opamp.h387 __STATIC_INLINE void LL_OPAMP_SetPowerMode(OPAMP_TypeDef *OPAMPx, uint32_t PowerMode) in LL_OPAMP_SetPowerMode() argument
389 MODIFY_REG(OPAMPx->CSR, OPAMP_POWERMODE_CSR_BIT_MASK, PowerMode); in LL_OPAMP_SetPowerMode()
400 __STATIC_INLINE uint32_t LL_OPAMP_GetPowerMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetPowerMode() argument
402 uint32_t power_mode = (READ_BIT(OPAMPx->CSR, OPAMP_POWERMODE_CSR_BIT_MASK)); in LL_OPAMP_GetPowerMode()
427 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
429 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
446 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
448 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
466 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
469 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_OPAMODE | OPAMP_CSR_CALON, FunctionalMode); in LL_OPAMP_SetFunctionalMode()
[all …]
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/include/
Dstm32u5xx_ll_opamp.h408 __STATIC_INLINE void LL_OPAMP_SetPowerMode(OPAMP_TypeDef *OPAMPx, uint32_t PowerMode) in LL_OPAMP_SetPowerMode() argument
410 MODIFY_REG(OPAMPx->CSR, OPAMP_POWERMODE_CSR_BIT_MASK, PowerMode); in LL_OPAMP_SetPowerMode()
423 __STATIC_INLINE uint32_t LL_OPAMP_GetPowerMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetPowerMode() argument
425 uint32_t power_mode = (READ_BIT(OPAMPx->CSR, OPAMP_POWERMODE_CSR_BIT_MASK)); in LL_OPAMP_GetPowerMode()
450 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
452 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
469 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
471 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
489 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
492 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_OPAMODE | OPAMP_CSR_CALON, FunctionalMode); in LL_OPAMP_SetFunctionalMode()
[all …]
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/include/
Dstm32l4xx_ll_opamp.h423 __STATIC_INLINE void LL_OPAMP_SetPowerMode(OPAMP_TypeDef *OPAMPx, uint32_t PowerMode) in LL_OPAMP_SetPowerMode() argument
425 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_OPALPM, (PowerMode & OPAMP_POWERMODE_CSR_BIT_MASK)); in LL_OPAMP_SetPowerMode()
436 __STATIC_INLINE uint32_t LL_OPAMP_GetPowerMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetPowerMode() argument
438 uint32_t power_mode = (READ_BIT(OPAMPx->CSR, OPAMP_CSR_OPALPM)); in LL_OPAMP_GetPowerMode()
463 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
465 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
482 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
484 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
502 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
505 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_OPAMODE | OPAMP_CSR_CALON, FunctionalMode); in LL_OPAMP_SetFunctionalMode()
[all …]
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/include/
Dstm32l5xx_ll_opamp.h423 __STATIC_INLINE void LL_OPAMP_SetPowerMode(OPAMP_TypeDef *OPAMPx, uint32_t PowerMode) in LL_OPAMP_SetPowerMode() argument
425 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_OPALPM, (PowerMode & OPAMP_POWERMODE_CSR_BIT_MASK)); in LL_OPAMP_SetPowerMode()
436 __STATIC_INLINE uint32_t LL_OPAMP_GetPowerMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetPowerMode() argument
438 uint32_t power_mode = (READ_BIT(OPAMPx->CSR, OPAMP_CSR_OPALPM)); in LL_OPAMP_GetPowerMode()
463 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
465 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
482 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
484 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
502 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
505 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_OPAMODE | OPAMP_CSR_CALON, FunctionalMode); in LL_OPAMP_SetFunctionalMode()
[all …]
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/include/
Dstm32h5xx_ll_opamp.h388 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
390 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
407 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
409 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
430 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
433 …MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_VMSEL | OPAMP_CSR_CALO… in LL_OPAMP_SetFunctionalMode()
449 __STATIC_INLINE uint32_t LL_OPAMP_GetFunctionalMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetFunctionalMode() argument
451 …return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_VMSEL)… in LL_OPAMP_GetFunctionalMode()
467 __STATIC_INLINE void LL_OPAMP_SetPGAGain(OPAMP_TypeDef *OPAMPx, uint32_t PGAGain) in LL_OPAMP_SetPGAGain() argument
469 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_1 | OPAMP_CSR_PGGAIN_0, PGAGain); in LL_OPAMP_SetPGAGain()
[all …]
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/include/
Dstm32h7xx_ll_opamp.h376 __STATIC_INLINE void LL_OPAMP_SetMode(OPAMP_TypeDef *OPAMPx, uint32_t Mode) in LL_OPAMP_SetMode() argument
378 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_CALON, Mode); in LL_OPAMP_SetMode()
395 __STATIC_INLINE uint32_t LL_OPAMP_GetMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetMode() argument
397 return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_CALON)); in LL_OPAMP_GetMode()
418 __STATIC_INLINE void LL_OPAMP_SetFunctionalMode(OPAMP_TypeDef *OPAMPx, uint32_t FunctionalMode) in LL_OPAMP_SetFunctionalMode() argument
421 …MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_VMSEL | OPAMP_CSR_CALO… in LL_OPAMP_SetFunctionalMode()
437 __STATIC_INLINE uint32_t LL_OPAMP_GetFunctionalMode(const OPAMP_TypeDef *OPAMPx) in LL_OPAMP_GetFunctionalMode() argument
439 …return (uint32_t)(READ_BIT(OPAMPx->CSR, OPAMP_CSR_PGGAIN_3 | OPAMP_CSR_PGGAIN_2 | OPAMP_CSR_VMSEL)… in LL_OPAMP_GetFunctionalMode()
455 __STATIC_INLINE void LL_OPAMP_SetPGAGain(OPAMP_TypeDef *OPAMPx, uint32_t PGAGain) in LL_OPAMP_SetPGAGain() argument
457 MODIFY_REG(OPAMPx->CSR, OPAMP_CSR_PGGAIN_1 | OPAMP_CSR_PGGAIN_0, PGAGain); in LL_OPAMP_SetPGAGain()
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_opamp.c133 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef* OPAMPx) in LL_OPAMP_DeInit() argument
138 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
141 …PAMP_CSR_OPA1CAL_L | OPAMP_CSR_OPA1CAL_H | OPAMP_CSR_OPA1LPM) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_DeInit()
142 | (OPAMP_CSR_ANAWSEL1) << __OPAMP_INSTANCE_DECIMAL(OPAMPx) in LL_OPAMP_DeInit()
143 | (OPAMP_CSR_S7SEL2 * __OPAMP_IS_INSTANCE_OPAMP2(OPAMPx)) , in LL_OPAMP_DeInit()
144 (OPAMP_CSR_OPA1PD) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_DeInit()
165 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
168 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
171 assert_param(IS_LL_OPAMP_INPUT_NONINVERTING(OPAMPx, OPAMP_InitStruct->InputNonInverting)); in LL_OPAMP_Init()
178 assert_param(IS_LL_OPAMP_INPUT_INVERTING(OPAMPx, OPAMP_InitStruct->InputInverting)); in LL_OPAMP_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32g4xx/drivers/src/
Dstm32g4xx_ll_opamp.c105 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_DeInit() argument
110 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
114 if (LL_OPAMP_IsLocked(OPAMPx) == 0UL) in LL_OPAMP_DeInit()
116 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000UL); in LL_OPAMP_DeInit()
127 if (LL_OPAMP_IsTimerMuxLocked(OPAMPx) == 0UL) in LL_OPAMP_DeInit()
129 LL_OPAMP_WriteReg(OPAMPx, TCMR, 0x00000000UL); in LL_OPAMP_DeInit()
131 else if (LL_OPAMP_ReadReg(OPAMPx, TCMR) != 0x80000000UL) in LL_OPAMP_DeInit()
157 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
162 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
178 if (LL_OPAMP_IsLocked(OPAMPx) == 0U) in LL_OPAMP_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32f3xx/drivers/src/
Dstm32f3xx_ll_opamp.c105 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef* OPAMPx) in LL_OPAMP_DeInit() argument
110 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
114 if (LL_OPAMP_IsLocked(OPAMPx) == 0U) in LL_OPAMP_DeInit()
116 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
141 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
146 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
148 assert_param(IS_LL_OPAMP_INPUT_NONINVERTING(OPAMPx, OPAMP_InitStruct->InputNonInverting)); in LL_OPAMP_Init()
156 assert_param(IS_LL_OPAMP_INPUT_INVERTING(OPAMPx, OPAMP_InitStruct->InputInverting)); in LL_OPAMP_Init()
161 if (LL_OPAMP_IsLocked(OPAMPx) == 0U) in LL_OPAMP_Init()
170 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
[all …]
/hal_stm32-latest/stm32cube/stm32u0xx/drivers/src/
Dstm32u0xx_ll_opamp.c101 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_DeInit() argument
106 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
108 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
128 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, const LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
131 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
134 assert_param(IS_LL_OPAMP_INPUT_NONINVERTING(OPAMPx, OPAMP_InitStruct->InputNonInverting)); in LL_OPAMP_Init()
142 assert_param(IS_LL_OPAMP_INPUT_INVERTING(OPAMPx, OPAMP_InitStruct->InputInverting)); in LL_OPAMP_Init()
153 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
168 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
/hal_stm32-latest/stm32cube/stm32l5xx/drivers/src/
Dstm32l5xx_ll_opamp.c104 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef* OPAMPx) in LL_OPAMP_DeInit() argument
109 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
111 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
132 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
135 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
138 assert_param(IS_LL_OPAMP_INPUT_NONINVERTING(OPAMPx, OPAMP_InitStruct->InputNonInverting)); in LL_OPAMP_Init()
146 assert_param(IS_LL_OPAMP_INPUT_INVERTING(OPAMPx, OPAMP_InitStruct->InputInverting)); in LL_OPAMP_Init()
157 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
172 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
/hal_stm32-latest/stm32cube/stm32l4xx/drivers/src/
Dstm32l4xx_ll_opamp.c104 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef* OPAMPx) in LL_OPAMP_DeInit() argument
109 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
111 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
132 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
135 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
138 assert_param(IS_LL_OPAMP_INPUT_NONINVERTING(OPAMPx, OPAMP_InitStruct->InputNonInverting)); in LL_OPAMP_Init()
146 assert_param(IS_LL_OPAMP_INPUT_INVERTING(OPAMPx, OPAMP_InitStruct->InputInverting)); in LL_OPAMP_Init()
157 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
172 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
/hal_stm32-latest/stm32cube/stm32u5xx/drivers/src/
Dstm32u5xx_ll_opamp.c104 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_DeInit() argument
109 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
111 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
131 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, const LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
134 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
137 assert_param(IS_LL_OPAMP_INPUT_NONINVERTING(OPAMPx, OPAMP_InitStruct->InputNonInverting)); in LL_OPAMP_Init()
145 assert_param(IS_LL_OPAMP_INPUT_INVERTING(OPAMPx, OPAMP_InitStruct->InputInverting)); in LL_OPAMP_Init()
156 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
172 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
/hal_stm32-latest/stm32cube/stm32h5xx/drivers/src/
Dstm32h5xx_ll_opamp.c99 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef *OPAMPx) in LL_OPAMP_DeInit() argument
104 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
106 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
123 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, const LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
128 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
150 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
165 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
/hal_stm32-latest/stm32cube/stm32h7xx/drivers/src/
Dstm32h7xx_ll_opamp.c110 ErrorStatus LL_OPAMP_DeInit(OPAMP_TypeDef* OPAMPx) in LL_OPAMP_DeInit() argument
115 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_DeInit()
117 LL_OPAMP_WriteReg(OPAMPx, CSR, 0x00000000U); in LL_OPAMP_DeInit()
134 ErrorStatus LL_OPAMP_Init(OPAMP_TypeDef *OPAMPx, LL_OPAMP_InitTypeDef *OPAMP_InitStruct) in LL_OPAMP_Init() argument
139 assert_param(IS_OPAMP_ALL_INSTANCE(OPAMPx)); in LL_OPAMP_Init()
161 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()
176 MODIFY_REG(OPAMPx->CSR, in LL_OPAMP_Init()