Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
lpcRTC.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* $RCSfile$
4
* $Revision$
5
*
6
* Header file for Philips LPC ARM Processors.
7
* Copyright 2004 R O SoftWare
8
*
9
* No guarantees, warrantees, or promises, implied or otherwise.
10
* May be used for hobby or commercial purposes provided copyright
11
* notice remains intact.
12
*
13
*****************************************************************************/
14
#ifndef INC_LPC_RTC_H
15
#define INC_LPC_RTC_H
16
17
typedef
struct
18
{
19
REG_8
ilr
;
// Interrupt Location Register
20
REG_8
_pad0[3];
21
REG16
ctc
;
// Clock Tick Counter
22
REG16
_pad1
;
23
REG_8
ccr
;
// Clock Control Register
24
REG_8
_pad2[3];
25
REG_8
ciir
;
// Counter Increment Interrupt Register
26
REG_8
_pad3[3];
27
REG_8
amr
;
// Alarm Mask Register
28
REG_8
_pad4[3];
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
33
REG_8
_pad5[3];
34
REG_8
min
;
// Minutes Register
35
REG_8
_pad6[3];
36
REG_8
hour
;
// Hours Register
37
REG_8
_pad7[3];
38
REG_8
dom
;
// Day Of Month Register
39
REG_8
_pad8[3];
40
REG_8
dow
;
// Day Of Week Register
41
REG_8
_pad9[3];
42
REG16
doy
;
// Day Of Year Register
43
REG16
_pad10
;
44
REG_8
month
;
// Months Register
45
REG_8
_pad11[3];
46
REG16
year
;
// Years Register
47
REG32
_pad12[8];
48
REG_8
alsec
;
// Alarm Seconds Register
49
REG_8
_pad13[3];
50
REG_8
almin
;
// Alarm Minutes Register
51
REG_8
_pad14[3];
52
REG_8
alhour
;
// Alarm Hours Register
53
REG_8
_pad15[3];
54
REG_8
aldom
;
// Alarm Day Of Month Register
55
REG_8
_pad16[3];
56
REG_8
aldow
;
// Alarm Day Of Week Register
57
REG_8
_pad17[3];
58
REG16
aldoy
;
// Alarm Day Of Year Register
59
REG16
_pad18
;
60
REG_8
almon
;
// Alarm Months Register
61
REG_8
_pad19[3];
62
REG16
alyear
;
// Alarm Years Register
63
REG16
_pad20
;
64
REG16
preint
;
// Prescale Value Register (integer)
65
REG16
_pad21
;
66
REG16
prefrac
;
// Prescale Value Register (fraction)
67
REG16
_pad22
;
68
}
rtcRegs_t
;
69
70
#endif
rtcRegs_t::ctime1
REG32 ctime1
Definition:
lpcRTC.h:30
REG32
#define REG32
Definition:
LPC21xx.h:20
REG_8
#define REG_8
Definition:
LPC21xx.h:18
rtcRegs_t::_pad1
REG16 _pad1
Definition:
lpcRTC.h:22
rtcRegs_t::amr
REG_8 amr
Definition:
lpcRTC.h:27
rtcRegs_t::preint
REG16 preint
Definition:
lpcRTC.h:64
rtcRegs_t::year
REG16 year
Definition:
lpcRTC.h:46
rtcRegs_t::_pad18
REG16 _pad18
Definition:
lpcRTC.h:59
rtcRegs_t::ccr
REG_8 ccr
Definition:
lpcRTC.h:23
rtcRegs_t::_pad22
REG16 _pad22
Definition:
lpcRTC.h:67
rtcRegs_t::ctime0
REG32 ctime0
Definition:
lpcRTC.h:29
rtcRegs_t::_pad20
REG16 _pad20
Definition:
lpcRTC.h:63
rtcRegs_t::almin
REG_8 almin
Definition:
lpcRTC.h:50
rtcRegs_t::alsec
REG_8 alsec
Definition:
lpcRTC.h:48
rtcRegs_t::aldom
REG_8 aldom
Definition:
lpcRTC.h:54
rtcRegs_t::ctc
REG16 ctc
Definition:
lpcRTC.h:21
rtcRegs_t::dow
REG_8 dow
Definition:
lpcRTC.h:40
rtcRegs_t::month
REG_8 month
Definition:
lpcRTC.h:44
rtcRegs_t::_pad10
REG16 _pad10
Definition:
lpcRTC.h:43
rtcRegs_t::dom
REG_8 dom
Definition:
lpcRTC.h:38
rtcRegs_t::aldoy
REG16 aldoy
Definition:
lpcRTC.h:58
rtcRegs_t::ctime2
REG32 ctime2
Definition:
lpcRTC.h:31
rtcRegs_t::ciir
REG_8 ciir
Definition:
lpcRTC.h:25
rtcRegs_t
Definition:
lpcRTC.h:17
rtcRegs_t::alhour
REG_8 alhour
Definition:
lpcRTC.h:52
rtcRegs_t::almon
REG_8 almon
Definition:
lpcRTC.h:60
rtcRegs_t::_pad21
REG16 _pad21
Definition:
lpcRTC.h:65
rtcRegs_t::hour
REG_8 hour
Definition:
lpcRTC.h:36
rtcRegs_t::aldow
REG_8 aldow
Definition:
lpcRTC.h:56
rtcRegs_t::min
REG_8 min
Definition:
lpcRTC.h:34
REG16
#define REG16
Definition:
LPC21xx.h:19
rtcRegs_t::ilr
REG_8 ilr
Definition:
lpcRTC.h:19
rtcRegs_t::doy
REG16 doy
Definition:
lpcRTC.h:42
rtcRegs_t::sec
REG_8 sec
Definition:
lpcRTC.h:32
rtcRegs_t::alyear
REG16 alyear
Definition:
lpcRTC.h:62
rtcRegs_t::prefrac
REG16 prefrac
Definition:
lpcRTC.h:66
sw
airborne
arch
lpc21
include
lpcRTC.h
Generated on Tue Jun 21 2016 14:01:09 for Paparazzi UAS by
1.8.8