Home
last modified time | relevance | path

Searched refs:reset_status (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/hwinfo/
Dhwinfo_ambiq.c51 uint32_t reset_status = 0; in z_impl_hwinfo_get_reset_cause() local
56 reset_status = status.eStatus; in z_impl_hwinfo_get_reset_cause()
59 if (reset_status & AM_HAL_RESET_STATUS_EXTERNAL) { in z_impl_hwinfo_get_reset_cause()
64 if (reset_status & AM_HAL_RESET_STATUS_POR) { in z_impl_hwinfo_get_reset_cause()
69 if (reset_status & AM_HAL_RESET_STATUS_BOD) { in z_impl_hwinfo_get_reset_cause()
74 if (reset_status & AM_HAL_RESET_STATUS_SWPOR) { in z_impl_hwinfo_get_reset_cause()
79 if (reset_status & AM_HAL_RESET_STATUS_SWPOI) { in z_impl_hwinfo_get_reset_cause()
84 if (reset_status & AM_HAL_RESET_STATUS_DEBUGGER) { in z_impl_hwinfo_get_reset_cause()
89 if (reset_status & AM_HAL_RESET_STATUS_WDT) { in z_impl_hwinfo_get_reset_cause()
94 if (reset_status & AM_HAL_RESET_STATUS_BOUNREG) { in z_impl_hwinfo_get_reset_cause()
[all …]
/Zephyr-latest/include/zephyr/drivers/
Dreset.h224 __syscall int reset_status(const struct device *dev, uint32_t id, uint8_t *status);
251 return reset_status(spec->dev, spec->id, status); in reset_status_dt()