1 /******************************************************************************
3 * $RCSfile: lpcRTC.h,v $
6 * Header file for Philips LPC ARM Processors.
7 * Copyright 2004 R O SoftWare
9 * No guarantees, warrantees, or promises, implied or otherwise.
10 * May be used for hobby or commercial purposes provided copyright
11 * notice remains intact.
13 *****************************************************************************/
19 REG_8 ilr; // Interrupt Location Register
21 REG16 ctc; // Clock Tick Counter
23 REG_8 ccr; // Clock Control Register
25 REG_8 ciir; // Counter Increment Interrupt Register
27 REG_8 amr; // Alarm Mask Register
29 REG32 ctime0; // Consolidated Time Register 0
30 REG32 ctime1; // Consolidated Time Register 1
31 REG32 ctime2; // Consolidated Time Register 2
32 REG_8 sec; // Seconds Register
34 REG_8 min; // Minutes Register
36 REG_8 hour; // Hours Register
38 REG_8 dom; // Day Of Month Register
40 REG_8 dow; // Day Of Week Register
42 REG16 doy; // Day Of Year Register
44 REG_8 month; // Months Register
46 REG16 year; // Years Register
48 REG_8 alsec; // Alarm Seconds Register
50 REG_8 almin; // Alarm Minutes Register
52 REG_8 alhour; // Alarm Hours Register
54 REG_8 aldom; // Alarm Day Of Month Register
56 REG_8 aldow; // Alarm Day Of Week Register
58 REG16 aldoy; // Alarm Day Of Year Register
60 REG_8 almon; // Alarm Months Register
62 REG16 alyear; // Alarm Years Register
64 REG16 preint; // Prescale Value Register (integer)
66 REG16 prefrac; // Prescale Value Register (fraction)