![]() |
LPCOpen Platform for LPC18XX/43XX microcontrollers
18XX43XX
LPCOpen Platform for the NXP LPC18XX/43XX family of Microcontrollers
|
Go to the source code of this file.
Data Structures | |
| struct | LPC_WWDT_T |
| Windowed Watchdog register block structure. More... | |
Macros | |
| #define | WATCHDOG_WINDOW_SUPPORT |
| #define | WDT_OSC (CGU_IRC_FREQ) |
| #define | WWDT_WDMOD_BITMASK ((uint32_t) 0x1F) |
| Watchdog Mode register definitions. More... | |
| #define | WWDT_WDMOD_WDEN ((uint32_t) (1 << 0)) |
| #define | WWDT_WDMOD_WDRESET ((uint32_t) (1 << 1)) |
| #define | WWDT_WDMOD_WDTOF ((uint32_t) (1 << 2)) |
| #define | WWDT_WDMOD_WDINT ((uint32_t) (1 << 3)) |
| #define | WWDT_WDMOD_WDPROTECT ((uint32_t) (1 << 4)) |
Functions | |
| void | Chip_WWDT_Init (LPC_WWDT_T *pWWDT) |
| Initialize the Watchdog timer. More... | |
| void | Chip_WWDT_DeInit (LPC_WWDT_T *pWWDT) |
| Shutdown the Watchdog timer. More... | |
| STATIC INLINE void | Chip_WWDT_SetTimeOut (LPC_WWDT_T *pWWDT, uint32_t timeout) |
| Set WDT timeout constant value used for feed. More... | |
| STATIC INLINE void | Chip_WWDT_Feed (LPC_WWDT_T *pWWDT) |
| Feed watchdog timer. More... | |
| STATIC INLINE void | Chip_WWDT_SetWarning (LPC_WWDT_T *pWWDT, uint32_t timeout) |
| Set WWDT warning interrupt. More... | |
| STATIC INLINE void | Chip_WWDT_SetWindow (LPC_WWDT_T *pWWDT, uint32_t timeout) |
| Set WWDT window time. More... | |
| STATIC INLINE void | Chip_WWDT_SetOption (LPC_WWDT_T *pWWDT, uint32_t options) |
| Enable watchdog timer options. More... | |
| STATIC INLINE void | Chip_WWDT_UnsetOption (LPC_WWDT_T *pWWDT, uint32_t options) |
| Disable/clear watchdog timer options. More... | |
| STATIC INLINE void | Chip_WWDT_Start (LPC_WWDT_T *pWWDT) |
| Enable WWDT activity. More... | |
| STATIC INLINE uint32_t | Chip_WWDT_GetStatus (LPC_WWDT_T *pWWDT) |
| Read WWDT status flag. More... | |
| void | Chip_WWDT_ClearStatusFlag (LPC_WWDT_T *pWWDT, uint32_t status) |
| Clear WWDT interrupt status flags. More... | |
| STATIC INLINE uint32_t | Chip_WWDT_GetCurrentCount (LPC_WWDT_T *pWWDT) |
| Get the current value of WDT. More... | |
1.8.3.1