Home
last modified time | relevance | path

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

/hal_infineon-3.7.0/mtb-hal-cat1/source/
Dcyhal_lptimer.c687 uint32_t ctr2_count = Cy_MCWDT_GetCount(obj->base, CY_MCWDT_COUNTER2); in cyhal_lptimer_read() local
688 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()