LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
app_pmc_states.c File Reference
#include <stdlib.h>
#include <string.h>
#include "board.h"
#include "chip.h"

Go to the source code of this file.

Data Structures

struct  CLK_BASE_STATES
 

Macros

#define RTC_ALARM_TIME   5
 

Functions

static void PMC_Get_Wakeup_option (uint8_t *Wakeup_rtc)
 
static void PMC_Pre_SleepPowerDown (void)
 
static void PMC_Post_Wakeup (uint8_t buffer)
 
static void PMC_Evrt_Configure (CHIP_EVRT_SRC_T Evrt_Src)
 
static void PMC_PwrState_Handler (uint8_t buffer, uint8_t Wake_RTC)
 
void EVRT_IRQHandler (void)
 Event router interrupt handler.
 
int main (void)
 Main entry point.
 

Variables

static char menu []
 
static char menu1 []
 
static char menu2 [] = "PMC demo example terimnated \r\n"
 
static char menu3 [] = "\r\nPress 'C' or 'c' to start demo...\r\n"
 
static struct CLK_BASE_STATES InitClkStates []