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
lpc17xx_wdt.h File Reference
: Contains all macro definitions and function prototypes support for WDT firmware library on LPC17xx More...
Go to the source code of this file.
Enumerations | |
enum | WDT_CLK_OPT { WDT_CLKSRC_IRC = 0, WDT_CLKSRC_PCLK = 1, WDT_CLKSRC_RTC = 2 } |
Clock source option for WDT. More... | |
enum | WDT_MODE_OPT { WDT_MODE_INT_ONLY = 0, WDT_MODE_RESET = 1 } |
WDT operation mode. More... | |
Functions | |
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. | |
void | WDT_Feed (void) |
After set WDTEN, call this function to start Watchdog or reload the Watchdog timer. | |
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. | |
uint32_t | WDT_GetCurrentCount (void) |
Get the current value of WDT. |
Detailed Description
: Contains all macro definitions and function prototypes support for WDT firmware library on LPC17xx
- Version:
- : 1.0
- Date:
- : 9. April. 2009
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.h.
Generated on Tue Jul 12 2022 17:06:02 by 1.7.2