Data types. More...

Enumerations

enum gos_startup_type_t {
GOS_STARTUP_TYPE_UNKNOWN ,
GOS_STARTUP_TYPE_POWERUP ,
GOS_STARTUP_TYPE_DFU_UPDATE_TO_DATE ,
GOS_STARTUP_TYPE_DFU_SUCCESS ,
GOS_STARTUP_TYPE_DFU_FAILED ,
GOS_STARTUP_TYPE_REBOOT ,
GOS_STARTUP_TYPE_WAKEUP ,
GOS_STARTUP_TYPE_SILABS_FACTORY_RESET ,
GOS_STARTUP_TYPE_PRODUCT_FACTORY_RESET ,
GOS_STARTUP_TYPE_FORCED_SAFEMODE
}
System startup type. More...
enum gos_reset_cause_t {
GOS_RESET_CAUSE_UNKNOWN ,
GOS_RESET_CAUSE_POWER_UP ,
GOS_RESET_CAUSE_WAKEUP ,
GOS_RESET_CAUSE_SOFTWARE ,
GOS_RESET_CAUSE_EXTERNAL
}
Device reset cause. More...

Detailed Description

Data types.

Enumeration Type Documentation

gos_reset_cause_t

Device reset cause.

Indicates the cause for the last system reset

Enumerator
GOS_RESET_CAUSE_UNKNOWN

Unknown reason for reset.

GOS_RESET_CAUSE_POWER_UP

System starting from a power on reset.

GOS_RESET_CAUSE_WAKEUP

System waking from sleep.

GOS_RESET_CAUSE_SOFTWARE

System was reset by software.

GOS_RESET_CAUSE_EXTERNAL

System was reset by external reset pin.

gos_startup_type_t

System startup type.

This indicates how the system is starting up

Enumerator
GOS_STARTUP_TYPE_UNKNOWN

Unknown startup type.

GOS_STARTUP_TYPE_POWERUP

Starting from power up.

GOS_STARTUP_TYPE_DFU_UPDATE_TO_DATE

Starting after DFU, firmware already up-to-date.

GOS_STARTUP_TYPE_DFU_SUCCESS

Starting after DFU, firmware updated successfully.

GOS_STARTUP_TYPE_DFU_FAILED

Starting after DFU, firmware failed to update.

GOS_STARTUP_TYPE_REBOOT

Starting after system reboot invoked.

GOS_STARTUP_TYPE_WAKEUP

Starting after waking from deep sleep.

GOS_STARTUP_TYPE_SILABS_FACTORY_RESET

Starting after Silabs factory reset.

GOS_STARTUP_TYPE_PRODUCT_FACTORY_RESET

Starting after product factory reset.

GOS_STARTUP_TYPE_FORCED_SAFEMODE

Starting after forcefully invoking safemode.