zpal_library_type_t zpal_get_library_type(void)
Get the node's library type.
void zpal_system_startup(zpal_reset_reason_t reset_reason)
System startup, implemented by Z-Wave SDK.
bool zpal_init_is_valid(uint8_t generic_type, uint8_t specific_type)
Returns whether generic and specific is a valid combination for current chip.
void zpal_init_invalidate(void)
Setup the hardware so that the chip stops working.
zpal_library_type_t
enumeration for library types
Definition zpal_init.h:73
zpal_reset_reason_t zpal_get_reset_reason(void)
Get reset reason.
zpal_reset_reason_t
Reset reason.
Definition zpal_init.h:57
zpal_status_t zpal_init_set_library_type(const zpal_library_type_t library_type)
Set the node's library type This function should be called at the startup code. It can be used if PAL...
@ ZPAL_LIBRARY_TYPE_UNDEFINED
Definition zpal_init.h:76
@ ZPAL_LIBRARY_TYPE_SLAVE
Definition zpal_init.h:75
@ ZPAL_LIBRARY_TYPE_CONTROLLER
Definition zpal_init.h:74
@ ZPAL_RESET_REASON_PIN
Reset triggered by reset pin.
Definition zpal_init.h:58
@ ZPAL_RESET_REASON_POWER_ON
Reset triggered by power on.
Definition zpal_init.h:62
@ zpal_reset_reason_tAMPER
Reset triggered by a tamper attempt.
Definition zpal_init.h:65
@ ZPAL_RESET_REASON_DEEP_SLEEP_WUT
Reset triggered by wake up by timer from deep sleep state.
Definition zpal_init.h:59
@ ZPAL_RESET_REASON_BROWNOUT
Reset triggered by brownout circuit.
Definition zpal_init.h:64
@ ZPAL_RESET_REASON_DEEP_SLEEP_EXT_INT
Reset triggered by external interrupt event in deep sleep state.
Definition zpal_init.h:61
@ ZPAL_RESET_REASON_WATCHDOG
Reset triggered by watchdog.
Definition zpal_init.h:60
@ ZPAL_RESET_REASON_OTHER
Reset triggered by none of the above.
Definition zpal_init.h:66
@ ZPAL_RESET_REASON_SOFTWARE
Reset triggered by software.
Definition zpal_init.h:63
zpal_status_t
ZPAL statuses to be used by ZPAL APIs.
Definition zpal_status.h:38