Lines Matching refs:res_reg

1888 void XMC_VADC_GROUP_AddResultToFifo(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_reg)  in XMC_VADC_GROUP_AddResultToFifo()  argument
1893 …XMC_ASSERT("XMC_VADC_GROUP_AddResultToFifo:Wrong Result Register", ((res_reg) < XMC_VADC_NUM_RESUL… in XMC_VADC_GROUP_AddResultToFifo()
1896 fen = group_ptr->RCR[res_reg]; in XMC_VADC_GROUP_AddResultToFifo()
1900 group_ptr->RCR[res_reg] = fen; in XMC_VADC_GROUP_AddResultToFifo()
1906 const uint32_t res_reg, in XMC_VADC_GROUP_SetResultFastCompareValue() argument
1909 uint32_t res = group_ptr->RES[res_reg]; in XMC_VADC_GROUP_SetResultFastCompareValue()
1913 ((res_reg) < XMC_VADC_NUM_RESULT_REGISTERS)) in XMC_VADC_GROUP_SetResultFastCompareValue()
1917 group_ptr->RES[res_reg] = res; in XMC_VADC_GROUP_SetResultFastCompareValue()
1921 …RE_t XMC_VADC_GROUP_GetFastCompareResult(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_reg) in XMC_VADC_GROUP_GetFastCompareResult() argument
1927 …XMC_ASSERT("XMC_VADC_GROUP_GetFastCompareResult:Wrong Result Register", ((res_reg) < XMC_VADC_NUM_… in XMC_VADC_GROUP_GetFastCompareResult()
1929 res = group_ptr->RES[res_reg]; in XMC_VADC_GROUP_GetFastCompareResult()
1960 const uint32_t res_reg, in XMC_VADC_GROUP_SetResultInterruptNode() argument
1966 …XMC_ASSERT("XMC_VADC_GROUP_SetResultInterruptNode:Wrong Result Register", ((res_reg) < XMC_VADC_NU… in XMC_VADC_GROUP_SetResultInterruptNode()
1969 if (res_reg <= 7U) in XMC_VADC_GROUP_SetResultInterruptNode()
1972 route_mask &= ~((uint32_t)((uint32_t)15 << (res_reg * (uint32_t)4) )); in XMC_VADC_GROUP_SetResultInterruptNode()
1973 route_mask |= (uint32_t)((uint32_t)sr << (res_reg * (uint32_t)4)); in XMC_VADC_GROUP_SetResultInterruptNode()
1979 route_mask &= ~((uint32_t)((uint32_t)15 << (( res_reg - (uint32_t)8) * (uint32_t)4) )); in XMC_VADC_GROUP_SetResultInterruptNode()
1980 route_mask |= (uint32_t)((uint32_t)sr << ((res_reg - (uint32_t)8) * (uint32_t)4)); in XMC_VADC_GROUP_SetResultInterruptNode()
1986 uint32_t XMC_VADC_GROUP_GetResultFifoTail(XMC_VADC_GROUP_t *const group_ptr, uint32_t res_reg) in XMC_VADC_GROUP_GetResultFifoTail() argument
1994 …XMC_ASSERT("XMC_VADC_GROUP_GetResultFifoTail:Wrong Result Register", ((res_reg) < XMC_VADC_NUM_RES… in XMC_VADC_GROUP_GetResultFifoTail()
1999 if ((bool)true == XMC_VADC_GROUP_IsResultRegisterFifoHead(group_ptr, res_reg)) in XMC_VADC_GROUP_GetResultFifoTail()
2001 res_reg = res_reg - 1U; in XMC_VADC_GROUP_GetResultFifoTail()
2005 if (0U == res_reg) in XMC_VADC_GROUP_GetResultFifoTail()
2012 for(i = (int32_t)res_reg; i >= (int32_t)0; i--) in XMC_VADC_GROUP_GetResultFifoTail()
2042 uint32_t XMC_VADC_GROUP_GetResultFifoHead(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_reg) in XMC_VADC_GROUP_GetResultFifoHead() argument
2049 …XMC_ASSERT("XMC_VADC_GROUP_GetResultFifoHead:Wrong Result Register", ((res_reg) < XMC_VADC_NUM_RES… in XMC_VADC_GROUP_GetResultFifoHead()
2051 if ((bool)true == XMC_VADC_GROUP_IsResultRegisterFifoHead(group_ptr, res_reg)) in XMC_VADC_GROUP_GetResultFifoHead()
2053 head = res_reg; in XMC_VADC_GROUP_GetResultFifoHead()
2059 for(i = res_reg; i < XMC_VADC_NUM_RESULT_REGISTERS ; i++) in XMC_VADC_GROUP_GetResultFifoHead()
2076 … XMC_VADC_GROUP_IsResultRegisterFifoHead(XMC_VADC_GROUP_t *const group_ptr, const uint32_t res_reg) in XMC_VADC_GROUP_IsResultRegisterFifoHead() argument
2084 ((res_reg) < XMC_VADC_NUM_RESULT_REGISTERS)) in XMC_VADC_GROUP_IsResultRegisterFifoHead()
2086 rcr_head = group_ptr->RCR[res_reg]; in XMC_VADC_GROUP_IsResultRegisterFifoHead()
2088 rcr_next = group_ptr->RCR[res_reg - (uint32_t)1]; in XMC_VADC_GROUP_IsResultRegisterFifoHead()