Intel® Quark™ Microcontroller Software Interface  1.4.0
Intel® Quark™ Microcontroller BSP
qm_wdt_config_t Struct Reference

QM WDT configuration type. More...

#include <qm_wdt.h>

Data Fields

uint32_t timeout
 Index for the WDT timeout table. More...
 
qm_wdt_mode_t mode
 Watchdog response mode. More...
 
bool pause_en
 Pause enable in LMT power state C2 and C2 Plus. More...
 
void(* callback )(void *data)
 User callback. More...
 
void * callback_data
 Callback user data. More...
 

Detailed Description

QM WDT configuration type.

Definition at line 39 of file qm_wdt.h.

Field Documentation

void(* qm_wdt_config_t::callback)(void *data)

User callback.

param[in] data Callback user data.

Definition at line 68 of file qm_wdt.h.

Referenced by qm_wdt_set_config().

void* qm_wdt_config_t::callback_data

Callback user data.

Definition at line 69 of file qm_wdt.h.

Referenced by qm_wdt_set_config().

qm_wdt_mode_t qm_wdt_config_t::mode

Watchdog response mode.

Definition at line 48 of file qm_wdt.h.

Referenced by qm_wdt_set_config().

bool qm_wdt_config_t::pause_en

Pause enable in LMT power state C2 and C2 Plus.

When equal to 1, the WDT is paused when LMT enters the C2 state. When equal to 0, the WDT is not paused when LMT enters the C2 state.

This field applies only to Watchdogs on AON power island.

Definition at line 60 of file qm_wdt.h.

Referenced by qm_wdt_set_config().

uint32_t qm_wdt_config_t::timeout

Index for the WDT timeout table.

For each instantiation of WDT there are multiple timeout values pre-programmed in hardware. Reference the SoC datasheet or register file for the table associated to the WDT being configured.

Definition at line 47 of file qm_wdt.h.

Referenced by qm_wdt_set_config().