NXP's driver library for LPC17xx, ported to mbed's online compiler. Not tested! I had to fix a lot of warings and found a couple of pretty obvious bugs, so the chances are there are more. Original: http://ics.nxp.com/support/documents/microcontrollers/zip/lpc17xx.cmsis.driver.library.zip

Dependencies:   mbed

Committer:
igorsk
Date:
Wed Feb 17 16:22:39 2010 +0000
Revision:
0:1063a091a062

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
igorsk 0:1063a091a062 1 /***********************************************************************//**
igorsk 0:1063a091a062 2 * @file : lpc17xx_rtc.h
igorsk 0:1063a091a062 3 * @brief : Contains all macro definitions and function prototypes
igorsk 0:1063a091a062 4 * support for RTC firmware library on LPC17xx
igorsk 0:1063a091a062 5 * @version : 1.0
igorsk 0:1063a091a062 6 * @date : 23. Apr. 2009
igorsk 0:1063a091a062 7 * @author : HieuNguyen
igorsk 0:1063a091a062 8 **************************************************************************
igorsk 0:1063a091a062 9 * Software that is described herein is for illustrative purposes only
igorsk 0:1063a091a062 10 * which provides customers with programming information regarding the
igorsk 0:1063a091a062 11 * products. This software is supplied "AS IS" without any warranties.
igorsk 0:1063a091a062 12 * NXP Semiconductors assumes no responsibility or liability for the
igorsk 0:1063a091a062 13 * use of the software, conveys no license or title under any patent,
igorsk 0:1063a091a062 14 * copyright, or mask work right to the product. NXP Semiconductors
igorsk 0:1063a091a062 15 * reserves the right to make changes in the software without
igorsk 0:1063a091a062 16 * notification. NXP Semiconductors also make no representation or
igorsk 0:1063a091a062 17 * warranty that such application will be suitable for the specified
igorsk 0:1063a091a062 18 * use without further testing or modification.
igorsk 0:1063a091a062 19 **************************************************************************/
igorsk 0:1063a091a062 20
igorsk 0:1063a091a062 21 /* Peripheral group ----------------------------------------------------------- */
igorsk 0:1063a091a062 22 /** @defgroup RTC
igorsk 0:1063a091a062 23 * @ingroup LPC1700CMSIS_FwLib_Drivers
igorsk 0:1063a091a062 24 * @{
igorsk 0:1063a091a062 25 */
igorsk 0:1063a091a062 26
igorsk 0:1063a091a062 27 #ifndef LPC17XX_RTC_H_
igorsk 0:1063a091a062 28 #define LPC17XX_RTC_H_
igorsk 0:1063a091a062 29
igorsk 0:1063a091a062 30 /* Includes ------------------------------------------------------------------- */
igorsk 0:1063a091a062 31 #include "cmsis.h"
igorsk 0:1063a091a062 32 #include "lpc_types.h"
igorsk 0:1063a091a062 33
igorsk 0:1063a091a062 34
igorsk 0:1063a091a062 35 #ifdef __cplusplus
igorsk 0:1063a091a062 36 extern "C"
igorsk 0:1063a091a062 37 {
igorsk 0:1063a091a062 38 #endif
igorsk 0:1063a091a062 39
igorsk 0:1063a091a062 40
igorsk 0:1063a091a062 41 /* Private Macros ------------------------------------------------------------- */
igorsk 0:1063a091a062 42 /** @defgroup RTC_Private_Macros
igorsk 0:1063a091a062 43 * @{
igorsk 0:1063a091a062 44 */
igorsk 0:1063a091a062 45
igorsk 0:1063a091a062 46 /** @defgroup RTC_REGISTER_BIT_DEFINITIONS
igorsk 0:1063a091a062 47 * @{
igorsk 0:1063a091a062 48 */
igorsk 0:1063a091a062 49
igorsk 0:1063a091a062 50 /* Miscellaneous register group --------------------------------------------- */
igorsk 0:1063a091a062 51
igorsk 0:1063a091a062 52 /**********************************************************************
igorsk 0:1063a091a062 53 * ILR register definitions
igorsk 0:1063a091a062 54 **********************************************************************/
igorsk 0:1063a091a062 55 /** ILR register mask */
igorsk 0:1063a091a062 56 #define RTC_ILR_BITMASK ((0x00000003))
igorsk 0:1063a091a062 57 /** Bit inform the source interrupt is counter increment*/
igorsk 0:1063a091a062 58 #define RTC_IRL_RTCCIF ((1<<0))
igorsk 0:1063a091a062 59 /** Bit inform the source interrupt is alarm match*/
igorsk 0:1063a091a062 60 #define RTC_IRL_RTCALF ((1<<1))
igorsk 0:1063a091a062 61
igorsk 0:1063a091a062 62
igorsk 0:1063a091a062 63 /**********************************************************************
igorsk 0:1063a091a062 64 * CCR register definitions
igorsk 0:1063a091a062 65 **********************************************************************/
igorsk 0:1063a091a062 66 /** CCR register mask */
igorsk 0:1063a091a062 67 #define RTC_CCR_BITMASK ((0x00000013))
igorsk 0:1063a091a062 68 /** Clock enable */
igorsk 0:1063a091a062 69 #define RTC_CCR_CLKEN ((1<<0))
igorsk 0:1063a091a062 70 /** Clock reset */
igorsk 0:1063a091a062 71 #define RTC_CCR_CTCRST ((1<<1))
igorsk 0:1063a091a062 72 /** Calibration counter enable */
igorsk 0:1063a091a062 73 #define RTC_CCR_CCALEN ((1<<4))
igorsk 0:1063a091a062 74
igorsk 0:1063a091a062 75
igorsk 0:1063a091a062 76 /**********************************************************************
igorsk 0:1063a091a062 77 * CIIR register definitions
igorsk 0:1063a091a062 78 **********************************************************************/
igorsk 0:1063a091a062 79 /** Counter Increment Interrupt bit for second */
igorsk 0:1063a091a062 80 #define RTC_CIIR_IMSEC ((1<<0))
igorsk 0:1063a091a062 81 /** Counter Increment Interrupt bit for minute */
igorsk 0:1063a091a062 82 #define RTC_CIIR_IMMIN ((1<<1))
igorsk 0:1063a091a062 83 /** Counter Increment Interrupt bit for hour */
igorsk 0:1063a091a062 84 #define RTC_CIIR_IMHOUR ((1<<2))
igorsk 0:1063a091a062 85 /** Counter Increment Interrupt bit for day of month */
igorsk 0:1063a091a062 86 #define RTC_CIIR_IMDOM ((1<<3))
igorsk 0:1063a091a062 87 /** Counter Increment Interrupt bit for day of week */
igorsk 0:1063a091a062 88 #define RTC_CIIR_IMDOW ((1<<4))
igorsk 0:1063a091a062 89 /** Counter Increment Interrupt bit for day of year */
igorsk 0:1063a091a062 90 #define RTC_CIIR_IMDOY ((1<<5))
igorsk 0:1063a091a062 91 /** Counter Increment Interrupt bit for month */
igorsk 0:1063a091a062 92 #define RTC_CIIR_IMMON ((1<<6))
igorsk 0:1063a091a062 93 /** Counter Increment Interrupt bit for year */
igorsk 0:1063a091a062 94 #define RTC_CIIR_IMYEAR ((1<<7))
igorsk 0:1063a091a062 95 /** CIIR bit mask */
igorsk 0:1063a091a062 96 #define RTC_CIIR_BITMASK ((0xFF))
igorsk 0:1063a091a062 97
igorsk 0:1063a091a062 98 /**********************************************************************
igorsk 0:1063a091a062 99 * AMR register definitions
igorsk 0:1063a091a062 100 **********************************************************************/
igorsk 0:1063a091a062 101 /** Counter Increment Select Mask bit for second */
igorsk 0:1063a091a062 102 #define RTC_AMR_AMRSEC ((1<<0))
igorsk 0:1063a091a062 103 /** Counter Increment Select Mask bit for minute */
igorsk 0:1063a091a062 104 #define RTC_AMR_AMRMIN ((1<<1))
igorsk 0:1063a091a062 105 /** Counter Increment Select Mask bit for hour */
igorsk 0:1063a091a062 106 #define RTC_AMR_AMRHOUR ((1<<2))
igorsk 0:1063a091a062 107 /** Counter Increment Select Mask bit for day of month */
igorsk 0:1063a091a062 108 #define RTC_AMR_AMRDOM ((1<<3))
igorsk 0:1063a091a062 109 /** Counter Increment Select Mask bit for day of week */
igorsk 0:1063a091a062 110 #define RTC_AMR_AMRDOW ((1<<4))
igorsk 0:1063a091a062 111 /** Counter Increment Select Mask bit for day of year */
igorsk 0:1063a091a062 112 #define RTC_AMR_AMRDOY ((1<<5))
igorsk 0:1063a091a062 113 /** Counter Increment Select Mask bit for month */
igorsk 0:1063a091a062 114 #define RTC_AMR_AMRMON ((1<<6))
igorsk 0:1063a091a062 115 /** Counter Increment Select Mask bit for year */
igorsk 0:1063a091a062 116 #define RTC_AMR_AMRYEAR ((1<<7))
igorsk 0:1063a091a062 117 /** AMR bit mask */
igorsk 0:1063a091a062 118 #define RTC_AMR_BITMASK ((0xFF))
igorsk 0:1063a091a062 119
igorsk 0:1063a091a062 120 /**********************************************************************
igorsk 0:1063a091a062 121 * RTC_AUX register definitions
igorsk 0:1063a091a062 122 **********************************************************************/
igorsk 0:1063a091a062 123 /** RTC Oscillator Fail detect flag */
igorsk 0:1063a091a062 124 #define RTC_AUX_RTC_OSCF ((1<<4))
igorsk 0:1063a091a062 125
igorsk 0:1063a091a062 126 /**********************************************************************
igorsk 0:1063a091a062 127 * RTC_AUXEN register definitions
igorsk 0:1063a091a062 128 **********************************************************************/
igorsk 0:1063a091a062 129 /** Oscillator Fail Detect interrupt enable*/
igorsk 0:1063a091a062 130 #define RTC_AUXEN_RTC_OSCFEN ((1<<4))
igorsk 0:1063a091a062 131
igorsk 0:1063a091a062 132
igorsk 0:1063a091a062 133 /* Consolidated time register group ----------------------------------- */
igorsk 0:1063a091a062 134 /** Consolidated Time Register 0 */
igorsk 0:1063a091a062 135 #define RTC_CTIME0_SECONDS_MASK ((0x3F))
igorsk 0:1063a091a062 136 #define RTC_CTIME0_MINUTES_MASK ((0x3F00))
igorsk 0:1063a091a062 137 #define RTC_CTIME0_HOURS_MASK ((0x1F0000))
igorsk 0:1063a091a062 138 #define RTC_CTIME0_DOW_MASK ((0x7000000))
igorsk 0:1063a091a062 139 /** Consolidated Time Register 1 */
igorsk 0:1063a091a062 140 #define RTC_CTIME1_DOM_MASK ((0x1F))
igorsk 0:1063a091a062 141 #define RTC_CTIME1_MONTH_MASK ((0xF00))
igorsk 0:1063a091a062 142 #define RTC_CTIME1_YEAR_MASK ((0xFFF0000))
igorsk 0:1063a091a062 143 /** Consolidated Time Register 2 */
igorsk 0:1063a091a062 144 #define RTC_CTIME2_DOY_MASK ((0xFFF))
igorsk 0:1063a091a062 145
igorsk 0:1063a091a062 146
igorsk 0:1063a091a062 147 /* Time Counter Group and Alarm register group ----------------------------- */
igorsk 0:1063a091a062 148 /** SEC register mask */
igorsk 0:1063a091a062 149 #define RTC_SEC_MASK (0x0000003F)
igorsk 0:1063a091a062 150 /** MIN register mask */
igorsk 0:1063a091a062 151 #define RTC_MIN_MASK (0x0000003F)
igorsk 0:1063a091a062 152 /** HOUR register mask */
igorsk 0:1063a091a062 153 #define RTC_HOUR_MASK (0x0000001F)
igorsk 0:1063a091a062 154 /** DOM register mask */
igorsk 0:1063a091a062 155 #define RTC_DOM_MASK (0x0000001F)
igorsk 0:1063a091a062 156 /** DOW register mask */
igorsk 0:1063a091a062 157 #define RTC_DOW_MASK (0x00000007)
igorsk 0:1063a091a062 158 /** DOY register mask */
igorsk 0:1063a091a062 159 #define RTC_DOY_MASK (0x000001FF)
igorsk 0:1063a091a062 160 /** MONTH register mask */
igorsk 0:1063a091a062 161 #define RTC_MONTH_MASK (0x0000000F)
igorsk 0:1063a091a062 162 /** YEAR register mask */
igorsk 0:1063a091a062 163 #define RTC_YEAR_MASK (0x00000FFF)
igorsk 0:1063a091a062 164
igorsk 0:1063a091a062 165 #define RTC_SECOND_MAX 59 /*!< Maximum value of second */
igorsk 0:1063a091a062 166 #define RTC_MINUTE_MAX 59 /*!< Maximum value of minute*/
igorsk 0:1063a091a062 167 #define RTC_HOUR_MAX 23 /*!< Maximum value of hour*/
igorsk 0:1063a091a062 168 #define RTC_MONTH_MIN 1 /*!< Minimum value of month*/
igorsk 0:1063a091a062 169 #define RTC_MONTH_MAX 12 /*!< Maximum value of month*/
igorsk 0:1063a091a062 170 #define RTC_DAYOFMONTH_MIN 1 /*!< Minimum value of day of month*/
igorsk 0:1063a091a062 171 #define RTC_DAYOFMONTH_MAX 31 /*!< Maximum value of day of month*/
igorsk 0:1063a091a062 172 #define RTC_DAYOFWEEK_MAX 6 /*!< Maximum value of day of week*/
igorsk 0:1063a091a062 173 #define RTC_DAYOFYEAR_MIN 1 /*!< Minimum value of day of year*/
igorsk 0:1063a091a062 174 #define RTC_DAYOFYEAR_MAX 366 /*!< Maximum value of day of year*/
igorsk 0:1063a091a062 175 #define RTC_YEAR_MAX 4095 /*!< Maximum value of year*/
igorsk 0:1063a091a062 176
igorsk 0:1063a091a062 177 /* Calibration register */
igorsk 0:1063a091a062 178 /** Calibration value */
igorsk 0:1063a091a062 179 #define RTC_CALIBRATION_CALVAL_MASK ((0x1FFFF))
igorsk 0:1063a091a062 180 /** Calibration direction */
igorsk 0:1063a091a062 181 #define RTC_CALIBRATION_LIBDIR ((1<<17))
igorsk 0:1063a091a062 182 /** Calibration max value */
igorsk 0:1063a091a062 183 #define RTC_CALIBRATION_MAX ((0x20000))
igorsk 0:1063a091a062 184
igorsk 0:1063a091a062 185 /**
igorsk 0:1063a091a062 186 * @}
igorsk 0:1063a091a062 187 */
igorsk 0:1063a091a062 188
igorsk 0:1063a091a062 189 /**
igorsk 0:1063a091a062 190 * @}
igorsk 0:1063a091a062 191 */
igorsk 0:1063a091a062 192
igorsk 0:1063a091a062 193
igorsk 0:1063a091a062 194 /* Public Types --------------------------------------------------------------- */
igorsk 0:1063a091a062 195 /** @defgroup RTC_Public_Types
igorsk 0:1063a091a062 196 * @{
igorsk 0:1063a091a062 197 */
igorsk 0:1063a091a062 198
igorsk 0:1063a091a062 199 /** @brief Time structure definitions for easy manipulate the data */
igorsk 0:1063a091a062 200 typedef struct {
igorsk 0:1063a091a062 201 uint32_t SEC; /*!< Seconds Register */
igorsk 0:1063a091a062 202 uint32_t MIN; /*!< Minutes Register */
igorsk 0:1063a091a062 203 uint32_t HOUR; /*!< Hours Register */
igorsk 0:1063a091a062 204 uint32_t DOM; /*!< Day of Month Register */
igorsk 0:1063a091a062 205 uint32_t DOW; /*!< Day of Week Register */
igorsk 0:1063a091a062 206 uint32_t DOY; /*!< Day of Year Register */
igorsk 0:1063a091a062 207 uint32_t MONTH; /*!< Months Register */
igorsk 0:1063a091a062 208 uint32_t YEAR; /*!< Years Register */
igorsk 0:1063a091a062 209 } RTC_TIME_Type;
igorsk 0:1063a091a062 210
igorsk 0:1063a091a062 211 /** @brief RTC interrupt source */
igorsk 0:1063a091a062 212 typedef enum {
igorsk 0:1063a091a062 213 RTC_INT_COUNTER_INCREASE = RTC_IRL_RTCCIF, /*!< Counter Increment Interrupt */
igorsk 0:1063a091a062 214 RTC_INT_ALARM = RTC_IRL_RTCALF, /*!< The alarm interrupt */
igorsk 0:1063a091a062 215 } RTC_INT_OPT;
igorsk 0:1063a091a062 216
igorsk 0:1063a091a062 217 #define PARAM_RTC_INT(n) ((n==RTC_INT_COUNTER_INCREASE) || (n==RTC_INT_ALARM))
igorsk 0:1063a091a062 218
igorsk 0:1063a091a062 219
igorsk 0:1063a091a062 220 /** @brief RTC time type option */
igorsk 0:1063a091a062 221 typedef enum {
igorsk 0:1063a091a062 222 RTC_TIMETYPE_SECOND = 0, /*!< Second */
igorsk 0:1063a091a062 223 RTC_TIMETYPE_MINUTE = 1, /*!< Month */
igorsk 0:1063a091a062 224 RTC_TIMETYPE_HOUR = 2, /*!< Hour */
igorsk 0:1063a091a062 225 RTC_TIMETYPE_DAYOFWEEK = 3, /*!< Day of week */
igorsk 0:1063a091a062 226 RTC_TIMETYPE_DAYOFMONTH = 4, /*!< Day of month */
igorsk 0:1063a091a062 227 RTC_TIMETYPE_DAYOFYEAR = 5, /*!< Day of year */
igorsk 0:1063a091a062 228 RTC_TIMETYPE_MONTH = 6, /*!< Month */
igorsk 0:1063a091a062 229 RTC_TIMETYPE_YEAR = 7, /*!< Year */
igorsk 0:1063a091a062 230 } RTC_TIMETYPE_Num;
igorsk 0:1063a091a062 231
igorsk 0:1063a091a062 232 #define PARAM_RTC_TIMETYPE(n) ((n==RTC_TIMETYPE_SECOND) || (n==RTC_TIMETYPE_MINUTE) \
igorsk 0:1063a091a062 233 || (n==RTC_TIMETYPE_HOUR) || (n==RTC_TIMETYPE_DAYOFWEEK) \
igorsk 0:1063a091a062 234 || (n==RTC_TIMETYPE_DAYOFMONTH) || (n==RTC_TIMETYPE_DAYOFYEAR) \
igorsk 0:1063a091a062 235 || (n==RTC_TIMETYPE_MONTH) || (n==RTC_TIMETYPE_YEAR))
igorsk 0:1063a091a062 236
igorsk 0:1063a091a062 237
igorsk 0:1063a091a062 238 /**
igorsk 0:1063a091a062 239 * @}
igorsk 0:1063a091a062 240 */
igorsk 0:1063a091a062 241
igorsk 0:1063a091a062 242
igorsk 0:1063a091a062 243 /* Public Macros -------------------------------------------------------------- */
igorsk 0:1063a091a062 244 /** @defgroup RTC_Public_Macros
igorsk 0:1063a091a062 245 * @{
igorsk 0:1063a091a062 246 */
igorsk 0:1063a091a062 247
igorsk 0:1063a091a062 248 /** Macro to determine if it is valid RTC peripheral */
igorsk 0:1063a091a062 249 #define PARAM_RTCx(x) (((uint32_t *)x)==((uint32_t *)LPC_RTC))
igorsk 0:1063a091a062 250
igorsk 0:1063a091a062 251 /** Calibration definitions */
igorsk 0:1063a091a062 252 #define RTC_CALIB_DIR_FORWARD ((uint8_t)(0))
igorsk 0:1063a091a062 253 #define RTC_CALIB_DIR_BACKWARD ((uint8_t)(1))
igorsk 0:1063a091a062 254
igorsk 0:1063a091a062 255 #define PARAM_RTC_CALIB_DIR(n) ((n==RTC_CALIB_DIR_FORWARD) || (n==RTC_CALIB_DIR_BACKWARD))
igorsk 0:1063a091a062 256 #define PARAM_RTC_GPREG_CH(n) (n<=4)
igorsk 0:1063a091a062 257
igorsk 0:1063a091a062 258 #define PARAM_RTC_CALIBRATION_DIR(n)
igorsk 0:1063a091a062 259
igorsk 0:1063a091a062 260 /**
igorsk 0:1063a091a062 261 * @}
igorsk 0:1063a091a062 262 */
igorsk 0:1063a091a062 263
igorsk 0:1063a091a062 264
igorsk 0:1063a091a062 265 /* Public Functions ----------------------------------------------------------- */
igorsk 0:1063a091a062 266 /** @defgroup RTC_Public_Functions
igorsk 0:1063a091a062 267 * @{
igorsk 0:1063a091a062 268 */
igorsk 0:1063a091a062 269
igorsk 0:1063a091a062 270 void RTC_Init (LPC_RTC_TypeDef *RTCx);
igorsk 0:1063a091a062 271 void RTC_DeInit(LPC_RTC_TypeDef *RTCx);
igorsk 0:1063a091a062 272 void RTC_ResetClockTickCounter(LPC_RTC_TypeDef *RTCx);
igorsk 0:1063a091a062 273 void RTC_Cmd (LPC_RTC_TypeDef *RTCx, FunctionalState NewState);
igorsk 0:1063a091a062 274 void RTC_CntIncrIntConfig (LPC_RTC_TypeDef *RTCx, uint32_t CntIncrIntType, \
igorsk 0:1063a091a062 275 FunctionalState NewState);
igorsk 0:1063a091a062 276 void RTC_AlarmIntConfig (LPC_RTC_TypeDef *RTCx, uint32_t AlarmTimeType, \
igorsk 0:1063a091a062 277 FunctionalState NewState);
igorsk 0:1063a091a062 278 void RTC_SetTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype, uint32_t TimeValue);
igorsk 0:1063a091a062 279 uint32_t RTC_GetTime(LPC_RTC_TypeDef *RTCx, uint32_t Timetype);
igorsk 0:1063a091a062 280 void RTC_SetFullTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime);
igorsk 0:1063a091a062 281 void RTC_GetFullTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime);
igorsk 0:1063a091a062 282 void RTC_SetAlarmTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype, uint32_t ALValue);
igorsk 0:1063a091a062 283 uint32_t RTC_GetAlarmTime (LPC_RTC_TypeDef *RTCx, uint32_t Timetype);
igorsk 0:1063a091a062 284 void RTC_SetFullAlarmTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime);
igorsk 0:1063a091a062 285 void RTC_GetFullAlarmTime (LPC_RTC_TypeDef *RTCx, RTC_TIME_Type *pFullTime);
igorsk 0:1063a091a062 286 IntStatus RTC_GetIntPending (LPC_RTC_TypeDef *RTCx, uint32_t IntType);
igorsk 0:1063a091a062 287 void RTC_ClearIntPending (LPC_RTC_TypeDef *RTCx, uint32_t IntType);
igorsk 0:1063a091a062 288 void RTC_CalibCounterCmd(LPC_RTC_TypeDef *RTCx, FunctionalState NewState);
igorsk 0:1063a091a062 289 void RTC_CalibConfig(LPC_RTC_TypeDef *RTCx, uint32_t CalibValue, uint8_t CalibDir);
igorsk 0:1063a091a062 290 void RTC_WriteGPREG (LPC_RTC_TypeDef *RTCx, uint8_t Channel, uint32_t Value);
igorsk 0:1063a091a062 291 uint32_t RTC_ReadGPREG (LPC_RTC_TypeDef *RTCx, uint8_t Channel);
igorsk 0:1063a091a062 292
igorsk 0:1063a091a062 293 /**
igorsk 0:1063a091a062 294 * @}
igorsk 0:1063a091a062 295 */
igorsk 0:1063a091a062 296
igorsk 0:1063a091a062 297 #ifdef __cplusplus
igorsk 0:1063a091a062 298 }
igorsk 0:1063a091a062 299 #endif
igorsk 0:1063a091a062 300
igorsk 0:1063a091a062 301 #endif /* LPC17XX_RTC_H_ */
igorsk 0:1063a091a062 302
igorsk 0:1063a091a062 303 /**
igorsk 0:1063a091a062 304 * @}
igorsk 0:1063a091a062 305 */
igorsk 0:1063a091a062 306
igorsk 0:1063a091a062 307 /* --------------------------------- End Of File ------------------------------ */