Lines Matching refs:COMPx
600 ErrorStatus LL_COMP_DeInit(COMP_TypeDef *COMPx) in LL_COMP_DeInit() argument
605 assert_param(IS_COMP_ALL_INSTANCE(COMPx)); in LL_COMP_DeInit()
609 if (LL_COMP_IsLocked(COMPx) == 0U) in LL_COMP_DeInit()
611 LL_COMP_WriteReg(COMPx, CSR, 0x00000000U); in LL_COMP_DeInit()
636 ErrorStatus LL_COMP_Init(COMP_TypeDef *COMPx, LL_COMP_InitTypeDef *COMP_InitStruct) in LL_COMP_Init() argument
641 assert_param(IS_COMP_ALL_INSTANCE(COMPx)); in LL_COMP_Init()
643 assert_param(IS_LL_COMP_INPUT_PLUS(COMPx, COMP_InitStruct->InputPlus)); in LL_COMP_Init()
644 assert_param(IS_LL_COMP_INPUT_MINUS(COMPx, COMP_InitStruct->InputMinus)); in LL_COMP_Init()
646 assert_param(IS_LL_COMP_OUTPUT_SELECTION(COMPx, COMP_InitStruct->OutputSelection)); in LL_COMP_Init()
648 assert_param(IS_LL_COMP_OUTPUT_BLANKING_SOURCE(COMPx, COMP_InitStruct->OutputBlankingSource)); in LL_COMP_Init()
652 if (LL_COMP_IsLocked(COMPx) == 0U) in LL_COMP_Init()
662 MODIFY_REG(COMPx->CSR, in LL_COMP_Init()
853 ErrorStatus LL_COMP_DeInit(COMP_TypeDef *COMPx) in LL_COMP_DeInit() argument
858 assert_param(IS_COMP_ALL_INSTANCE(COMPx)); in LL_COMP_DeInit()
862 if (LL_COMP_IsLocked(COMPx) == 0U) in LL_COMP_DeInit()
867 if (COMPx == COMP1) in LL_COMP_DeInit()
877 ) << __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_DeInit()
889 ) << __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_DeInit()
917 ErrorStatus LL_COMP_Init(COMP_TypeDef *COMPx, LL_COMP_InitTypeDef *COMP_InitStruct) in LL_COMP_Init() argument
922 assert_param(IS_COMP_ALL_INSTANCE(COMPx)); in LL_COMP_Init()
924 assert_param(IS_LL_COMP_INPUT_PLUS(COMPx, COMP_InitStruct->InputPlus)); in LL_COMP_Init()
925 assert_param(IS_LL_COMP_INPUT_MINUS(COMPx, COMP_InitStruct->InputMinus)); in LL_COMP_Init()
932 if (LL_COMP_IsLocked(COMPx) == 0U) in LL_COMP_Init()
944 if (COMPx == COMP1) in LL_COMP_Init()
953 ) << __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_Init()
961 ) << __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_Init()
972 ) << __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_Init()
980 ) << __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_Init()