Lines Matching refs:COMPx

384 __STATIC_INLINE void LL_COMP_SetPowerMode(COMP_TypeDef *COMPx, uint32_t PowerMode)  in LL_COMP_SetPowerMode()  argument
387 COMP_CSR_COMP1MODE << __COMP_BITOFFSET_INSTANCE(COMPx), in LL_COMP_SetPowerMode()
388 PowerMode << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_SetPowerMode()
402 __STATIC_INLINE uint32_t LL_COMP_GetPowerMode(COMP_TypeDef *COMPx) in LL_COMP_GetPowerMode() argument
405 COMP_CSR_COMP1MODE << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_GetPowerMode()
406 >> __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_GetPowerMode()
442 __STATIC_INLINE void LL_COMP_ConfigInputs(COMP_TypeDef *COMPx, uint32_t InputMinus, uint32_t InputP… in LL_COMP_ConfigInputs() argument
448 …MP1INSEL | (COMP_CSR_COMP1SW1 * __COMP_IS_INSTANCE_ODD(COMPx))) << __COMP_BITOFFSET_INSTANCE(COMPx in LL_COMP_ConfigInputs()
449 …putMinus | InputPlus) << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_ConfigInputs()
467 __STATIC_INLINE void LL_COMP_SetInputPlus(COMP_TypeDef *COMPx, uint32_t InputPlus) in LL_COMP_SetInputPlus() argument
473 … (COMP_CSR_COMP1SW1 * __COMP_IS_INSTANCE_ODD(COMPx)) << __COMP_BITOFFSET_INSTANCE(COMPx), in LL_COMP_SetInputPlus()
474 … InputPlus << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_SetInputPlus()
491 __STATIC_INLINE uint32_t LL_COMP_GetInputPlus(COMP_TypeDef *COMPx) in LL_COMP_GetInputPlus() argument
496 COMP_CSR_COMP1SW1 << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_GetInputPlus()
497 >> __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_GetInputPlus()
518 __STATIC_INLINE void LL_COMP_SetInputMinus(COMP_TypeDef *COMPx, uint32_t InputMinus) in LL_COMP_SetInputMinus() argument
521 COMP_CSR_COMP1INSEL << __COMP_BITOFFSET_INSTANCE(COMPx), in LL_COMP_SetInputMinus()
522 InputMinus << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_SetInputMinus()
541 __STATIC_INLINE uint32_t LL_COMP_GetInputMinus(COMP_TypeDef *COMPx) in LL_COMP_GetInputMinus() argument
544 COMP_CSR_COMP1INSEL << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_GetInputMinus()
545 >> __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_GetInputMinus()
561 __STATIC_INLINE void LL_COMP_SetInputHysteresis(COMP_TypeDef *COMPx, uint32_t InputHysteresis) in LL_COMP_SetInputHysteresis() argument
564 COMP_CSR_COMP1HYST << __COMP_BITOFFSET_INSTANCE(COMPx), in LL_COMP_SetInputHysteresis()
565 InputHysteresis << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_SetInputHysteresis()
579 __STATIC_INLINE uint32_t LL_COMP_GetInputHysteresis(COMP_TypeDef *COMPx) in LL_COMP_GetInputHysteresis() argument
582 COMP_CSR_COMP1HYST << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_GetInputHysteresis()
583 >> __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_GetInputHysteresis()
617 __STATIC_INLINE void LL_COMP_SetOutputSelection(COMP_TypeDef *COMPx, uint32_t OutputSelection) in LL_COMP_SetOutputSelection() argument
620 COMP_CSR_COMP1OUTSEL << __COMP_BITOFFSET_INSTANCE(COMPx), in LL_COMP_SetOutputSelection()
621 OutputSelection << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_SetOutputSelection()
644 __STATIC_INLINE uint32_t LL_COMP_GetOutputSelection(COMP_TypeDef *COMPx) in LL_COMP_GetOutputSelection() argument
647 COMP_CSR_COMP1OUTSEL << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_GetOutputSelection()
648 >> __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_GetOutputSelection()
662 __STATIC_INLINE void LL_COMP_SetOutputPolarity(COMP_TypeDef *COMPx, uint32_t OutputPolarity) in LL_COMP_SetOutputPolarity() argument
665 COMP_CSR_COMP1POL << __COMP_BITOFFSET_INSTANCE(COMPx), in LL_COMP_SetOutputPolarity()
666 OutputPolarity << __COMP_BITOFFSET_INSTANCE(COMPx) ); in LL_COMP_SetOutputPolarity()
678 __STATIC_INLINE uint32_t LL_COMP_GetOutputPolarity(COMP_TypeDef *COMPx) in LL_COMP_GetOutputPolarity() argument
681 COMP_CSR_COMP1POL << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_GetOutputPolarity()
682 >> __COMP_BITOFFSET_INSTANCE(COMPx) in LL_COMP_GetOutputPolarity()
704 __STATIC_INLINE void LL_COMP_Enable(COMP_TypeDef *COMPx) in LL_COMP_Enable() argument
706 SET_BIT(COMP->CSR, COMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTANCE(COMPx)); in LL_COMP_Enable()
716 __STATIC_INLINE void LL_COMP_Disable(COMP_TypeDef *COMPx) in LL_COMP_Disable() argument
718 CLEAR_BIT(COMP->CSR, COMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTANCE(COMPx)); in LL_COMP_Disable()
729 __STATIC_INLINE uint32_t LL_COMP_IsEnabled(COMP_TypeDef *COMPx) in LL_COMP_IsEnabled() argument
731 …OMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTANCE(COMPx)) == COMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTA… in LL_COMP_IsEnabled()
743 __STATIC_INLINE void LL_COMP_Lock(COMP_TypeDef *COMPx) in LL_COMP_Lock() argument
745 SET_BIT(COMP->CSR, COMP_CSR_COMP1LOCK << __COMP_BITOFFSET_INSTANCE(COMPx)); in LL_COMP_Lock()
758 __STATIC_INLINE uint32_t LL_COMP_IsLocked(COMP_TypeDef *COMPx) in LL_COMP_IsLocked() argument
760 …_CSR_COMP1LOCK << __COMP_BITOFFSET_INSTANCE(COMPx)) == COMP_CSR_COMP1LOCK << __COMP_BITOFFSET_INST… in LL_COMP_IsLocked()
784 __STATIC_INLINE uint32_t LL_COMP_ReadOutputLevel(COMP_TypeDef *COMPx) in LL_COMP_ReadOutputLevel() argument
787 COMP_CSR_COMP1OUT << __COMP_BITOFFSET_INSTANCE(COMPx)) in LL_COMP_ReadOutputLevel()
788 >> (__COMP_BITOFFSET_INSTANCE(COMPx) + LL_COMP_OUTPUT_LEVEL_BITOFFSET_POS) in LL_COMP_ReadOutputLevel()
801 ErrorStatus LL_COMP_DeInit(COMP_TypeDef *COMPx);
802 ErrorStatus LL_COMP_Init(COMP_TypeDef *COMPx, LL_COMP_InitTypeDef *COMP_InitStruct);