Altera SoCAL  16.0
The Altera SoC Abstraction Layer (SoCAL) API Reference Manual
 All Data Structures Variables Typedefs Groups
alt_lwh2f.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_LWH2F_H__
36 #define __ALTERA_ALT_LWH2F_H__
37 
38 #ifdef __cplusplus
39 extern "C"
40 {
41 #endif /* __cplusplus */
42 
79 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_LSB 0
80 
81 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_MSB 7
82 
83 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_WIDTH 8
84 
85 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_SET_MSK 0x000000ff
86 
87 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_CLR_MSK 0xffffff00
88 
89 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_RESET 0x4
90 
91 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_GET(value) (((value) & 0x000000ff) >> 0)
92 
93 #define ALT_LWH2F_ID_PERIPH_ID_4_PERIPH_ID_4_SET(value) (((value) << 0) & 0x000000ff)
94 
95 #ifndef __ASSEMBLY__
96 
107 {
108  const uint32_t periph_id_4 : 8;
109  uint32_t : 24;
110 };
111 
114 #endif /* __ASSEMBLY__ */
115 
117 #define ALT_LWH2F_ID_PERIPH_ID_4_OFST 0xfd0
118 
141 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_LSB 0
142 
143 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_MSB 7
144 
145 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_WIDTH 8
146 
147 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_SET_MSK 0x000000ff
148 
149 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_CLR_MSK 0xffffff00
150 
151 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_RESET 0x1
152 
153 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_GET(value) (((value) & 0x000000ff) >> 0)
154 
155 #define ALT_LWH2F_ID_PERIPH_ID_0_PN7TO0_SET(value) (((value) << 0) & 0x000000ff)
156 
157 #ifndef __ASSEMBLY__
158 
169 {
170  const uint32_t pn7to0 : 8;
171  uint32_t : 24;
172 };
173 
176 #endif /* __ASSEMBLY__ */
177 
179 #define ALT_LWH2F_ID_PERIPH_ID_0_OFST 0xfe0
180 
203 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_LSB 0
204 
205 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_MSB 7
206 
207 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_WIDTH 8
208 
209 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_SET_MSK 0x000000ff
210 
211 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_CLR_MSK 0xffffff00
212 
213 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_RESET 0xb3
214 
215 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_GET(value) (((value) & 0x000000ff) >> 0)
216 
217 #define ALT_LWH2F_ID_PERIPH_ID_1_JEP3TO0_PN11TO8_SET(value) (((value) << 0) & 0x000000ff)
218 
219 #ifndef __ASSEMBLY__
220 
231 {
232  const uint32_t jep3to0_pn11to8 : 8;
233  uint32_t : 24;
234 };
235 
238 #endif /* __ASSEMBLY__ */
239 
241 #define ALT_LWH2F_ID_PERIPH_ID_1_OFST 0xfe4
242 
265 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_LSB 0
266 
267 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_MSB 7
268 
269 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_WIDTH 8
270 
271 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_SET_MSK 0x000000ff
272 
273 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_CLR_MSK 0xffffff00
274 
275 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_RESET 0x6b
276 
277 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_GET(value) (((value) & 0x000000ff) >> 0)
278 
279 #define ALT_LWH2F_ID_PERIPH_ID_2_REV_JEPCODE_JEP6TO4_SET(value) (((value) << 0) & 0x000000ff)
280 
281 #ifndef __ASSEMBLY__
282 
293 {
294  const uint32_t rev_jepcode_jep6to4 : 8;
295  uint32_t : 24;
296 };
297 
300 #endif /* __ASSEMBLY__ */
301 
303 #define ALT_LWH2F_ID_PERIPH_ID_2_OFST 0xfe8
304 
328 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_LSB 0
329 
330 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_MSB 3
331 
332 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_WIDTH 4
333 
334 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_SET_MSK 0x0000000f
335 
336 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_CLR_MSK 0xfffffff0
337 
338 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_RESET 0x0
339 
340 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_GET(value) (((value) & 0x0000000f) >> 0)
341 
342 #define ALT_LWH2F_ID_PERIPH_ID_3_CUST_MOD_NUM_SET(value) (((value) << 0) & 0x0000000f)
343 
353 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_LSB 4
354 
355 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_MSB 7
356 
357 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_WIDTH 4
358 
359 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_SET_MSK 0x000000f0
360 
361 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_CLR_MSK 0xffffff0f
362 
363 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_RESET 0x0
364 
365 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_GET(value) (((value) & 0x000000f0) >> 4)
366 
367 #define ALT_LWH2F_ID_PERIPH_ID_3_REV_AND_SET(value) (((value) << 4) & 0x000000f0)
368 
369 #ifndef __ASSEMBLY__
370 
381 {
382  const uint32_t cust_mod_num : 4;
383  const uint32_t rev_and : 4;
384  uint32_t : 24;
385 };
386 
389 #endif /* __ASSEMBLY__ */
390 
392 #define ALT_LWH2F_ID_PERIPH_ID_3_OFST 0xfec
393 
416 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_LSB 0
417 
418 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_MSB 7
419 
420 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_WIDTH 8
421 
422 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_SET_MSK 0x000000ff
423 
424 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_CLR_MSK 0xffffff00
425 
426 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_RESET 0xd
427 
428 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_GET(value) (((value) & 0x000000ff) >> 0)
429 
430 #define ALT_LWH2F_ID_COMP_ID_0_PREAMBLE_SET(value) (((value) << 0) & 0x000000ff)
431 
432 #ifndef __ASSEMBLY__
433 
444 {
445  const uint32_t preamble : 8;
446  uint32_t : 24;
447 };
448 
451 #endif /* __ASSEMBLY__ */
452 
454 #define ALT_LWH2F_ID_COMP_ID_0_OFST 0xff0
455 
478 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_LSB 0
479 
480 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_MSB 7
481 
482 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_WIDTH 8
483 
484 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_SET_MSK 0x000000ff
485 
486 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_CLR_MSK 0xffffff00
487 
488 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_RESET 0xf0
489 
490 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_GET(value) (((value) & 0x000000ff) >> 0)
491 
492 #define ALT_LWH2F_ID_COMP_ID_1_GENIPCOMPCLS_PREAMBLE_SET(value) (((value) << 0) & 0x000000ff)
493 
494 #ifndef __ASSEMBLY__
495 
506 {
507  const uint32_t genipcompcls_preamble : 8;
508  uint32_t : 24;
509 };
510 
513 #endif /* __ASSEMBLY__ */
514 
516 #define ALT_LWH2F_ID_COMP_ID_1_OFST 0xff4
517 
540 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_LSB 0
541 
542 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_MSB 7
543 
544 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_WIDTH 8
545 
546 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_SET_MSK 0x000000ff
547 
548 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_CLR_MSK 0xffffff00
549 
550 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_RESET 0x5
551 
552 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_GET(value) (((value) & 0x000000ff) >> 0)
553 
554 #define ALT_LWH2F_ID_COMP_ID_2_PREAMBLE_SET(value) (((value) << 0) & 0x000000ff)
555 
556 #ifndef __ASSEMBLY__
557 
568 {
569  const uint32_t preamble : 8;
570  uint32_t : 24;
571 };
572 
575 #endif /* __ASSEMBLY__ */
576 
578 #define ALT_LWH2F_ID_COMP_ID_2_OFST 0xff8
579 
602 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_LSB 0
603 
604 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_MSB 7
605 
606 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_WIDTH 8
607 
608 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_SET_MSK 0x000000ff
609 
610 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_CLR_MSK 0xffffff00
611 
612 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_RESET 0xb1
613 
614 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_GET(value) (((value) & 0x000000ff) >> 0)
615 
616 #define ALT_LWH2F_ID_COMP_ID_3_PREAMBLE_SET(value) (((value) << 0) & 0x000000ff)
617 
618 #ifndef __ASSEMBLY__
619 
630 {
631  const uint32_t preamble : 8;
632  uint32_t : 24;
633 };
634 
637 #endif /* __ASSEMBLY__ */
638 
640 #define ALT_LWH2F_ID_COMP_ID_3_OFST 0xffc
641 
642 #ifndef __ASSEMBLY__
643 
654 {
655  volatile uint32_t _pad_0x0_0xfcf[1012];
657  volatile uint32_t _pad_0xfd4_0xfdf[3];
666 };
667 
669 typedef volatile struct ALT_LWH2F_ID_s ALT_LWH2F_ID_t;
672 {
673  volatile uint32_t _pad_0x0_0xfcf[1012];
674  volatile uint32_t periph_id_4;
675  volatile uint32_t _pad_0xfd4_0xfdf[3];
676  volatile uint32_t periph_id_0;
677  volatile uint32_t periph_id_1;
678  volatile uint32_t periph_id_2;
679  volatile uint32_t periph_id_3;
680  volatile uint32_t comp_id_0;
681  volatile uint32_t comp_id_1;
682  volatile uint32_t comp_id_2;
683  volatile uint32_t comp_id_3;
684 };
685 
687 typedef volatile struct ALT_LWH2F_ID_raw_s ALT_LWH2F_ID_raw_t;
688 #endif /* __ASSEMBLY__ */
689 
741 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_E_MULT 0x0
742 
747 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_E_SINGLE 0x1
748 
750 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_LSB 0
751 
752 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_MSB 0
753 
754 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_WIDTH 1
755 
756 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_SET_MSK 0x00000001
757 
758 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_CLR_MSK 0xfffffffe
759 
760 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_RESET 0x0
761 
762 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_GET(value) (((value) & 0x00000001) >> 0)
763 
764 #define ALT_LWH2F_FN_MOD_BM_ISS_RD_SET(value) (((value) << 0) & 0x00000001)
765 
784 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_E_MULT 0x0
785 
790 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_E_SINGLE 0x1
791 
793 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_LSB 1
794 
795 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_MSB 1
796 
797 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_WIDTH 1
798 
799 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_SET_MSK 0x00000002
800 
801 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_CLR_MSK 0xfffffffd
802 
803 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_RESET 0x0
804 
805 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_GET(value) (((value) & 0x00000002) >> 1)
806 
807 #define ALT_LWH2F_FN_MOD_BM_ISS_WR_SET(value) (((value) << 1) & 0x00000002)
808 
809 #ifndef __ASSEMBLY__
810 
821 {
822  uint32_t rd : 1;
823  uint32_t wr : 1;
824  uint32_t : 30;
825 };
826 
829 #endif /* __ASSEMBLY__ */
830 
832 #define ALT_LWH2F_FN_MOD_BM_ISS_OFST 0x8
833 
834 #define ALT_LWH2F_FN_MOD_BM_ISS_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_LWH2F_FN_MOD_BM_ISS_OFST))
835 
871 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_E_DIS 0x0
872 
878 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_E_EN 0x1
879 
881 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_LSB 0
882 
883 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_MSB 0
884 
885 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_WIDTH 1
886 
887 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_SET_MSK 0x00000001
888 
889 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_CLR_MSK 0xfffffffe
890 
891 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_RESET 0x0
892 
893 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_GET(value) (((value) & 0x00000001) >> 0)
894 
895 #define ALT_LWH2F_AHB_CNTL_DECERR_EN_SET(value) (((value) << 0) & 0x00000001)
896 
919 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_E_DIS 0x0
920 
927 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_E_EN 0x1
928 
930 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_LSB 1
931 
932 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_MSB 1
933 
934 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_WIDTH 1
935 
936 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_SET_MSK 0x00000002
937 
938 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_CLR_MSK 0xfffffffd
939 
940 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_RESET 0x0
941 
942 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_GET(value) (((value) & 0x00000002) >> 1)
943 
944 #define ALT_LWH2F_AHB_CNTL_FORCE_INCR_SET(value) (((value) << 1) & 0x00000002)
945 
946 #ifndef __ASSEMBLY__
947 
958 {
959  uint32_t decerr_en : 1;
960  uint32_t force_incr : 1;
961  uint32_t : 30;
962 };
963 
966 #endif /* __ASSEMBLY__ */
967 
969 #define ALT_LWH2F_AHB_CNTL_OFST 0x44
970 
971 #define ALT_LWH2F_AHB_CNTL_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_LWH2F_AHB_CNTL_OFST))
972 
973 #ifndef __ASSEMBLY__
974 
985 {
986  volatile uint32_t _pad_0x0_0x7[2];
988  volatile uint32_t _pad_0xc_0x43[14];
990 };
991 
993 typedef volatile struct ALT_LWH2F_MST_F2H_s ALT_LWH2F_MST_F2H_t;
996 {
997  volatile uint32_t _pad_0x0_0x7[2];
998  volatile uint32_t fn_mod_bm_iss;
999  volatile uint32_t _pad_0xc_0x43[14];
1000  volatile uint32_t ahb_cntl;
1001 };
1002 
1005 #endif /* __ASSEMBLY__ */
1006 
1018 #ifndef __ASSEMBLY__
1019 
1030 {
1031  volatile uint32_t _pad_0x0_0x7[2];
1033  volatile uint32_t _pad_0xc_0x43[14];
1035 };
1036 
1041 {
1042  volatile uint32_t _pad_0x0_0x7[2];
1043  volatile uint32_t fn_mod_bm_iss;
1044  volatile uint32_t _pad_0xc_0x43[14];
1045  volatile uint32_t ahb_cntl;
1046 };
1047 
1050 #endif /* __ASSEMBLY__ */
1051 
1086 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_LSB 0
1087 
1088 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_MSB 3
1089 
1090 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_WIDTH 4
1091 
1092 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_SET_MSK 0x0000000f
1093 
1094 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_CLR_MSK 0xfffffff0
1095 
1096 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_RESET 0x4
1097 
1098 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_GET(value) (((value) & 0x0000000f) >> 0)
1099 
1100 #define ALT_LWH2F_WR_TIDEMARK_LEVEL_SET(value) (((value) << 0) & 0x0000000f)
1101 
1102 #ifndef __ASSEMBLY__
1103 
1114 {
1115  uint32_t level : 4;
1116  uint32_t : 28;
1117 };
1118 
1121 #endif /* __ASSEMBLY__ */
1122 
1124 #define ALT_LWH2F_WR_TIDEMARK_OFST 0x40
1125 
1126 #define ALT_LWH2F_WR_TIDEMARK_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_LWH2F_WR_TIDEMARK_OFST))
1127 
1161 #define ALT_LWH2F_FN_MOD_RD_E_MULT 0x0
1162 
1167 #define ALT_LWH2F_FN_MOD_RD_E_SINGLE 0x1
1168 
1170 #define ALT_LWH2F_FN_MOD_RD_LSB 0
1171 
1172 #define ALT_LWH2F_FN_MOD_RD_MSB 0
1173 
1174 #define ALT_LWH2F_FN_MOD_RD_WIDTH 1
1175 
1176 #define ALT_LWH2F_FN_MOD_RD_SET_MSK 0x00000001
1177 
1178 #define ALT_LWH2F_FN_MOD_RD_CLR_MSK 0xfffffffe
1179 
1180 #define ALT_LWH2F_FN_MOD_RD_RESET 0x0
1181 
1182 #define ALT_LWH2F_FN_MOD_RD_GET(value) (((value) & 0x00000001) >> 0)
1183 
1184 #define ALT_LWH2F_FN_MOD_RD_SET(value) (((value) << 0) & 0x00000001)
1185 
1204 #define ALT_LWH2F_FN_MOD_WR_E_MULT 0x0
1205 
1210 #define ALT_LWH2F_FN_MOD_WR_E_SINGLE 0x1
1211 
1213 #define ALT_LWH2F_FN_MOD_WR_LSB 1
1214 
1215 #define ALT_LWH2F_FN_MOD_WR_MSB 1
1216 
1217 #define ALT_LWH2F_FN_MOD_WR_WIDTH 1
1218 
1219 #define ALT_LWH2F_FN_MOD_WR_SET_MSK 0x00000002
1220 
1221 #define ALT_LWH2F_FN_MOD_WR_CLR_MSK 0xfffffffd
1222 
1223 #define ALT_LWH2F_FN_MOD_WR_RESET 0x0
1224 
1225 #define ALT_LWH2F_FN_MOD_WR_GET(value) (((value) & 0x00000002) >> 1)
1226 
1227 #define ALT_LWH2F_FN_MOD_WR_SET(value) (((value) << 1) & 0x00000002)
1228 
1229 #ifndef __ASSEMBLY__
1230 
1241 {
1242  uint32_t rd : 1;
1243  uint32_t wr : 1;
1244  uint32_t : 30;
1245 };
1246 
1248 typedef volatile struct ALT_LWH2F_FN_MOD_s ALT_LWH2F_FN_MOD_t;
1249 #endif /* __ASSEMBLY__ */
1250 
1252 #define ALT_LWH2F_FN_MOD_OFST 0x108
1253 
1254 #define ALT_LWH2F_FN_MOD_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_LWH2F_FN_MOD_OFST))
1255 
1256 #ifndef __ASSEMBLY__
1257 
1268 {
1269  volatile uint32_t _pad_0x0_0x7[2];
1271  volatile uint32_t _pad_0xc_0x3f[13];
1273  volatile uint32_t _pad_0x44_0x107[49];
1275 };
1276 
1281 {
1282  volatile uint32_t _pad_0x0_0x7[2];
1283  volatile uint32_t fn_mod_bm_iss;
1284  volatile uint32_t _pad_0xc_0x3f[13];
1285  volatile uint32_t wr_tidemark;
1286  volatile uint32_t _pad_0x44_0x107[49];
1287  volatile uint32_t fn_mod;
1288 };
1289 
1292 #endif /* __ASSEMBLY__ */
1293 
1295 #ifndef __ASSEMBLY__
1296 
1307 {
1309  volatile uint32_t _pad_0x48_0xfff[1006];
1311  volatile uint32_t _pad_0x1048_0x2fff[2030];
1313 };
1314 
1316 typedef volatile struct ALT_LWH2F_MST_s ALT_LWH2F_MST_t;
1319 {
1321  volatile uint32_t _pad_0x48_0xfff[1006];
1323  volatile uint32_t _pad_0x1048_0x2fff[2030];
1325 };
1326 
1329 #endif /* __ASSEMBLY__ */
1330 
1347 #ifndef __ASSEMBLY__
1348 
1359 {
1360  volatile uint32_t _pad_0x0_0x107[66];
1362 };
1363 
1368 {
1369  volatile uint32_t _pad_0x0_0x107[66];
1370  volatile uint32_t fn_mod;
1371 };
1372 
1375 #endif /* __ASSEMBLY__ */
1376 
1378 #ifndef __ASSEMBLY__
1379 
1390 {
1391  volatile uint32_t _pad_0x0_0x2fff[3072];
1393 };
1394 
1396 typedef volatile struct ALT_LWH2F_SLV_s ALT_LWH2F_SLV_t;
1399 {
1400  volatile uint32_t _pad_0x0_0x2fff[3072];
1402 };
1403 
1406 #endif /* __ASSEMBLY__ */
1407 
1409 #ifndef __ASSEMBLY__
1410 
1421 {
1422  volatile uint32_t _pad_0x0_0xfff[1024];
1425  volatile uint32_t _pad_0x510c_0x41fff[62397];
1427  volatile uint32_t _pad_0x4510c_0x80000[60349];
1428 };
1429 
1431 typedef volatile struct ALT_LWH2F_s ALT_LWH2F_t;
1434 {
1435  volatile uint32_t _pad_0x0_0xfff[1024];
1438  volatile uint32_t _pad_0x510c_0x41fff[62397];
1440  volatile uint32_t _pad_0x4510c_0x80000[60349];
1441 };
1442 
1444 typedef volatile struct ALT_LWH2F_raw_s ALT_LWH2F_raw_t;
1445 #endif /* __ASSEMBLY__ */
1446 
1448 #ifdef __cplusplus
1449 }
1450 #endif /* __cplusplus */
1451 #endif /* __ALTERA_ALT_LWH2F_H__ */
1452