Home
last modified time | relevance | path

Searched refs:__OPAMP_INSTANCE_BITOFFSET (Results 1 – 2 of 2) sorted by relevance

/hal_stm32-latest/stm32cube/stm32l1xx/drivers/include/
Dstm32l1xx_ll_opamp.h112 #define __OPAMP_INSTANCE_BITOFFSET(__OPAMP_INSTANCE__) \ macro
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()
451 …uint32_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()
487 …((Mode & ~OPAMP_CSR_S7SEL2) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)) | ((Mode & OPAMP_CSR_S7SEL2) * … in LL_OPAMP_SetMode()
511 …((LL_OPAMP_MODE_CALIBRATION & ~OPAMP_CSR_S7SEL2) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)) | (OPAMP_C… in LL_OPAMP_GetMode()
533 …PAMP_CSR_S3SEL1 | OPAMP_CSR_OPA1CAL_H | OPAMP_CSR_OPA1CAL_L) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx), in LL_OPAMP_SetFunctionalMode()
534 FunctionalMode << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)); in LL_OPAMP_SetFunctionalMode()
548 return (uint32_t)(READ_BIT(OPAMP->CSR, OPAMP_CSR_S3SEL1 << __OPAMP_INSTANCE_BITOFFSET(OPAMPx)) in LL_OPAMP_GetFunctionalMode()
[all …]
/hal_stm32-latest/stm32cube/stm32l1xx/drivers/src/
Dstm32l1xx_ll_opamp.c141 …PAMP_CSR_OPA1CAL_L | OPAMP_CSR_OPA1CAL_H | OPAMP_CSR_OPA1LPM) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_DeInit()
144 (OPAMP_CSR_OPA1PD) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_DeInit()
198 ) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_Init()
208 ) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_Init()
224 ) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_Init()
234 ) << __OPAMP_INSTANCE_BITOFFSET(OPAMPx) in LL_OPAMP_Init()