44#define IOT_RESET_SUCCESS ( 0 )
45#define IOT_RESET_FUNCTION_NOT_SUPPORTED ( 1 )
46#define IOT_RESET_INVALID_VALUE ( 2 )
void iot_reset_reboot(IotResetBootFlag_t xResetBootFlag)
iot_reset_reboot is used to reboot the device.
int32_t iot_reset_shutdown(void)
iot_reset_shutdown is used to shutdown the device. If the target does not support shutdown of the dev...
IotResetBootFlag_t
enum for the type of reset to perform
Definition: iot_reset.h:67
int32_t iot_get_reset_reason(IotResetReason_t *xResetReason)
iot_get_reset_reason is used to get the last reset reason. If the underlying HW does not support the ...
IotResetReason_t
enum for the reason of the last reset
Definition: iot_reset.h:52
@ eResetColdBootFlag
Definition: iot_reset.h:69
@ eResetWarmBootFlag
Definition: iot_reset.h:68
@ eResetOther
Definition: iot_reset.h:60
@ eResetBusTimeout
Definition: iot_reset.h:57
@ eResetPmic
Definition: iot_reset.h:58
@ eResetWatchdog
Definition: iot_reset.h:56
@ eResetWarmBoot
Definition: iot_reset.h:54
@ eResetColdBoot
Definition: iot_reset.h:55
@ eResetBrownOut
Definition: iot_reset.h:59
@ eResetPowerOnBoot
Definition: iot_reset.h:53