|
Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Reboot state information. More...
#include <reboot.h>
Data Fields | |
| uint8_t | epoch_time_source |
| First 3 parameters are updated a second time on delayed reboots. | |
| uint64_t | epoch_time |
| The epoch time at the reboot. | |
| uint32_t | uptime |
| The device uptime at the reboot. | |
| enum infuse_reboot_reason | reason |
| Reason for the reboot. | |
| uint32_t | hardware_reason |
| Hardware reboot reason flags. | |
| char | thread_name [8] |
| Thread executing at reboot time. | |
| enum infuse_reboot_info_type | info_type |
| Type of the information in info. | |
| union infuse_reboot_info | info |
| Reboot information. | |
Reboot state information.
| uint64_t infuse_reboot_state::epoch_time |
The epoch time at the reboot.
| uint8_t infuse_reboot_state::epoch_time_source |
First 3 parameters are updated a second time on delayed reboots.
Do not modify the order. The source of epoch time
| uint32_t infuse_reboot_state::hardware_reason |
Hardware reboot reason flags.
| union infuse_reboot_info infuse_reboot_state::info |
Reboot information.
| enum infuse_reboot_info_type infuse_reboot_state::info_type |
Type of the information in info.
| enum infuse_reboot_reason infuse_reboot_state::reason |
Reason for the reboot.
| char infuse_reboot_state::thread_name[8] |
Thread executing at reboot time.
| uint32_t infuse_reboot_state::uptime |
The device uptime at the reboot.