ZTIMER_eStart

ZTIMER_teStatus ZTIMER_eStart(uint8 u8TimerIndex,
                              uint32 u32Time);

Description

This function is used to start the specified software timer. The length of time for which the timer will run must be specified in milliseconds.

Before a timer is started, it must have been opened using ZTIMER_eOpen(). Once started, the timer can be stopped (before it expires) using ZTIMER_eStop().

Parent topic:ZTIMER_eStart

Parameters

  • pu8TimerIndex: Index number of the timer in the list of timers initialized using ZTIMER_eInit().

  • u32Time: The time, in milliseconds, for which the timer should run.

Parent topic:ZTIMER_eStart

Returns

  • E_ZTIMER_OK (timer successfully started)

  • E_ZTIMER_FAIL (timer not started)

Parent topic:ZTIMER_eStart

Parent topic:ZigBee Timer functions