![]() |
LPCOpen Platform
v1.03
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "sys_config.h"#include "cmsis.h"Go to the source code of this file.
Data Structures | |
| struct | IP_WKT_001_T |
| Self wake-up timer register block structure. More... | |
Macros | |
| #define | WKT_CTRL_CLKSEL ((uint32_t) (1 << 0)) |
| #define | WKT_CTRL_ALARMFLAG ((uint32_t) (1 << 1)) |
| #define | WKT_CTRL_CLEARCTR ((uint32_t) (1 << 2)) |
Enumerations | |
| enum | IP_WKT_CLKSRC_T { IP_WKT_CLKSRC_DIVIRC = 0, IP_WKT_CLKSRC_10KHZ = 1 } |
Functions | |
| STATIC INLINE void | IP_WKT_ClearIntStatus (IP_WKT_001_T *pWKT) |
| Clear WKT interrupt status. | |
| STATIC INLINE void | IP_WKT_Stop (IP_WKT_001_T *pWKT) |
| Clear and stop WKT counter. | |
| STATIC INLINE void | IP_WKT_SetClockSource (IP_WKT_001_T *pWKT, IP_WKT_CLKSRC_T clkSrc) |
| Set the WKT clock source. | |
| STATIC INLINE void | IP_WKT_Start (IP_WKT_001_T *pWKT, uint32_t cntVal) |
| Set the WKT counter value & start the counter. | |