Nut/OS  5.0.5
API Reference
XgNutArchCm3Lpc17xxDevWatchDog

Functions

uint32_t Lpc17xxWatchDogStart (uint32_t ms, uint32_t xmode)
 Start the LPC17xx hardware watch dog timer.
void Lpc17xxWatchDogRestart (void)
 Re-start the LPC17xx hardware watch dog timer.
void Lpc17xxWatchDogDisable (void)
 Disable the LPC17xx hardware watch dog timer.
void Lpc17xxWatchDogEnable (void)
 Enable the LPC17xx hardware watch dog timer.

Function Documentation

uint32_t Lpc17xxWatchDogStart ( uint32_t  ms,
uint32_t  xmode 
)

Start the LPC17xx hardware watch dog timer.

For portability, applications should use the platform independent Watchdog Driver API.

References Lpc17xxWatchDogDisable(), Lpc17xxWatchDogRestart(), LPC_WDT, WDT_WDCLKSEL_RC, WDT_WDMOD_WDEN, WDT_WDMOD_WDPROTECT, and WDT_WDMOD_WDRESET.

Referenced by NutWatchDogStart().

Here is the call graph for this function:

void Lpc17xxWatchDogRestart ( void  )

Re-start the LPC17xx hardware watch dog timer.

For portability, applications should use the platform independent Watchdog Driver API.

References __disable_irq(), __enable_irq(), and LPC_WDT.

Referenced by Lpc17xxWatchDogStart(), and NutWatchDogRestart().

Here is the call graph for this function:

void Lpc17xxWatchDogDisable ( void  )

Disable the LPC17xx hardware watch dog timer.

Att: Disabling the watchdog is not supported by hardware

For portability, applications should use the platform independent Watchdog Driver API.

Referenced by Lpc17xxWatchDogStart(), and NutWatchDogDisable().

void Lpc17xxWatchDogEnable ( void  )

Enable the LPC17xx hardware watch dog timer.

Att: Disabling and re-enabling the watchdog is not supported by hardware

For portability, applications should use the platform independent Watchdog Driver API.

Referenced by NutWatchDogEnable().