NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

lpc17xx_wdt.c File Reference

lpc17xx_wdt.c File Reference

: Contains all functions support for WDT firmware library on LPC17xx More...

Go to the source code of this file.

Functions

uint8_t WDT_SetTimeOut (uint8_t clk_source, uint32_t timeout)
 Set WDT time out value and WDT mode.
void WDT_Init (uint32_t ClkSrc, uint32_t WDTMode)
 Initial for Watchdog function Clock source = RTC ,.
void WDT_Start (uint32_t TimeOut)
 Start WDT activity with given timeout value.
FlagStatus WDT_ReadTimeOutFlag (void)
 Read WDT Time out flag.
void WDT_ClrTimeOutFlag (void)
 Clear WDT Time out flag.
void WDT_UpdateTimeOut (uint32_t TimeOut)
 Update WDT timeout value and feed.
void WDT_Feed (void)
 After set WDTEN, call this function to start Watchdog or reload the Watchdog timer.
uint32_t WDT_GetCurrentCount (void)
 Get the current value of WDT.

Detailed Description

: Contains all functions support for WDT firmware library on LPC17xx

Version:
: 1.0
Date:
: 9. April. 2009
Author:
: HieuNguyen

Software that is described herein is for illustrative purposes only which provides customers with programming information regarding the products. This software is supplied "AS IS" without any warranties. NXP Semiconductors assumes no responsibility or liability for the use of the software, conveys no license or title under any patent, copyright, or mask work right to the product. NXP Semiconductors reserves the right to make changes in the software without notification. NXP Semiconductors also make no representation or warranty that such application will be suitable for the specified use without further testing or modification.

Definition in file lpc17xx_wdt.c.