Lines Matching refs:cy_ep_ctrs
42 static cy_stc_profile_ctr_t cy_ep_ctrs[CY_EP_CNT_NR]; variable
66 uint32_t p_epCtrs = (uint32_t)cy_ep_ctrs; in Cy_Profile_IsPtrValid()
67 …(p_epCtrs <= (uint32_t)ctrAddr) && ((uint32_t)ctrAddr < (p_epCtrs + (uint32_t)sizeof(cy_ep_ctrs)))) in Cy_Profile_IsPtrValid()
111 if (((ovflowBits & 1UL) != 0UL) && (cy_ep_ctrs[ctr].used != 0u)) in Cy_Profile_ISR()
113 cy_ep_ctrs[ctr].overflow++; in Cy_Profile_ISR()
144 while (i < CY_N_ELMTS(cy_ep_ctrs)) in Cy_Profile_StartProfiling()
146 cy_ep_ctrs[i++].overflow = 0UL; in Cy_Profile_StartProfiling()
169 (void)memset((void *)cy_ep_ctrs, 0, sizeof(cy_ep_ctrs)); in Cy_Profile_ClearConfiguration()
214 if(cy_ep_ctrs[i].used == 0u) in Cy_Profile_ConfigureCounter()
222 cy_ep_ctrs[i].ctrNum = i; in Cy_Profile_ConfigureCounter()
223 cy_ep_ctrs[i].used = 1u; in Cy_Profile_ConfigureCounter()
224 cy_ep_ctrs[i].cntAddr = (PROFILE_CNT_STRUCT_Type *)&(PROFILE_CNT_STRUCT[i]); in Cy_Profile_ConfigureCounter()
225 cy_ep_ctrs[i].ctlRegVals.cntDuration = duration; in Cy_Profile_ConfigureCounter()
226 cy_ep_ctrs[i].ctlRegVals.refClkSel = refClk; in Cy_Profile_ConfigureCounter()
227 cy_ep_ctrs[i].ctlRegVals.monSel = monitor; in Cy_Profile_ConfigureCounter()
228 cy_ep_ctrs[i].overflow = 0UL; in Cy_Profile_ConfigureCounter()
229 cy_ep_ctrs[i].weight = weight; in Cy_Profile_ConfigureCounter()
231 retVal = &cy_ep_ctrs[i]; in Cy_Profile_ConfigureCounter()