LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
LPC8xx Windowed Watchdog Timer example

Detailed Description

Example description
The WWDT example demonstrates the handling of WDT warning trigger interrupt to enable "safe" operation. The watchdog generates a warning WWDT interrupt and then feeds the WWDT on the warning (the LED0 will toggle on each warning interval cycle).

Special connection requirements
There are no special connection requirements for this example.

Build procedures:
LPC8xx example quickstart for IAR EWARM
LPC8xx example quickstart for Keil uVision4
LPC8xx example quickstart for Code Red Xpresso

Supported boards and board setup:
NXP Xpresso LPC812 board

Submitting LPCOpen issues:
Community support for LPCOpen

Functions

void WDT_IRQHandler (void)
 watchdog timer Interrupt Handler
 
int main (void)
 Application Main entry point.
 

Function Documentation

int main ( void  )

Application Main entry point.

Main program body.

Returns
Nothing (This will not return)

defined(CHIP_LPC175X_6X)

Definition at line 105 of file wwdt.c.

void WDT_IRQHandler ( void  )

watchdog timer Interrupt Handler

Returns
Nothing
Note
Handles watchdog timer warning and timeout events

Definition at line 78 of file wwdt.c.