Stack counters API. More...

Functions

EmberStatus emberGetCounter ( EmberCounterType counterType, uint32_t *count)
Retrieve the stack counter corresponding to the passed counter type. More...

Detailed Description

Stack counters API.

Function Documentation

emberGetCounter()

EmberStatus emberGetCounter ( EmberCounterType counterType,
uint32_t * count
)

Retrieve the stack counter corresponding to the passed counter type.

Parameters
[in] counterType An EmberCounterType value indicating the stack counter to be retrieved.
[out] count The counter of the requested counterType is returned here
Returns
An EmberStatus value of EMBER_SUCCESS if the stack counter was successfully retrieved. An EmberStatus value of EMBER_INVALID_CALL if the passed counterType is invalid. An EmberStatus value of EMBER_LIBRARY_NOT_PRESENT if the stack counter library is not present.