projekty/Source/example1/src/include/lpc2100/lpc2100/lpcRTC.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * $RCSfile: $
00004  * $Revision: $
00005  *
00006  * Header file for Philips LPC ARM Processors.
00007  * Copyright 2004 R O SoftWare
00008  *
00009  * No guarantees, warrantees, or promises, implied or otherwise.
00010  * May be used for hobby or commercial purposes provided copyright
00011  * notice remains intact.
00012  *
00013  *****************************************************************************/
00014 #ifndef INC_LPC_RTC_H
00015 #define INC_LPC_RTC_H
00016 
00017 typedef struct
00018 {
00019   REG_8 ilr;                            // Interrupt Location Register
00020   REG_8 _pad0[3];
00021   REG16 ctc;                            // Clock Tick Counter
00022   REG16 _pad1;
00023   REG_8 ccr;                            // Clock Control Register
00024   REG_8 _pad2[3];
00025   REG_8 ciir;                           // Counter Increment Interrupt Register
00026   REG_8 _pad3[3];
00027   REG_8 amr;                            // Alarm Mask Register
00028   REG_8 _pad4[3];
00029   REG32 ctime0;                         // Consolidated Time Register 0
00030   REG32 ctime1;                         // Consolidated Time Register 1
00031   REG32 ctime2;                         // Consolidated Time Register 2
00032   REG_8 sec;                            // Seconds Register
00033   REG_8 _pad5[3];
00034   REG_8 min;                            // Minutes Register
00035   REG_8 _pad6[3];
00036   REG_8 hour;                           // Hours Register
00037   REG_8 _pad7[3];
00038   REG_8 dom;                            // Day Of Month Register
00039   REG_8 _pad8[3];
00040   REG_8 dow;                            // Day Of Week Register
00041   REG_8 _pad9[3];
00042   REG16 doy;                            // Day Of Year Register
00043   REG16 _pad10;
00044   REG_8 month;                          // Months Register
00045   REG_8 _pad11[3];
00046   REG16 year;                           // Years Register
00047   REG32 _pad12[8];
00048   REG_8 alsec;                          // Alarm Seconds Register
00049   REG_8 _pad13[3];
00050   REG_8 almin;                          // Alarm Minutes Register
00051   REG_8 _pad14[3];
00052   REG_8 alhour;                         // Alarm Hours Register
00053   REG_8 _pad15[3];
00054   REG_8 aldom;                          // Alarm Day Of Month Register
00055   REG_8 _pad16[3];
00056   REG_8 aldow;                          // Alarm Day Of Week Register
00057   REG_8 _pad17[3];
00058   REG16 aldoy;                          // Alarm Day Of Year Register
00059   REG16 _pad18;
00060   REG_8 almon;                          // Alarm Months Register
00061   REG_8 _pad19[3];
00062   REG16 alyear;                         // Alarm Years Register
00063   REG16 _pad20;
00064   REG16 preint;                         // Prescale Value Register (integer)
00065   REG16 _pad21;
00066   REG16 prefrac;                        // Prescale Value Register (fraction)
00067   REG16 _pad22;
00068 } rtcRegs_t;
00069 
00070 #endif

Generated on Fri Sep 21 13:41:54 2007 for example1 by  doxygen 1.4.7