ZTIMER_eInit

ZTIMER_teStatus ZTIMER_eInit(ZTIMER_tsTimer *psTimers,
                            uint8 u8NumTimers);

Description

This function initializes a set of software timers for use by the application. A list of timers is provided in an array, in which each array element is a structure containing information on one timer (see Section 10.2.2.1). The index of an array element is used as a reference for the corresponding timer.

In order to use one of the initialized timers, it must first be opened using ZTIMER_eOpen().

Parent topic:ZTIMER_eInit

Parameters

  • psTimers: Pointer to an array of structures, where each array element contains information for one timer (see Section 10.2.2.1)

  • u8NumTimers: Number of timers in the above array

Parent topic:ZTIMER_eInit

Returns

  • E_ZTIMER_OK (timers successfully initialized)

  • E_ZTIMER_FAIL (timers not initialized)

Parent topic:ZTIMER_eInit

Parent topic:ZigBee Timer functions