Lines Matching refs:CSR

720   MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_COMPxWNDWEN, WindowMode);  in LL_COMP_SetCommonWindowMode()
746 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_COMPxWNDWEN)); in LL_COMP_GetCommonWindowMode()
777 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxMODE, PowerMode); in LL_COMP_SetPowerMode()
800 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxMODE)); in LL_COMP_GetPowerMode()
857 MODIFY_REG(COMPx->CSR, in LL_COMP_ConfigInputs()
861 MODIFY_REG(COMPx->CSR, in LL_COMP_ConfigInputs()
865 MODIFY_REG(COMPx->CSR, in LL_COMP_ConfigInputs()
874 MODIFY_REG(COMPx->CSR, in LL_COMP_ConfigInputs()
901 MODIFY_REG(COMPx->CSR, (COMP_CSR_COMPxNONINSEL | COMP_CSR_COMPxSW1), InputPlus); in LL_COMP_SetInputPlus()
903 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxNONINSEL, InputPlus); in LL_COMP_SetInputPlus()
905 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxSW1, InputPlus); in LL_COMP_SetInputPlus()
935 return (uint32_t)(READ_BIT(COMPx->CSR, (COMP_CSR_COMPxNONINSEL | COMP_CSR_COMPxSW1))); in LL_COMP_GetInputPlus()
937 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxNONINSEL)); in LL_COMP_GetInputPlus()
939 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxSW1)); in LL_COMP_GetInputPlus()
981 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxINSEL, InputMinus); in LL_COMP_SetInputMinus()
1009 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxINSEL)); in LL_COMP_GetInputMinus()
1028 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxHYST, InputHysteresis); in LL_COMP_SetInputHysteresis()
1051 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxHYST)); in LL_COMP_GetInputHysteresis()
1127 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxOUTSEL, OutputSelection); in LL_COMP_SetOutputSelection()
1190 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxOUTSEL)); in LL_COMP_GetOutputSelection()
1204 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxPOL, OutputPolarity); in LL_COMP_SetOutputPolarity()
1217 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxPOL)); in LL_COMP_GetOutputPolarity()
1252 MODIFY_REG(COMPx->CSR, COMP_CSR_COMPxBLANKING, BlankingSource); in LL_COMP_SetOutputBlankingSource()
1286 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxBLANKING)); in LL_COMP_GetOutputBlankingSource()
1308 SET_BIT(COMPx->CSR, COMP_CSR_COMPxEN); in LL_COMP_Enable()
1319 CLEAR_BIT(COMPx->CSR, COMP_CSR_COMPxEN); in LL_COMP_Disable()
1331 return (READ_BIT(COMPx->CSR, COMP_CSR_COMPxEN) == (COMP_CSR_COMPxEN)); in LL_COMP_IsEnabled()
1344 SET_BIT(COMPx->CSR, COMP_CSR_COMPxLOCK); in LL_COMP_Lock()
1358 return (READ_BIT(COMPx->CSR, COMP_CSR_COMPxLOCK) == (COMP_CSR_COMPxLOCK)); in LL_COMP_IsLocked()
1383 return (uint32_t)(READ_BIT(COMPx->CSR, COMP_CSR_COMPxOUT) in LL_COMP_ReadOutputLevel()
1759 MODIFY_REG(COMPxy_COMMON->CSR, COMP_CSR_WNDWEN, WindowMode); in LL_COMP_SetCommonWindowMode()
1774 return (uint32_t)(READ_BIT(COMPxy_COMMON->CSR, COMP_CSR_WNDWEN)); in LL_COMP_GetCommonWindowMode()
1799 MODIFY_REG(COMP->CSR, in LL_COMP_SetPowerMode()
1817 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_GetPowerMode()
1864 MODIFY_REG(COMP->CSR, in LL_COMP_ConfigInputs()
1889 MODIFY_REG(COMP->CSR, in LL_COMP_SetInputPlus()
1912 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_GetInputPlus()
1941 MODIFY_REG(COMP->CSR, in LL_COMP_SetInputMinus()
1968 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_GetInputMinus()
1988 MODIFY_REG(COMP->CSR, in LL_COMP_SetInputHysteresis()
2006 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_GetInputHysteresis()
2044 MODIFY_REG(COMP->CSR, in LL_COMP_SetOutputSelection()
2071 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_GetOutputSelection()
2089 MODIFY_REG(COMP->CSR, in LL_COMP_SetOutputPolarity()
2105 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_GetOutputPolarity()
2131 SET_BIT(COMP->CSR, COMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTANCE(COMPx)); in LL_COMP_Enable()
2143 CLEAR_BIT(COMP->CSR, COMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTANCE(COMPx)); in LL_COMP_Disable()
2156 …return (READ_BIT(COMP->CSR, COMP_CSR_COMP1EN << __COMP_BITOFFSET_INSTANCE(COMPx)) == COMP_CSR_COMP… in LL_COMP_IsEnabled()
2171 SET_BIT(COMP->CSR, COMP_CSR_COMP1LOCK << __COMP_BITOFFSET_INSTANCE(COMPx)); in LL_COMP_Lock()
2186 …return (READ_BIT(COMP->CSR, COMP_CSR_COMP1LOCK << __COMP_BITOFFSET_INSTANCE(COMPx)) == COMP_CSR_CO… in LL_COMP_IsLocked()
2213 return (uint32_t)(READ_BIT(COMP->CSR, in LL_COMP_ReadOutputLevel()