Lines Matching refs:COMP
384 MODIFY_REG(COMP->CSR, COMP_CSR_SPEED, PowerMode); in LL_COMP_SetPowerMode()
399 return (uint32_t)(READ_BIT(COMP->CSR, COMP_CSR_SPEED)); in LL_COMP_GetPowerMode()
567 MODIFY_REG(COMP->CSR, in LL_COMP_SetInputMinus()
595 return (uint32_t)((READ_BIT(COMP->CSR, COMP_CSR_INSEL) * __COMP_IS_INSTANCE_EVEN(COMPx)) in LL_COMP_GetInputMinus()
621 MODIFY_REG(COMP->CSR, in LL_COMP_SetInputPullingResistor()
651 …return (uint32_t)((READ_BIT(COMP->CSR, (COMP_CSR_10KPU | COMP_CSR_400KPU | COMP_CSR_10KPD | COMP_C… in LL_COMP_GetInputPullingResistor()
689 MODIFY_REG(COMP->CSR, in LL_COMP_SetOutputSelection()
719 return (uint32_t)((READ_BIT(COMP->CSR, COMP_CSR_OUTSEL) * __COMP_IS_INSTANCE_EVEN(COMPx)) in LL_COMP_GetOutputSelection()
751 SET_BIT(COMP->CSR, __COMP_IS_INSTANCE_ODD(COMPx) << LL_COMP_ENABLE_COMP1_BITOFFSET_POS); in LL_COMP_Enable()
769 …CLEAR_BIT(COMP->CSR, (COMP_CSR_CMP1EN * __COMP_IS_INSTANCE_ODD(COMPx)) | (COMP_CSR_INSEL * __COMP_… in LL_COMP_Disable()
782 …return (READ_BIT(COMP->CSR, (COMP_CSR_CMP1EN * __COMP_IS_INSTANCE_ODD(COMPx)) | (COMP_CSR_INSEL * … in LL_COMP_IsEnabled()
802 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_ReadOutputLevel()