Developing with ZBOSS for Zigbee
HW platform support - misc

Functions

void zb_reset (zb_uint8_t param)
 
zb_uint8_t zb_get_reset_source (void)
 Get the reason that triggered the last reset. More...
 

Possible reset sources

Note: These values were members of enum zb_reset_source_e type but were converted to a set of macros due to MISRA violations.

#define ZB_RESET_SRC_POWER_ON   0U
 
#define ZB_RESET_SRC_SW_RESET   1U
 
#define ZB_RESET_SRC_RESET_PIN   2U
 
#define ZB_RESET_SRC_BROWN_OUT   3U
 
#define ZB_RESET_SRC_CLOCK_LOSS   4U
 
#define ZB_RESET_SRC_OTHER   5U
 

Detailed Description

Function Documentation

◆ zb_get_reset_source()

zb_uint8_t zb_get_reset_source ( void  )

Get the reason that triggered the last reset.

Returns
reset_source

◆ zb_reset()

void zb_reset ( zb_uint8_t  param)

Platform dependent soft reset