| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wwdt_17xx_40xx.h File Reference

Go to the source code of this file.

## Macros
#define | WDT_OSC (500000 / 4)
#define | WWDT_TICKS_MIN 0xFF
#define | WWDT_TICKS_MAX 0xFFFFFF

## Functions
void | Chip_WWDT_Init (LPC_WWDT_T *pWWDT)
| Initialize the Watchdog timer.
STATIC INLINE void | Chip_WWDT_DeInit (LPC_WWDT_T *pWWDT)
| Shutdown the Watchdog timer.
STATIC INLINE void | Chip_WWDT_SetTimeOut (LPC_WWDT_T *pWWDT, uint32_t timeout)
| Set WDT timeout constant value used for feed.
STATIC INLINE void | Chip_WWDT_Feed (LPC_WWDT_T *pWWDT)
| Feed watchdog timer.
STATIC INLINE void | Chip_WWDT_SetOption (LPC_WWDT_T *pWWDT, uint32_t options)
| Enable watchdog timer options.
STATIC INLINE void | Chip_WWDT_UnsetOption (LPC_WWDT_T *pWWDT, uint32_t options)
| Disable/clear watchdog timer options.
STATIC INLINE void | Chip_WWDT_Start (LPC_WWDT_T *pWWDT)
| Enable WWDT activity.
STATIC INLINE uint32_t | Chip_WWDT_GetStatus (LPC_WWDT_T *pWWDT)
| Read WWDT status flag.
STATIC INLINE void | Chip_WWDT_ClearStatusFlag (LPC_WWDT_T *pWWDT, uint32_t status)
| Clear WWDT interrupt status flags.
STATIC INLINE uint32_t | Chip_WWDT_GetCurrentCount (LPC_WWDT_T *pWWDT)
| Get the current value of WDT.