5.1.2.7 rtcount_create

This function adds a new timer to the list of serviced timers. The user supplies the memory for the timer and initializes it. This method simply updates absoluteTime and adds the timer to the list of serviced timers.

void rtcount_create(
    rtcountStruct_t * timer,    int32_t timeout
)

Parameters

*timer

Type: rtcountStruct_t *

- timer instance to be created and added to the list

timeout

Type: int32_t

- number of timer ticks before this timer expires.

Returns

Type: void