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 __ALT_SOCAL_FPGAMGRDATA_H__
36
#define __ALT_SOCAL_FPGAMGRDATA_H__
37
38
#ifndef __ASSEMBLY__
39
#ifdef __cplusplus
40
#include <cstdint>
41
extern
"C"
42
{
43
#else
/* __cplusplus */
44
#include <stdint.h>
45
#endif
/* __cplusplus */
46
#endif
/* __ASSEMBLY__ */
47
73
#define ALT_FPGAMGRDATA_DATA_FLD_LSB 0
74
75
#define ALT_FPGAMGRDATA_DATA_FLD_MSB 31
76
77
#define ALT_FPGAMGRDATA_DATA_FLD_WIDTH 32
78
79
#define ALT_FPGAMGRDATA_DATA_FLD_SET_MSK 0xffffffff
80
81
#define ALT_FPGAMGRDATA_DATA_FLD_CLR_MSK 0x00000000
82
83
#define ALT_FPGAMGRDATA_DATA_FLD_RESET 0x0
84
85
#define ALT_FPGAMGRDATA_DATA_FLD_GET(value) (((value) & 0xffffffff) >> 0)
86
87
#define ALT_FPGAMGRDATA_DATA_FLD_SET(value) (((value) << 0) & 0xffffffff)
88
89
#ifndef __ASSEMBLY__
90
100
struct
ALT_FPGAMGRDATA_DATA_s
101
{
102
uint32_t
fld
: 32;
103
};
104
106
typedef
volatile
struct
ALT_FPGAMGRDATA_DATA_s
ALT_FPGAMGRDATA_DATA_t
;
107
#endif
/* __ASSEMBLY__ */
108
110
#define ALT_FPGAMGRDATA_DATA_RESET 0x00000000
111
112
#define ALT_FPGAMGRDATA_DATA_OFST 0x0
113
114
#ifndef __ASSEMBLY__
115
125
struct
ALT_FPGAMGRDATA_s
126
{
127
volatile
ALT_FPGAMGRDATA_DATA_t
img_data_w
;
128
volatile
uint32_t
_pad_0x4_0x400
[255];
129
};
130
132
typedef
volatile
struct
ALT_FPGAMGRDATA_s
ALT_FPGAMGRDATA_t
;
134
struct
ALT_FPGAMGRDATA_raw_s
135
{
136
volatile
uint32_t
img_data_w
;
137
volatile
uint32_t
_pad_0x4_0x400
[255];
138
};
139
141
typedef
volatile
struct
ALT_FPGAMGRDATA_raw_s
ALT_FPGAMGRDATA_raw_t
;
142
#endif
/* __ASSEMBLY__ */
143
145
#ifdef __cplusplus
146
}
147
#endif
/* __cplusplus */
148
#endif
/* __ALT_SOCAL_FPGAMGRDATA_H__ */
149
include
soc_a10
socal
alt_fpgamgrdata.h
Generated on Tue Sep 8 2015 13:33:01 for Altera SoCAL by
1.8.2