Skip to content
Permalink
Browse files

include: Removing legacy left-overs in wdt.h API header

As title says, struct wdt_config and enum wdt_clock_timeout_cycles are
not used anymore so they can be removed.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
  • Loading branch information...
tbursztyka authored and nashif committed Jun 4, 2019
1 parent 9d11900 commit ef26b7ad76d587fa7b8e7785d8b956b1c12e262c
Showing with 0 additions and 31 deletions.
  1. +0 −31 include/watchdog.h
@@ -28,37 +28,6 @@
extern "C" {
#endif

/**
* WDT clock cycles for timeout type.
*/
enum wdt_clock_timeout_cycles {
WDT_2_16_CYCLES,
WDT_2_17_CYCLES,
WDT_2_18_CYCLES,
WDT_2_19_CYCLES,
WDT_2_20_CYCLES,
WDT_2_21_CYCLES,
WDT_2_22_CYCLES,
WDT_2_23_CYCLES,
WDT_2_24_CYCLES,
WDT_2_25_CYCLES,
WDT_2_26_CYCLES,
WDT_2_27_CYCLES,
WDT_2_28_CYCLES,
WDT_2_29_CYCLES,
WDT_2_30_CYCLES,
WDT_2_31_CYCLES
};

/**
* WDT configuration struct.
*/
struct wdt_config {
u32_t timeout;
void (*interrupt_fn)(struct device *dev);
};


/**
* @brief Pause watchdog timer when CPU is in sleep state.
*/

0 comments on commit ef26b7a

Please sign in to comment.
You can’t perform that action at this time.