2023-01-26 02:53:53 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.5" / >
2024-04-12 13:21:49 +00:00
< title > MCUXpresso SDK API Reference Manual: WWDT: Windowed Watchdog Timer Driver< / title >
2023-01-26 02:53:53 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" >
$(document).ready(initResizable);
$(window).load(resizeHeight);
< / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "fs_logo.gif" / > < / td >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > MCUXpresso SDK API Reference Manual
2024-04-12 13:21:49 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2023-01-26 02:53:53 +00:00
< / div >
< div id = "projectbrief" > NXP Semiconductors< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > API  Reference< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
$(document).ready(function(){initNavTree('a00066.html','');});
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Data Structures< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Groups< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#files" > Files< / a > |
2024-04-12 13:21:49 +00:00
< a href = "#nested-classes" > Data Structures< / a > |
< a href = "#typedef-members" > Typedefs< / a > |
< a href = "#enum-members" > Enumerations< / a > < / div >
2023-01-26 02:53:53 +00:00
< div class = "headertitle" >
2024-04-12 13:21:49 +00:00
< div class = "title" > WWDT: Windowed Watchdog Timer Driver< / div > < / div >
2023-01-26 02:53:53 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2024-04-12 13:21:49 +00:00
< p > The MCUXpresso SDK provides a peripheral driver for the Watchdog module (WDOG) of MCUXpresso SDK devices.< / p >
< h1 > < a class = "anchor" id = "WWDTFunc" > < / a >
Function groups< / h1 >
< h2 > < a class = "anchor" id = "WWDTInit" > < / a >
Initialization and deinitialization< / h2 >
< p > The function < a class = "el" href = "a00066.html#gadc47d88ae20552f9cd9999e6f8fc5ebe" title = "Initializes the WWDT. " > WWDT_Init()< / a > initializes the watchdog timer with specified configurations. The configurations include timeout value and whether to enable watchdog after init. The function < a class = "el" href = "a00066.html#gacfd7070829029279f3b3bfb763b86914" title = "Initializes WWDT configure structure. " > WWDT_GetDefaultConfig()< / a > gets the default configurations.< / p >
< p > The function < a class = "el" href = "a00066.html#gaae4415d32cd0f67908d0ab9494736742" title = "Shuts down the WWDT. " > WWDT_Deinit()< / a > disables the watchdog and the module clock.< / p >
< h2 > < a class = "anchor" id = "WWDTStatus" > < / a >
Status< / h2 >
< p > Provides functions to get and clear the WWDT status.< / p >
< h2 > < a class = "anchor" id = "WWDTInterrupt" > < / a >
Interrupt< / h2 >
< p > Provides functions to enable/disable WWDT interrupts and get current enabled interrupts.< / p >
< h2 > < a class = "anchor" id = "WWDTRefresh" > < / a >
Watch dog Refresh< / h2 >
< p > The function < a class = "el" href = "a00066.html#gab1745efaa7c33fab66a552fd45e01d83" title = "Refreshes the WWDT timer. " > WWDT_Refresh()< / a > feeds the WWDT.< / p >
< h1 > < a class = "anchor" id = "WWDTTypUC" > < / a >
Typical use case< / h1 >
< p > Refer to the driver examples codes located at < SDK_ROOT> /boards/< BOARD> /driver_examples/wwdt < / p >
2023-01-26 02:53:53 +00:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "files" > < / a >
Files< / h2 > < / td > < / tr >
2024-04-12 13:21:49 +00:00
< tr class = "memitem:a00228" > < td class = "memItemLeft" align = "right" valign = "top" > file   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00228.html" > fsl_wwdt.h< / a > < / td > < / tr >
2023-01-26 02:53:53 +00:00
< tr class = "separator:" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2024-04-12 13:21:49 +00:00
< tr class = "memitem:a00445" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#a00445" > _wwdt_config< / a > < / td > < / tr >
< tr class = "memdesc:a00445" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Describes WWDT configuration structure. < a href = "a00066.html#a00445" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00445" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
< tr class = "memitem:gade4f744368e9723e83fdefb72e88e692" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < a class = "el" href = "a00066.html#a00445" > _wwdt_config< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" > wwdt_config_t< / a > < / td > < / tr >
< tr class = "memdesc:gade4f744368e9723e83fdefb72e88e692" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Describes WWDT configuration structure. < a href = "#gade4f744368e9723e83fdefb72e88e692" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gade4f744368e9723e83fdefb72e88e692" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
< tr class = "memitem:gaca0e9724bd1f25336527ea66c77e476f" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gaca0e9724bd1f25336527ea66c77e476f" > _wwdt_status_flags_t< / a > { < br / >
    < a class = "el" href = "a00066.html#ggaca0e9724bd1f25336527ea66c77e476faea9db9afc1f9c70872a755eaa24a4184" > kWWDT_TimeoutFlag< / a > = WWDT_MOD_WDTOF_MASK,
< br / >
    < a class = "el" href = "a00066.html#ggaca0e9724bd1f25336527ea66c77e476fa825be03d771f06e1d6cf947ca78f857e" > kWWDT_WarningFlag< / a > = WWDT_MOD_WDINT_MASK
< br / >
}< / td > < / tr >
< tr class = "memdesc:gaca0e9724bd1f25336527ea66c77e476f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > WWDT status flags. < a href = "a00066.html#gaca0e9724bd1f25336527ea66c77e476f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaca0e9724bd1f25336527ea66c77e476f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
Driver version< / h2 > < / td > < / tr >
2024-04-12 13:21:49 +00:00
< tr class = "memitem:gaf661d1e3e19a80b873c54fdbad5e966a" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gaf661d1e3e19a80b873c54fdbad5e966a" > FSL_WWDT_DRIVER_VERSION< / a >       (< a class = "el" href = "a00242.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 1, 9))< / td > < / tr >
< tr class = "memdesc:gaf661d1e3e19a80b873c54fdbad5e966a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Defines WWDT driver version. < a href = "#gaf661d1e3e19a80b873c54fdbad5e966a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf661d1e3e19a80b873c54fdbad5e966a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
Refresh sequence< / h2 > < / td > < / tr >
< tr class = "memitem:ga56228a5472034e453003e7f375c824ab" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga56228a5472034e453003e7f375c824ab" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ga56228a5472034e453003e7f375c824ab" > WWDT_FIRST_WORD_OF_REFRESH< / a >       (0xAAU)< / td > < / tr >
< tr class = "memdesc:ga56228a5472034e453003e7f375c824ab" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > First word of refresh sequence. < br / > < / td > < / tr >
< tr class = "separator:ga56228a5472034e453003e7f375c824ab" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab483f5384985a23bb28889b3c31da9ee" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gab483f5384985a23bb28889b3c31da9ee" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gab483f5384985a23bb28889b3c31da9ee" > WWDT_SECOND_WORD_OF_REFRESH< / a >       (0x55U)< / td > < / tr >
< tr class = "memdesc:gab483f5384985a23bb28889b3c31da9ee" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Second word of refresh sequence. < br / > < / td > < / tr >
< tr class = "separator:gab483f5384985a23bb28889b3c31da9ee" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2024-04-12 13:21:49 +00:00
WWDT Initialization and De-initialization< / h2 > < / td > < / tr >
< tr class = "memitem:gacfd7070829029279f3b3bfb763b86914" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gacfd7070829029279f3b3bfb763b86914" > WWDT_GetDefaultConfig< / a > (< a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" > wwdt_config_t< / a > *config)< / td > < / tr >
< tr class = "memdesc:gacfd7070829029279f3b3bfb763b86914" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes WWDT configure structure. < a href = "#gacfd7070829029279f3b3bfb763b86914" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gacfd7070829029279f3b3bfb763b86914" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadc47d88ae20552f9cd9999e6f8fc5ebe" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gadc47d88ae20552f9cd9999e6f8fc5ebe" > WWDT_Init< / a > (WWDT_Type *base, const < a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" > wwdt_config_t< / a > *config)< / td > < / tr >
< tr class = "memdesc:gadc47d88ae20552f9cd9999e6f8fc5ebe" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the WWDT. < a href = "#gadc47d88ae20552f9cd9999e6f8fc5ebe" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadc47d88ae20552f9cd9999e6f8fc5ebe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaae4415d32cd0f67908d0ab9494736742" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gaae4415d32cd0f67908d0ab9494736742" > WWDT_Deinit< / a > (WWDT_Type *base)< / td > < / tr >
< tr class = "memdesc:gaae4415d32cd0f67908d0ab9494736742" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Shuts down the WWDT. < a href = "#gaae4415d32cd0f67908d0ab9494736742" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaae4415d32cd0f67908d0ab9494736742" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
WWDT Functional Operation< / h2 > < / td > < / tr >
< tr class = "memitem:ga2620dd2baf891f32359fbe85faaca563" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ga2620dd2baf891f32359fbe85faaca563" > WWDT_Enable< / a > (WWDT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga2620dd2baf891f32359fbe85faaca563" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables the WWDT module. < a href = "#ga2620dd2baf891f32359fbe85faaca563" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2620dd2baf891f32359fbe85faaca563" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga358bab6648d05345bda057a72cfb5547" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ga358bab6648d05345bda057a72cfb5547" > WWDT_Disable< / a > (WWDT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga358bab6648d05345bda057a72cfb5547" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables the WWDT module. < a href = "#ga358bab6648d05345bda057a72cfb5547" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga358bab6648d05345bda057a72cfb5547" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1c5dae412d14eba38f2b63abb9f982d6" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ga1c5dae412d14eba38f2b63abb9f982d6" > WWDT_GetStatusFlags< / a > (WWDT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga1c5dae412d14eba38f2b63abb9f982d6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets all WWDT status flags. < a href = "#ga1c5dae412d14eba38f2b63abb9f982d6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1c5dae412d14eba38f2b63abb9f982d6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5666008b33bf327c80afb90e0733512e" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ga5666008b33bf327c80afb90e0733512e" > WWDT_ClearStatusFlags< / a > (WWDT_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga5666008b33bf327c80afb90e0733512e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clear WWDT flag. < a href = "#ga5666008b33bf327c80afb90e0733512e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5666008b33bf327c80afb90e0733512e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac575fb8568458aa8acbbed14d5aa5ffd" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gac575fb8568458aa8acbbed14d5aa5ffd" > WWDT_SetWarningValue< / a > (WWDT_Type *base, uint32_t warningValue)< / td > < / tr >
< tr class = "memdesc:gac575fb8568458aa8acbbed14d5aa5ffd" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set the WWDT warning value. < a href = "#gac575fb8568458aa8acbbed14d5aa5ffd" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac575fb8568458aa8acbbed14d5aa5ffd" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad2351329bb1ff6b966decec266d7ec16" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gad2351329bb1ff6b966decec266d7ec16" > WWDT_SetTimeoutValue< / a > (WWDT_Type *base, uint32_t timeoutCount)< / td > < / tr >
< tr class = "memdesc:gad2351329bb1ff6b966decec266d7ec16" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set the WWDT timeout value. < a href = "#gad2351329bb1ff6b966decec266d7ec16" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad2351329bb1ff6b966decec266d7ec16" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga66b5c37906be6083f083a436eebbe778" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ga66b5c37906be6083f083a436eebbe778" > WWDT_SetWindowValue< / a > (WWDT_Type *base, uint32_t windowValue)< / td > < / tr >
< tr class = "memdesc:ga66b5c37906be6083f083a436eebbe778" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the WWDT window value. < a href = "#ga66b5c37906be6083f083a436eebbe778" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga66b5c37906be6083f083a436eebbe778" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab1745efaa7c33fab66a552fd45e01d83" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#gab1745efaa7c33fab66a552fd45e01d83" > WWDT_Refresh< / a > (WWDT_Type *base)< / td > < / tr >
< tr class = "memdesc:gab1745efaa7c33fab66a552fd45e01d83" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Refreshes the WWDT timer. < a href = "#gab1745efaa7c33fab66a552fd45e01d83" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab1745efaa7c33fab66a552fd45e01d83" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-04-12 13:21:49 +00:00
< a name = "a00445" id = "a00445" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > struct _wwdt_config< / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "textblock" > < / div > < table class = "memberdecls" >
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-04-12 13:21:49 +00:00
< tr class = "memitem:a4a2401c8e97f8eced0fdca7ffdabacbc" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a4a2401c8e97f8eced0fdca7ffdabacbc" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#a4a2401c8e97f8eced0fdca7ffdabacbc" > enableWwdt< / a > < / td > < / tr >
< tr class = "memdesc:a4a2401c8e97f8eced0fdca7ffdabacbc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables or disables WWDT. < br / > < / td > < / tr >
< tr class = "separator:a4a2401c8e97f8eced0fdca7ffdabacbc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a6ff22b44e352c0182bdd87b9ff61ee2e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a6ff22b44e352c0182bdd87b9ff61ee2e" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#a6ff22b44e352c0182bdd87b9ff61ee2e" > enableWatchdogReset< / a > < / td > < / tr >
< tr class = "memdesc:a6ff22b44e352c0182bdd87b9ff61ee2e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > true: Watchdog timeout will cause a chip reset false: Watchdog timeout will not cause a chip reset < br / > < / td > < / tr >
< tr class = "separator:a6ff22b44e352c0182bdd87b9ff61ee2e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adf57c281f83db946ed4553f513f00061" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "adf57c281f83db946ed4553f513f00061" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#adf57c281f83db946ed4553f513f00061" > enableWatchdogProtect< / a > < / td > < / tr >
< tr class = "memdesc:adf57c281f83db946ed4553f513f00061" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > true: Enable watchdog protect i.e timeout value can only be changed after counter is below warning & window values false: Disable watchdog protect; timeout value can be changed at any time < br / > < / td > < / tr >
< tr class = "separator:adf57c281f83db946ed4553f513f00061" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ad7c0d3a959ecac990eed2c9cfc1a0f09" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ad7c0d3a959ecac990eed2c9cfc1a0f09" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ad7c0d3a959ecac990eed2c9cfc1a0f09" > windowValue< / a > < / td > < / tr >
< tr class = "memdesc:ad7c0d3a959ecac990eed2c9cfc1a0f09" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Window value, set this to 0xFFFFFF if windowing is not in effect. < br / > < / td > < / tr >
< tr class = "separator:ad7c0d3a959ecac990eed2c9cfc1a0f09" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab55d5525745d39713c954d1296e2a9df" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ab55d5525745d39713c954d1296e2a9df" > < / a >
uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#ab55d5525745d39713c954d1296e2a9df" > timeoutValue< / a > < / td > < / tr >
< tr class = "memdesc:ab55d5525745d39713c954d1296e2a9df" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Timeout value. < br / > < / td > < / tr >
< tr class = "separator:ab55d5525745d39713c954d1296e2a9df" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a350a5289fd77fc6f5b2834a66726d80e" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#a350a5289fd77fc6f5b2834a66726d80e" > warningValue< / a > < / td > < / tr >
< tr class = "memdesc:a350a5289fd77fc6f5b2834a66726d80e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Watchdog time counter value that will generate a warning interrupt. < a href = "#a350a5289fd77fc6f5b2834a66726d80e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a350a5289fd77fc6f5b2834a66726d80e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acbab700e360be852f9b80ab4a37d8f68" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00066.html#acbab700e360be852f9b80ab4a37d8f68" > clockFreq_Hz< / a > < / td > < / tr >
< tr class = "memdesc:acbab700e360be852f9b80ab4a37d8f68" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Watchdog clock source frequency. < a href = "#acbab700e360be852f9b80ab4a37d8f68" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:acbab700e360be852f9b80ab4a37d8f68" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
2024-04-12 13:21:49 +00:00
< h4 class = "groupheader" > Field Documentation< / h4 >
< a class = "anchor" id = "a350a5289fd77fc6f5b2834a66726d80e" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t _wwdt_config::warningValue< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Set this to 0 for no warning < / p >
< / div >
< / div >
< a class = "anchor" id = "acbab700e360be852f9b80ab4a37d8f68" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t _wwdt_config::clockFreq_Hz< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-01-26 02:53:53 +00:00
< / div >
< / div >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "gaf661d1e3e19a80b873c54fdbad5e966a" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > #define FSL_WWDT_DRIVER_VERSION      (< a class = "el" href = "a00242.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 1, 9))< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "gade4f744368e9723e83fdefb72e88e692" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > typedef struct < a class = "el" href = "a00066.html#a00445" > _wwdt_config< / a > < a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" > wwdt_config_t< / a > < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< / div >
< / div >
< h2 class = "groupheader" > Enumeration Type Documentation< / h2 >
< a class = "anchor" id = "gaca0e9724bd1f25336527ea66c77e476f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00066.html#gaca0e9724bd1f25336527ea66c77e476f" > _wwdt_status_flags_t< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This structure contains the WWDT status flags for use in the WWDT functions. < / p >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaca0e9724bd1f25336527ea66c77e476faea9db9afc1f9c70872a755eaa24a4184" > < / a > kWWDT_TimeoutFlag< / em > < / td > < td class = "fielddoc" >
< p > Time-out flag, set when the timer times out. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaca0e9724bd1f25336527ea66c77e476fa825be03d771f06e1d6cf947ca78f857e" > < / a > kWWDT_WarningFlag< / em > < / td > < td class = "fielddoc" >
< p > Warning interrupt flag, set when timer is below the value WDWARNINT. < / p >
< / td > < / tr >
< / table >
2023-01-26 02:53:53 +00:00
< / div >
< / div >
< h2 class = "groupheader" > Function Documentation< / h2 >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "gacfd7070829029279f3b3bfb763b86914" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > void WWDT_GetDefaultConfig < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > < a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" > wwdt_config_t< / a > *  < / td >
< td class = "paramname" > < em > config< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This function initializes the WWDT configure structure to default value. The default value are: < / p >
< div class = "fragment" > < div class = "line" > * config-> enableWwdt = < span class = "keyword" > true< / span > ;< / div >
< div class = "line" > * config-> enableWatchdogReset = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> enableWatchdogProtect = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> enableLockOscillator = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> windowValue = 0xFFFFFFU;< / div >
< div class = "line" > * config-> timeoutValue = 0xFFFFFFU;< / div >
< div class = "line" > * config-> warningValue = 0;< / div >
< div class = "line" > * < / div >
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > config< / td > < td > Pointer to WWDT config structure. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section see" > < dt > See Also< / dt > < dd > < a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" title = "Describes WWDT configuration structure. " > wwdt_config_t< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gadc47d88ae20552f9cd9999e6f8fc5ebe" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void WWDT_Init < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > const < a class = "el" href = "a00066.html#gade4f744368e9723e83fdefb72e88e692" > wwdt_config_t< / a > *  < / td >
< td class = "paramname" > < em > config< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This function initializes the WWDT. When called, the WWDT runs according to the configuration.< / p >
< p > Example: < / p >
< div class = "fragment" > < div class = "line" > * < a class = "code" href = "a00066.html#a00445" > wwdt_config_t< / a > config;< / div >
< div class = "line" > * < a class = "code" href = "a00066.html#gacfd7070829029279f3b3bfb763b86914" > WWDT_GetDefaultConfig< / a > (& config);< / div >
< div class = "line" > * config.< a class = "code" href = "a00066.html#ab55d5525745d39713c954d1296e2a9df" > timeoutValue< / a > = 0x7ffU;< / div >
< div class = "line" > * < a class = "code" href = "a00066.html#gadc47d88ae20552f9cd9999e6f8fc5ebe" > WWDT_Init< / a > (wwdt_base,& config);< / div >
< div class = "line" > * < / div >
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > config< / td > < td > The configuration of WWDT < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "gaae4415d32cd0f67908d0ab9494736742" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void WWDT_Deinit < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This function shuts down the WWDT.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga2620dd2baf891f32359fbe85faaca563" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void WWDT_Enable < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This function write value into WWDT_MOD register to enable the WWDT, it is a write-once bit; once this bit is set to one and a watchdog feed is performed, the watchdog timer will run permanently.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga358bab6648d05345bda057a72cfb5547" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void WWDT_Disable < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00296.html#_deprecated000013" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It will be deleted in next release version, for once the bit field of WDEN written with a 1, it can not be re-written with a 0.< / dd > < / dl >
< p > This function write value into WWDT_MOD register to disable the WWDT.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga1c5dae412d14eba38f2b63abb9f982d6" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static uint32_t WWDT_GetStatusFlags < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This function gets all status flags.< / p >
< p > Example for getting Timeout Flag: < / p >
< div class = "fragment" > < div class = "line" > * uint32_t status;< / div >
< div class = "line" > * status = < a class = "code" href = "a00066.html#ga1c5dae412d14eba38f2b63abb9f982d6" > WWDT_GetStatusFlags< / a > (wwdt_base) & < a class = "code" href = "a00066.html#ggaca0e9724bd1f25336527ea66c77e476faea9db9afc1f9c70872a755eaa24a4184" > kWWDT_TimeoutFlag< / a > ;< / div >
< div class = "line" > * < / div >
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > The status flags. This is the logical OR of members of the enumeration < a class = "el" href = "a00066.html#gaca0e9724bd1f25336527ea66c77e476f" title = "WWDT status flags. " > _wwdt_status_flags_t< / a > < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga5666008b33bf327c80afb90e0733512e" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void WWDT_ClearStatusFlags < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
2023-01-26 02:53:53 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > This function clears WWDT status flag.< / p >
< p > Example for clearing warning flag: < / p >
< div class = "fragment" > < div class = "line" > * < a class = "code" href = "a00066.html#ga5666008b33bf327c80afb90e0733512e" > WWDT_ClearStatusFlags< / a > (wwdt_base, < a class = "code" href = "a00066.html#ggaca0e9724bd1f25336527ea66c77e476fa825be03d771f06e1d6cf947ca78f857e" > kWWDT_WarningFlag< / a > );< / div >
< div class = "line" > * < / div >
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > The status flags to clear. This is a logical OR of members of the enumeration < a class = "el" href = "a00066.html#gaca0e9724bd1f25336527ea66c77e476f" title = "WWDT status flags. " > _wwdt_status_flags_t< / a > < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "gac575fb8568458aa8acbbed14d5aa5ffd" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void WWDT_SetWarningValue < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramname" > < em > warningValue< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2024-04-12 13:21:49 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2023-01-26 02:53:53 +00:00
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > The WDWARNINT register determines the watchdog timer counter value that will generate a watchdog interrupt. When the watchdog timer counter is no longer greater than the value defined by WARNINT, an interrupt will be generated after the subsequent WDCLK.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > warningValue< / td > < td > WWDT warning value. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "gad2351329bb1ff6b966decec266d7ec16" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-04-12 13:21:49 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2023-01-26 02:53:53 +00:00
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > static void WWDT_SetTimeoutValue < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2023-01-26 02:53:53 +00:00
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > timeoutCount< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< / table >
2024-04-12 13:21:49 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2023-01-26 02:53:53 +00:00
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function sets the timeout value. Every time a feed sequence occurs the value in the TC register is loaded into the Watchdog timer. Writing a value below 0xFF will cause 0xFF to be loaded into the TC register. Thus the minimum time-out interval is TWDCLK*256*4. If enableWatchdogProtect flag is true in wwdt_config_t config structure, any attempt to change the timeout value before the watchdog counter is below the warning and window values will cause a watchdog reset and set the WDTOF flag.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > timeoutCount< / td > < td > WWDT timeout value, count of WWDT clock tick. < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-04-12 13:21:49 +00:00
< a class = "anchor" id = "ga66b5c37906be6083f083a436eebbe778" > < / a >
2023-01-26 02:53:53 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-04-12 13:21:49 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2023-01-26 02:53:53 +00:00
< table class = "memname" >
< tr >
2024-04-12 13:21:49 +00:00
< td class = "memname" > static void WWDT_SetWindowValue < / td >
2023-01-26 02:53:53 +00:00
< td > (< / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-04-12 13:21:49 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > windowValue< / em >   < / td >
2023-01-26 02:53:53 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2024-04-12 13:21:49 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > The WINDOW register determines the highest TV value allowed when a watchdog feed is performed. If a feed sequence occurs when timer value is greater than the value in WINDOW, a watchdog event will occur. To disable windowing, set windowValue to 0xFFFFFF (maximum possible timer value) so windowing is not in effect.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > windowValue< / td > < td > WWDT window value. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "gab1745efaa7c33fab66a552fd45e01d83" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void WWDT_Refresh < / td >
< td > (< / td >
< td class = "paramtype" > WWDT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
2023-01-26 02:53:53 +00:00
< / div > < div class = "memdoc" >
2024-04-12 13:21:49 +00:00
< p > This function feeds the WWDT. This function should be called before WWDT timer is in timeout. Otherwise, a reset is asserted.< / p >
2023-01-26 02:53:53 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-04-12 13:21:49 +00:00
< tr > < td class = "paramname" > base< / td > < td > WWDT peripheral base address < / td > < / tr >
2023-01-26 02:53:53 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.5 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul class = "foot" >
< li class = "footer" > © 2016 NXP Semiconductors. All rights reserved.
< / li >
< / ul >
< / div >
< / body >
< / html >