Azure Sphere MT3620 M4 API Reference Manual
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Enum

This section introduces the enumerations used by WDT OS-HAL used. More...

Overview

This section introduces the enumerations used by WDT OS-HAL used.

Enumerations

enum  os_wdt_mode {
  OS_WDT_TRIGGER_RESET = 0,
  OS_WDT_TRIGGER_IRQ = 1
}
 The enum definition of WDT event mode. More...
 
enum  os_wdt_rst_sta {
  OS_WDT_NONE_RST = 0,
  OS_WDT_SW_RST = 1,
  OS_WDT_HW_RST = 2
}
 The enum definition of system reset status. More...
 

Enumeration Type Documentation

The enum definition of WDT event mode.


It is used to configure WDT event modes by mtk_os_hal_wdt_config().

Enumerator
OS_WDT_TRIGGER_RESET 

Configure WDT to reset mode.

OS_WDT_TRIGGER_IRQ 

Configure WDT to IRQ mode.

The enum definition of system reset status.


It is used to mark the different kinds of system reset status.

Enumerator
OS_WDT_NONE_RST 

No abnormal reset status.

OS_WDT_SW_RST 

Reset by WDT swrst function.

OS_WDT_HW_RST 

Reset by WDT counter timeout.