diff options
Diffstat (limited to 'firmware/export/pnx0101.h')
-rw-r--r-- | firmware/export/pnx0101.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/firmware/export/pnx0101.h b/firmware/export/pnx0101.h new file mode 100644 index 0000000000..4408c0aa5b --- /dev/null +++ b/firmware/export/pnx0101.h | |||
@@ -0,0 +1,67 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2005 by Tomasz Malesinski | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | |||
20 | #ifndef __PNX0101_H__ | ||
21 | #define __PNX0101_H__ | ||
22 | |||
23 | #define GPIO0_READ (*(volatile unsigned long *)0x80003000) | ||
24 | #define GPIO0_SET (*(volatile unsigned long *)0x80003014) | ||
25 | #define GPIO0_CLR (*(volatile unsigned long *)0x80003018) | ||
26 | #define GPIO1_READ (*(volatile unsigned long *)0x80003040) | ||
27 | #define GPIO1_SET (*(volatile unsigned long *)0x80003054) | ||
28 | #define GPIO1_CLR (*(volatile unsigned long *)0x80003058) | ||
29 | #define GPIO2_READ (*(volatile unsigned long *)0x80003080) | ||
30 | #define GPIO2_SET (*(volatile unsigned long *)0x80003094) | ||
31 | #define GPIO2_CLR (*(volatile unsigned long *)0x80003098) | ||
32 | #define GPIO3_READ (*(volatile unsigned long *)0x800030c0) | ||
33 | #define GPIO3_SET (*(volatile unsigned long *)0x800030d4) | ||
34 | #define GPIO3_CLR (*(volatile unsigned long *)0x800030d8) | ||
35 | #define GPIO4_READ (*(volatile unsigned long *)0x80003100) | ||
36 | #define GPIO4_SET (*(volatile unsigned long *)0x80003114) | ||
37 | #define GPIO4_CLR (*(volatile unsigned long *)0x80003118) | ||
38 | #define GPIO5_READ (*(volatile unsigned long *)0x80003140) | ||
39 | #define GPIO5_SET (*(volatile unsigned long *)0x80003154) | ||
40 | #define GPIO5_CLR (*(volatile unsigned long *)0x80003158) | ||
41 | #define GPIO6_READ (*(volatile unsigned long *)0x80003180) | ||
42 | #define GPIO6_SET (*(volatile unsigned long *)0x80003194) | ||
43 | #define GPIO6_CLR (*(volatile unsigned long *)0x80003198) | ||
44 | #define GPIO7_READ (*(volatile unsigned long *)0x800031c0) | ||
45 | #define GPIO7_SET (*(volatile unsigned long *)0x800031d4) | ||
46 | #define GPIO7_CLR (*(volatile unsigned long *)0x800031d8) | ||
47 | |||
48 | #define LCDREG04 (*(volatile unsigned long *)0x80104004) | ||
49 | #define LCDSTAT (*(volatile unsigned long *)0x80104008) | ||
50 | #define LCDREG10 (*(volatile unsigned long *)0x80104010) | ||
51 | #define LCDCMD (*(volatile unsigned long *)0x80104020) | ||
52 | #define LCDDATA (*(volatile unsigned long *)0x80104030) | ||
53 | |||
54 | #define TIMERR00 (*(volatile unsigned long *)0x80020000) | ||
55 | #define TIMERR08 (*(volatile unsigned long *)0x80020008) | ||
56 | #define TIMERR0C (*(volatile unsigned long *)0x8002000c) | ||
57 | |||
58 | #define ADCCH0 (*(volatile unsigned long *)0x80002400) | ||
59 | #define ADCCH1 (*(volatile unsigned long *)0x80002404) | ||
60 | #define ADCCH2 (*(volatile unsigned long *)0x80002408) | ||
61 | #define ADCCH3 (*(volatile unsigned long *)0x8000240c) | ||
62 | #define ADCCH4 (*(volatile unsigned long *)0x80002410) | ||
63 | #define ADCST (*(volatile unsigned long *)0x80002420) | ||
64 | #define ADCR24 (*(volatile unsigned long *)0x80002424) | ||
65 | #define ADCR28 (*(volatile unsigned long *)0x80002428) | ||
66 | |||
67 | #endif | ||