Home
last modified time | relevance | path

Searched refs:ctrAddr (Results 1 – 2 of 2) sorted by relevance

/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_profile.c39 static cy_en_profile_status_t Cy_Profile_IsPtrValid(const cy_stc_profile_ctr_ptr_t ctrAddr);
61 static cy_en_profile_status_t Cy_Profile_IsPtrValid(const cy_stc_profile_ctr_ptr_t ctrAddr) in Cy_Profile_IsPtrValid() argument
67 …if ((p_epCtrs <= (uint32_t)ctrAddr) && ((uint32_t)ctrAddr < (p_epCtrs + (uint32_t)sizeof(cy_ep_ctr… in Cy_Profile_IsPtrValid()
69 if (ctrAddr->used != 0u) /* check for counter being used */ in Cy_Profile_IsPtrValid()
265 cy_en_profile_status_t Cy_Profile_FreeCounter(cy_stc_profile_ctr_ptr_t ctrAddr) in Cy_Profile_FreeCounter() argument
269 retStatus = Cy_Profile_IsPtrValid(ctrAddr); in Cy_Profile_FreeCounter()
272 ctrAddr->used = 0u; in Cy_Profile_FreeCounter()
297 cy_en_profile_status_t Cy_Profile_EnableCounter(cy_stc_profile_ctr_ptr_t ctrAddr) in Cy_Profile_EnableCounter() argument
299 cy_en_profile_status_t retStatus = Cy_Profile_IsPtrValid(ctrAddr); in Cy_Profile_EnableCounter()
304 ctrAddr->cntAddr->CTL |= _VAL2FLD(PROFILE_CNT_STRUCT_CTL_ENABLED, 1UL); in Cy_Profile_EnableCounter()
[all …]
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_profile.h462 cy_en_profile_status_t Cy_Profile_FreeCounter(cy_stc_profile_ctr_ptr_t ctrAddr);
463 cy_en_profile_status_t Cy_Profile_EnableCounter(cy_stc_profile_ctr_ptr_t ctrAddr);
464 cy_en_profile_status_t Cy_Profile_DisableCounter(cy_stc_profile_ctr_ptr_t ctrAddr);
492 cy_en_profile_status_t Cy_Profile_GetRawCount(cy_stc_profile_ctr_ptr_t ctrAddr, uint64_t *result);
493 cy_en_profile_status_t Cy_Profile_GetWeightedCount(cy_stc_profile_ctr_ptr_t ctrAddr, uint64_t *resu…