7.1.2.5 makeAbsolute

This function takes a number of ticks and returns the total number of timer ticks since the last timeout occurred or the timer module was started.

uint32_t makeAbsolute(
    uint32_t timeout
)

Parameters

duration

- number of timer ticks of a specific timer

Returns

Type: INLINE uint32_t

timeout - number of timer ticks since the last timeout occurred