Altera SoCAL
16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
Main Page
Address Space
Data Structures
Files
File List
All
Data Structures
Variables
Typedefs
Groups
alt_fpgamgrdata.h
1
/***********************************************************************************
2
* *
3
* Copyright 2013-2015 Altera Corporation. All Rights Reserved. *
4
* *
5
* Redistribution and use in source and binary forms, with or without *
6
* modification, are permitted provided that the following conditions are met: *
7
* *
8
* 1. Redistributions of source code must retain the above copyright notice, *
9
* this list of conditions and the following disclaimer. *
10
* *
11
* 2. Redistributions in binary form must reproduce the above copyright notice, *
12
* this list of conditions and the following disclaimer in the documentation *
13
* and/or other materials provided with the distribution. *
14
* *
15
* 3. Neither the name of the copyright holder nor the names of its contributors *
16
* may be used to endorse or promote products derived from this software without *
17
* specific prior written permission. *
18
* *
19
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" *
20
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE *
21
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE *
22
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE *
23
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR *
24
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF *
25
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS *
26
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN *
27
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) *
28
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE *
29
* POSSIBILITY OF SUCH DAMAGE. *
30
* *
31
***********************************************************************************/
32
35
#ifndef __ALTERA_ALT_FPGAMGRDATA_H__
36
#define __ALTERA_ALT_FPGAMGRDATA_H__
37
38
#ifdef __cplusplus
39
extern
"C"
40
{
41
#endif
/* __cplusplus */
42
88
#define ALT_FPGAMGRDATA_DATA_VALUE_LSB 0
89
90
#define ALT_FPGAMGRDATA_DATA_VALUE_MSB 31
91
92
#define ALT_FPGAMGRDATA_DATA_VALUE_WIDTH 32
93
94
#define ALT_FPGAMGRDATA_DATA_VALUE_SET_MSK 0xffffffff
95
96
#define ALT_FPGAMGRDATA_DATA_VALUE_CLR_MSK 0x00000000
97
98
#define ALT_FPGAMGRDATA_DATA_VALUE_RESET 0x0
99
100
#define ALT_FPGAMGRDATA_DATA_VALUE_GET(value) (((value) & 0xffffffff) >> 0)
101
102
#define ALT_FPGAMGRDATA_DATA_VALUE_SET(value) (((value) << 0) & 0xffffffff)
103
104
#ifndef __ASSEMBLY__
105
115
struct
ALT_FPGAMGRDATA_DATA_s
116
{
117
uint32_t
value
: 32;
118
};
119
121
typedef
volatile
struct
ALT_FPGAMGRDATA_DATA_s
ALT_FPGAMGRDATA_DATA_t
;
122
#endif
/* __ASSEMBLY__ */
123
125
#define ALT_FPGAMGRDATA_DATA_OFST 0x0
126
127
#ifndef __ASSEMBLY__
128
138
struct
ALT_FPGAMGRDATA_s
139
{
140
volatile
ALT_FPGAMGRDATA_DATA_t
data
;
141
};
142
144
typedef
volatile
struct
ALT_FPGAMGRDATA_s
ALT_FPGAMGRDATA_t
;
146
struct
ALT_FPGAMGRDATA_raw_s
147
{
148
volatile
uint32_t
data
;
149
};
150
152
typedef
volatile
struct
ALT_FPGAMGRDATA_raw_s
ALT_FPGAMGRDATA_raw_t
;
153
#endif
/* __ASSEMBLY__ */
154
156
#ifdef __cplusplus
157
}
158
#endif
/* __cplusplus */
159
#endif
/* __ALTERA_ALT_FPGAMGRDATA_H__ */
160
include
soc_cv_av
socal
alt_fpgamgrdata.h
Generated on Tue Sep 8 2015 13:28:43 for Altera SoCAL by
1.8.2