summaryrefslogtreecommitdiff
path: root/firmware/export/tcc730.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-11-10 20:26:01 +0000
committerJens Arnold <amiconn@rockbox.org>2006-11-10 20:26:01 +0000
commit780f79e7a4028a57e4bf591539a540dbfae2496d (patch)
tree48ddec4b94e11ebc545070b2af6f52144661bf3c /firmware/export/tcc730.h
parent270cb0b68172c740820f772563e66a79308e641e (diff)
downloadrockbox-780f79e7a4028a57e4bf591539a540dbfae2496d.tar.gz
rockbox-780f79e7a4028a57e4bf591539a540dbfae2496d.zip
Removed the Gmini 120 and Gmini SP code. These ports are dead, unfortunately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11504 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/tcc730.h')
-rw-r--r--firmware/export/tcc730.h107
1 files changed, 0 insertions, 107 deletions
diff --git a/firmware/export/tcc730.h b/firmware/export/tcc730.h
deleted file mode 100644
index c1208ecc28..0000000000
--- a/firmware/export/tcc730.h
+++ /dev/null
@@ -1,107 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2005 by Jean-Philippe Bernardy
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 TCC730_H
21#define TCC730_H
22
23/* int is 16 bit
24 long is 32 bit */
25
26#define IOBASE (0x3f0000)
27#define MMIO(t, x) (*(volatile t*)(IOBASE+(x)))
28
29#define OSCCON MMIO(unsigned char, 0x01)
30#define WTCON MMIO(unsigned char, 0x02)
31#define BTCON MMIO(unsigned char, 0x04)
32#define BTCNT MMIO(unsigned char, 0x05)
33#define WDTEN MMIO(unsigned char, 0x06)
34#define WDTCON MMIO(unsigned char, 0x07)
35
36#define TACON MMIO(unsigned char, 0x08)
37#define TAPRE MMIO(unsigned char, 0x09)
38#define TADATA MMIO(unsigned int, 0x0A)
39#define TACNT MMIO(unsigned int, 0x0C)
40
41#define IMR0 MMIO(unsigned int, 0x22)
42#define IMR1 MMIO(unsigned int, 0x2A)
43
44#define P0 MMIO(unsigned char, 0x30)
45#define P1 MMIO(unsigned char, 0x31)
46#define P2 MMIO(unsigned char, 0x32)
47#define P3 MMIO(unsigned char, 0x33)
48#define P4 MMIO(unsigned char, 0x34)
49#define P5 MMIO(unsigned char, 0x35)
50#define P6 MMIO(unsigned char, 0x36)
51#define P7 MMIO(unsigned char, 0x37)
52#define P8 MMIO(unsigned char, 0x38)
53#define P9 MMIO(unsigned char, 0x39)
54#define P10 MMIO(unsigned char, 0x3A)
55
56#define P0CON MMIO(unsigned char,0x40)
57#define P1CON MMIO(unsigned char,0x41)
58#define P2CON MMIO(unsigned int,0x42)
59#define P2CONH MMIO(unsigned char,0x42)
60#define P2CONL MMIO(unsigned char,0x43)
61#define P3CON MMIO(unsigned int,0x44)
62#define P3CONH MMIO(unsigned char,0x44)
63#define P3CONL MMIO(unsigned char,0x45)
64#define P3PUR MMIO(unsigned char,0x46)
65#define P5CON MMIO(unsigned char,0x48)
66#define P5PUR MMIO(unsigned char,0x49)
67#define P5INTMOD MMIO(unsigned int,0x4A)
68#define P5INTCON MMIO(unsigned char,0x4C)
69#define P4CON MMIO(unsigned char,0x50)
70#define P4INTCON MMIO(unsigned char,0x51)
71#define P4INTMOD MMIO(unsigned char,0x52)
72#define P6CON MMIO(unsigned char,0x53)
73#define P7CON MMIO(unsigned char,0x54)
74#define P8CON MMIO(unsigned char,0x55)
75#define P9CON MMIO(unsigned char,0x56)
76#define P10CON MMIO(unsigned char,0x57)
77
78#define IISCON0 MMIO(unsigned char, 0x0a0)
79#define IISMODE0 MMIO(unsigned char, 0x0a1)
80#define IISPTR0 MMIO(unsigned char, 0x0a2)
81#define IISCON1 MMIO(unsigned char, 0x0a3)
82#define IISMODE1 MMIO(unsigned char, 0x0a4)
83#define IISPTR1 MMIO(unsigned char, 0x0a5)
84
85#define ADDATA MMIO(unsigned int, 0x74)
86#define ADCON MMIO(unsigned char, 0x76)
87
88#define PLL0DATA MMIO(unsigned int, 0xA8)
89#define PLL0CON MMIO(unsigned char, 0xAA)
90#define PLL1DATA MMIO(unsigned int, 0xAC)
91#define PLL1CON MMIO(unsigned char, 0xAE)
92
93#define IISBUF ((volatile unsigned int*)(IOBASE+(0x0c0)))
94
95#define MIUSCFG MMIO(unsigned char, 0x110)
96#define MIUDCOM MMIO(unsigned char, 0x111)
97#define MIUDCFG MMIO(unsigned int, 0x112)
98#define MIUDCNT MMIO(unsigned int, 0x114)
99
100#define DDMACOM MMIO(unsigned char, 0x120)
101#define DDMACFG MMIO(unsigned char, 0x121)
102#define DDMAIADR MMIO(unsigned long, 0x122)
103#define DDMAEADR MMIO(unsigned long, 0x126)
104#define DDMANUM MMIO(unsigned int, 0x12A)
105#define DDMACNT MMIO(unsigned int, 0x12C)
106
107#endif