Searched refs:ctr2_count (Results 1 – 1 of 1) sorted by relevance
687 uint32_t ctr2_count = Cy_MCWDT_GetCount(obj->base, CY_MCWDT_COUNTER2); in cyhal_lptimer_read() local688 if(obj->offset > ctr2_count) in cyhal_lptimer_read()690 return (uint32_t)((((uint64_t)1 << 32) - obj->offset) + ctr2_count); in cyhal_lptimer_read()694 return ctr2_count - obj->offset; in cyhal_lptimer_read()