Lines Matching refs:res
378 uint32_t res; in XMC_VADC_GLOBAL_GetCompareResult() local
382 res = global_ptr->GLOBRES; in XMC_VADC_GLOBAL_GetCompareResult()
384 if (res & (uint32_t)VADC_GLOBRES_VF_Msk) in XMC_VADC_GLOBAL_GetCompareResult()
386 …result = (XMC_VADC_FAST_COMPARE_t)((uint32_t)(res >> (uint32_t)VADC_GLOBRES_FCR_Pos) & (uint32_t)1… in XMC_VADC_GLOBAL_GetCompareResult()
1909 uint32_t res = group_ptr->RES[res_reg]; in XMC_VADC_GROUP_SetResultFastCompareValue() local
1915 res &= ~((uint32_t)VADC_G_RES_RESULT_Msk); in XMC_VADC_GROUP_SetResultFastCompareValue()
1916 res |= (uint32_t)((uint32_t)compare_val << XMC_VADC_RESULT_LEFT_ALIGN_10BIT); in XMC_VADC_GROUP_SetResultFastCompareValue()
1917 group_ptr->RES[res_reg] = res; in XMC_VADC_GROUP_SetResultFastCompareValue()
1924 uint32_t res; in XMC_VADC_GROUP_GetFastCompareResult() local
1929 res = group_ptr->RES[res_reg]; in XMC_VADC_GROUP_GetFastCompareResult()
1931 if (res & (uint32_t)VADC_G_RES_VF_Msk) in XMC_VADC_GROUP_GetFastCompareResult()
1933 … result = (XMC_VADC_FAST_COMPARE_t)((uint32_t)(res >> (uint32_t)VADC_G_RES_FCR_Pos) & (uint32_t)1); in XMC_VADC_GROUP_GetFastCompareResult()
1947 uint32_t res; in XMC_VADC_GROUP_SetResultSubtractionValue() local
1951 res = group_ptr->RES[0]; in XMC_VADC_GROUP_SetResultSubtractionValue()
1952 res &= ~((uint32_t)VADC_G_RES_RESULT_Msk); in XMC_VADC_GROUP_SetResultSubtractionValue()
1953 res |= (uint32_t)subtraction_val; in XMC_VADC_GROUP_SetResultSubtractionValue()
1954 group_ptr->RES[0] = res; in XMC_VADC_GROUP_SetResultSubtractionValue()