]> git.sur5r.net Git - freertos/blob - FreeRTOS-Plus/Demo/FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC/ThirdParty/CMSISv2p10_LPC18xx_DriverLib/inc/lpc18xx_pwr.h
Update copyright date ready for tagging V10.1.0.
[freertos] / FreeRTOS-Plus / Demo / FreeRTOS_Plus_UDP_and_CLI_LPC1830_GCC / ThirdParty / CMSISv2p10_LPC18xx_DriverLib / inc / lpc18xx_pwr.h
1 /**********************************************************************\r
2 * $Id$          lpc18xx_pwr.h           2011-06-02\r
3 *//**\r
4 * @file         lpc18xx_pwr.h\r
5 * @brief        Contains all macro definitions and function prototypes\r
6 *                       support for Power Control firmware library on LPC18xx\r
7 * @version      1.0\r
8 * @date         02. June. 2011\r
9 * @author       NXP MCU SW Application Team\r
10 *\r
11 * Copyright(C) 2011, NXP Semiconductor\r
12 * All rights reserved.\r
13 *\r
14 ***********************************************************************\r
15 * Software that is described herein is for illustrative purposes only\r
16 * which provides customers with programming information regarding the\r
17 * products. This software is supplied "AS IS" without any warranties.\r
18 * NXP Semiconductors assumes no responsibility or liability for the\r
19 * use of the software, conveys no license or title under any patent,\r
20 * copyright, or mask work right to the product. NXP Semiconductors\r
21 * reserves the right to make changes in the software without\r
22 * notification. NXP Semiconductors also make no representation or\r
23 * warranty that such application will be suitable for the specified\r
24 * use without further testing or modification.\r
25 **********************************************************************/\r
26 \r
27 /* Peripheral group ----------------------------------------------------------- */\r
28 /** @defgroup PWR PWR (Power Control)\r
29  * @ingroup LPC1800CMSIS_FwLib_Drivers\r
30  * @{\r
31  */\r
32 \r
33 #ifndef LPC18XX_PWR_H_\r
34 #define LPC18XX_PWR_H_\r
35 \r
36 /* Includes ------------------------------------------------------------------- */\r
37 #include "LPC18xx.h"\r
38 #include "lpc_types.h"\r
39 \r
40 #ifdef __cplusplus\r
41 extern "C"\r
42 {\r
43 #endif\r
44 \r
45 /* Public Macros -------------------------------------------------------------- */\r
46 /** @defgroup PWR_Private_Macros PWR Private Macros\r
47  * @{\r
48  */\r
49 #define PWR_SLEEP_MODE_DEEP_SLEEP       0x3F00AA\r
50 #define PWR_SLEEP_MODE_POWER_DOWN       0x30FCBA\r
51 #define PWR_SLEEP_MODE_DEEP_POWER_DOWN  0x3FFF7F\r
52 \r
53 /**\r
54  * @}\r
55  */\r
56 \r
57 \r
58 /* Public Functions ----------------------------------------------------------- */\r
59 /** @defgroup PWR_Public_Functions PWR Public Functions\r
60  * @{\r
61  */\r
62 /* Clock Generator */\r
63 void PWR_Sleep(void);\r
64 void PWR_DeepSleep(void);\r
65 void PWR_PowerDown(void);\r
66 void PWR_DeepPowerDown(void);\r
67 \r
68 /**\r
69  * @}\r
70  */\r
71 \r
72 \r
73 #ifdef __cplusplus\r
74 }\r
75 #endif\r
76 \r
77 #endif /* LPC18XX_PWR_H_ */\r
78 \r
79 /**\r
80  * @}\r
81  */\r
82 \r
83 /* --------------------------------- End Of File ------------------------------ */\r