rtcount_reschedule

This function adds time to previous ticks. We add it to the previous target and not to current time to ensure the cadence of the timer will be exact and no skidding is possible.

void rtcount_reschedule(
    rtcountStruct_t * timer,    int32_t timeout
)

Parameters

*timer

Type: rtcountStruct_t *

- timer instance to be added to

timeout

Type: int32_t

- number of timer ticks to be added.

Returns

Type: void