1 |
65 |
gedra |
/*********************************************************************
|
2 |
|
|
**** ****
|
3 |
|
|
**** WISHBONE SPDIF IP Core ****
|
4 |
|
|
**** ****
|
5 |
|
|
**** This file is part of the SPDIF project ****
|
6 |
|
|
**** http://www.opencores.org/cores/spdif_interface/ ****
|
7 |
|
|
**** ****
|
8 |
|
|
**** Description ****
|
9 |
|
|
**** Definitions for the SPDIF receiver. ****
|
10 |
|
|
**** ****
|
11 |
|
|
**** ****
|
12 |
|
|
**** To Do: ****
|
13 |
|
|
**** - ****
|
14 |
|
|
**** ****
|
15 |
|
|
**** Author(s): ****
|
16 |
|
|
**** - Geir Drange, gedra@opencores.org ****
|
17 |
|
|
**** ****
|
18 |
|
|
**********************************************************************
|
19 |
|
|
**** ****
|
20 |
|
|
**** Copyright (C) 2004 Authors and OPENCORES.ORG ****
|
21 |
|
|
**** ****
|
22 |
|
|
**** This source file may be used and distributed without ****
|
23 |
|
|
**** restriction provided that this copyright statement is not ****
|
24 |
|
|
**** removed from the file and that any derivative work contains ****
|
25 |
|
|
**** the original copyright notice and the associated disclaimer. ****
|
26 |
|
|
**** ****
|
27 |
|
|
**** This source file is free software; you can redistribute it ****
|
28 |
|
|
**** and/or modify it under the terms of the GNU Lesser General ****
|
29 |
|
|
**** Public License as published by the Free Software Foundation; ****
|
30 |
|
|
**** either version 2.1 of the License, or (at your option) any ****
|
31 |
|
|
**** later version. ****
|
32 |
|
|
**** ****
|
33 |
|
|
**** This source is distributed in the hope that it will be ****
|
34 |
|
|
**** useful, but WITHOUT ANY WARRANTY; without even the implied ****
|
35 |
|
|
**** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ****
|
36 |
|
|
**** PURPOSE. See the GNU Lesser General Public License for more ****
|
37 |
|
|
**** details. ****
|
38 |
|
|
**** ****
|
39 |
|
|
**** You should have received a copy of the GNU Lesser General ****
|
40 |
|
|
**** Public License along with this source; if not, download it ****
|
41 |
|
|
**** from http://www.opencores.org/lgpl.shtml ****
|
42 |
|
|
**** ****
|
43 |
|
|
**********************************************************************
|
44 |
|
|
**
|
45 |
|
|
** CVS Revision History
|
46 |
|
|
**
|
47 |
|
|
** $Log: not supported by cvs2svn $
|
48 |
|
|
**
|
49 |
|
|
**/
|
50 |
|
|
|
51 |
|
|
#ifndef _rx_spdif_
|
52 |
|
|
#define _rx_spdif_
|
53 |
|
|
|
54 |
|
|
/*** Register definitions ********************************************/
|
55 |
|
|
|
56 |
|
|
#define RX_VERSION 0x00 /* Version register */
|
57 |
|
|
#define RX_CONFIG 0x01 /* Configuration register */
|
58 |
|
|
#define RX_STATUS 0x02 /* Status register */
|
59 |
|
|
#define RX_INTMASK 0x03 /* interrupt mask register */
|
60 |
|
|
#define RX_INSTAT 0x04 /* Interrupt event register */
|
61 |
|
|
#define RX_CHSTCAP0 0x10 /* Capture control register 0 */
|
62 |
|
|
#define RX_CHSTDAT0 0x11 /* Capture data register 0 */
|
63 |
|
|
#define RX_CHSTCAP1 0x12 /* Capture control register 1 */
|
64 |
|
|
#define RX_CHSTDAT1 0x13 /* Capture data register 1 */
|
65 |
|
|
#define RX_CHSTCAP2 0x14 /* Capture control register 2 */
|
66 |
|
|
#define RX_CHSTDAT2 0x15 /* Capture data register 2 */
|
67 |
|
|
#define RX_CHSTCAP3 0x16 /* Capture control register 3 */
|
68 |
|
|
#define RX_CHSTDAT3 0x17 /* Capture data register 3 */
|
69 |
|
|
#define RX_CHSTCAP4 0x18 /* Capture control register 4 */
|
70 |
|
|
#define RX_CHSTDAT4 0x19 /* Capture data register 4 */
|
71 |
|
|
#define RX_CHSTCAP5 0x1a /* Capture control register 5 */
|
72 |
|
|
#define RX_CHSTDAT5 0x1b /* Capture data register 5 */
|
73 |
|
|
#define RX_CHSTCAP6 0x1c /* Capture control register 6 */
|
74 |
|
|
#define RX_CHSTDAT6 0x1d /* Capture data register 6 */
|
75 |
|
|
#define RX_CHSTCAP7 0x1e /* Capture control register 7 */
|
76 |
|
|
#define RX_CHSTDAT7 0x1f /* Capture data register 7 */
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
#endif
|
80 |
|
|
|