|
FreeRTOS:
Common I/O
AWS IoT Common I/O library
|
| Return to main page ↑ |
This file contains all the Reset HAL API definitions. More...
#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | IOT_RESET_SUCCESS ( 0 ) |
| #define | IOT_RESET_FUNCTION_NOT_SUPPORTED ( 1 ) |
| #define | IOT_RESET_INVALID_VALUE ( 2 ) |
Enumerations | |
| enum | IotResetReason_t { eResetPowerOnBoot, eResetWarmBoot, eResetColdBoot, eResetWatchdog, eResetBusTimeout, eResetPmic, eResetBrownOut, eResetOther } |
| enum | IotResetBootFlag_t { eResetWarmBootFlag, eResetColdBootFlag } |
Functions | |
| void | iot_reset_reboot (IotResetBootFlag_t xResetBootFlag) |
| iot_reset_reboot is used to reboot the device. More... | |
| int32_t | iot_reset_shutdown () |
| iot_reset_shutdown is used to shutdown the device. If the target does not support shutdown of the device, IOT_RESET_FUNCTION_NOT_SUPPORTED is returned to the user. More... | |
| 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 feature of persisting the reset reason, then this API will return IOT_RESET_FUNCTION_NOT_SUPPORTED error with the value in out as don't care. More... | |
This file contains all the Reset HAL API definitions.