ADuCM302x Device Drivers API Reference Manual  Release 3.1.2.0
Static Configuration

Macros

#define ADI_WDT_LOAD_VALUE   (0x1000u)
 
#define ADI_WDT_CONTROL_TIMER_MODE   (1u)
 
#define ADI_WDT_CONTROL_CLOCK_PRESCALER   (2u)
 
#define ADI_WDT_CONTROL_TIMEOUT_MODE   (0u)
 
#define ADI_WDT_CONTROL_POWER_MODE   (1u)
 

Detailed Description

Macro Definition Documentation

◆ ADI_WDT_LOAD_VALUE

#define ADI_WDT_LOAD_VALUE   (0x1000u)

WDT Timer Reload Value
Value used to reload the WDT count register after count expires.
0-65535 - WDT reload value (default is 0x0100).

Definition at line 62 of file adi_wdt_config.h.

Referenced by adi_wdt_Enable().

◆ ADI_WDT_CONTROL_TIMER_MODE

#define ADI_WDT_CONTROL_TIMER_MODE   (1u)

WDT Timer Mode
Selects WDT operating mode.
0 - WDT operates in free-running mode.
1 - WDT operates in periodic mode (default).

Definition at line 69 of file adi_wdt_config.h.

Referenced by adi_wdt_Enable().

◆ ADI_WDT_CONTROL_CLOCK_PRESCALER

#define ADI_WDT_CONTROL_CLOCK_PRESCALER   (2u)

WDT Clock Prescaler
Controls WDT clock prescale.
0 - WDT operates at (source clock)/1.
1 - WDT operates at (source clock)/16.
2 - WDT operates at (source clock)/256 (default).

Definition at line 77 of file adi_wdt_config.h.

Referenced by adi_wdt_Enable().

◆ ADI_WDT_CONTROL_TIMEOUT_MODE

#define ADI_WDT_CONTROL_TIMEOUT_MODE   (0u)

WDT Timeout Mode
Controls WDT timeout behaviour.
0 - WDT issues RESET on timeout (default).
1 - WDT issues INTERRUPT on timeout.

Definition at line 84 of file adi_wdt_config.h.

Referenced by adi_wdt_Enable().

◆ ADI_WDT_CONTROL_POWER_MODE

#define ADI_WDT_CONTROL_POWER_MODE   (1u)

WDT Power Mode Disable
Controls WDT countdown in hibernate or halted mode.
0 - WDT continues to count down when core is halted or in hibernate.
1 - WDT pauses count down when core is halted or in hibernate (default).

Definition at line 91 of file adi_wdt_config.h.

Referenced by adi_wdt_Enable().