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_l4wd.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_L4WD_H__
36
#define __ALT_SOCAL_L4WD_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
101
#define ALT_L4WD_CR_WDT_EN_E_DISD 0x0
102
107
#define ALT_L4WD_CR_WDT_EN_E_END 0x1
108
110
#define ALT_L4WD_CR_WDT_EN_LSB 0
111
112
#define ALT_L4WD_CR_WDT_EN_MSB 0
113
114
#define ALT_L4WD_CR_WDT_EN_WIDTH 1
115
116
#define ALT_L4WD_CR_WDT_EN_SET_MSK 0x00000001
117
118
#define ALT_L4WD_CR_WDT_EN_CLR_MSK 0xfffffffe
119
120
#define ALT_L4WD_CR_WDT_EN_RESET 0x0
121
122
#define ALT_L4WD_CR_WDT_EN_GET(value) (((value) & 0x00000001) >> 0)
123
124
#define ALT_L4WD_CR_WDT_EN_SET(value) (((value) << 0) & 0x00000001)
125
158
#define ALT_L4WD_CR_RMOD_E_RST 0x0
159
165
#define ALT_L4WD_CR_RMOD_E_IRQRST 0x1
166
168
#define ALT_L4WD_CR_RMOD_LSB 1
169
170
#define ALT_L4WD_CR_RMOD_MSB 1
171
172
#define ALT_L4WD_CR_RMOD_WIDTH 1
173
174
#define ALT_L4WD_CR_RMOD_SET_MSK 0x00000002
175
176
#define ALT_L4WD_CR_RMOD_CLR_MSK 0xfffffffd
177
178
#define ALT_L4WD_CR_RMOD_RESET 0x0
179
180
#define ALT_L4WD_CR_RMOD_GET(value) (((value) & 0x00000002) >> 1)
181
182
#define ALT_L4WD_CR_RMOD_SET(value) (((value) << 1) & 0x00000002)
183
215
#define ALT_L4WD_CR_RPL_LSB 2
216
217
#define ALT_L4WD_CR_RPL_MSB 4
218
219
#define ALT_L4WD_CR_RPL_WIDTH 3
220
221
#define ALT_L4WD_CR_RPL_SET_MSK 0x0000001c
222
223
#define ALT_L4WD_CR_RPL_CLR_MSK 0xffffffe3
224
225
#define ALT_L4WD_CR_RPL_RESET 0x0
226
227
#define ALT_L4WD_CR_RPL_GET(value) (((value) & 0x0000001c) >> 2)
228
229
#define ALT_L4WD_CR_RPL_SET(value) (((value) << 2) & 0x0000001c)
230
231
#ifndef __ASSEMBLY__
232
242
struct
ALT_L4WD_CR_s
243
{
244
uint32_t
wdt_en
: 1;
245
uint32_t
rmod
: 1;
246
uint32_t
rpl
: 3;
247
uint32_t : 27;
248
};
249
251
typedef
volatile
struct
ALT_L4WD_CR_s
ALT_L4WD_CR_t
;
252
#endif
/* __ASSEMBLY__ */
253
255
#define ALT_L4WD_CR_RESET 0x00000000
256
257
#define ALT_L4WD_CR_OFST 0x0
258
259
#define ALT_L4WD_CR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CR_OFST))
260
341
#define ALT_L4WD_TORR_TOP_E_TMO64K 0x0
342
347
#define ALT_L4WD_TORR_TOP_E_TMO128K 0x1
348
353
#define ALT_L4WD_TORR_TOP_E_TMO256K 0x2
354
359
#define ALT_L4WD_TORR_TOP_E_TMO512K 0x3
360
365
#define ALT_L4WD_TORR_TOP_E_TMO1M 0x4
366
371
#define ALT_L4WD_TORR_TOP_E_TMO2M 0x5
372
377
#define ALT_L4WD_TORR_TOP_E_TMO4M 0x6
378
383
#define ALT_L4WD_TORR_TOP_E_TMO8M 0x7
384
389
#define ALT_L4WD_TORR_TOP_E_TMO16M 0x8
390
395
#define ALT_L4WD_TORR_TOP_E_TMO32M 0x9
396
401
#define ALT_L4WD_TORR_TOP_E_TMO64M 0xa
402
407
#define ALT_L4WD_TORR_TOP_E_TMO128M 0xb
408
413
#define ALT_L4WD_TORR_TOP_E_TMO256M 0xc
414
419
#define ALT_L4WD_TORR_TOP_E_TMO512M 0xd
420
425
#define ALT_L4WD_TORR_TOP_E_TMO1G 0xe
426
431
#define ALT_L4WD_TORR_TOP_E_TMO2G 0xf
432
434
#define ALT_L4WD_TORR_TOP_LSB 0
435
436
#define ALT_L4WD_TORR_TOP_MSB 3
437
438
#define ALT_L4WD_TORR_TOP_WIDTH 4
439
440
#define ALT_L4WD_TORR_TOP_SET_MSK 0x0000000f
441
442
#define ALT_L4WD_TORR_TOP_CLR_MSK 0xfffffff0
443
444
#define ALT_L4WD_TORR_TOP_RESET 0xf
445
446
#define ALT_L4WD_TORR_TOP_GET(value) (((value) & 0x0000000f) >> 0)
447
448
#define ALT_L4WD_TORR_TOP_SET(value) (((value) << 0) & 0x0000000f)
449
530
#define ALT_L4WD_TORR_TOP_INIT_E_TMO64K 0x0
531
536
#define ALT_L4WD_TORR_TOP_INIT_E_TMO128K 0x1
537
542
#define ALT_L4WD_TORR_TOP_INIT_E_TMO256K 0x2
543
548
#define ALT_L4WD_TORR_TOP_INIT_E_TMO512K 0x3
549
554
#define ALT_L4WD_TORR_TOP_INIT_E_TMO1M 0x4
555
560
#define ALT_L4WD_TORR_TOP_INIT_E_TMO2M 0x5
561
566
#define ALT_L4WD_TORR_TOP_INIT_E_TMO4M 0x6
567
572
#define ALT_L4WD_TORR_TOP_INIT_E_TMO8M 0x7
573
578
#define ALT_L4WD_TORR_TOP_INIT_E_TMO16M 0x8
579
584
#define ALT_L4WD_TORR_TOP_INIT_E_TMO32M 0x9
585
590
#define ALT_L4WD_TORR_TOP_INIT_E_TMO64M 0xa
591
596
#define ALT_L4WD_TORR_TOP_INIT_E_TMO128M 0xb
597
602
#define ALT_L4WD_TORR_TOP_INIT_E_TMO256M 0xc
603
608
#define ALT_L4WD_TORR_TOP_INIT_E_TMO512M 0xd
609
614
#define ALT_L4WD_TORR_TOP_INIT_E_TMO1G 0xe
615
620
#define ALT_L4WD_TORR_TOP_INIT_E_TMO2G 0xf
621
623
#define ALT_L4WD_TORR_TOP_INIT_LSB 4
624
625
#define ALT_L4WD_TORR_TOP_INIT_MSB 7
626
627
#define ALT_L4WD_TORR_TOP_INIT_WIDTH 4
628
629
#define ALT_L4WD_TORR_TOP_INIT_SET_MSK 0x000000f0
630
631
#define ALT_L4WD_TORR_TOP_INIT_CLR_MSK 0xffffff0f
632
633
#define ALT_L4WD_TORR_TOP_INIT_RESET 0xf
634
635
#define ALT_L4WD_TORR_TOP_INIT_GET(value) (((value) & 0x000000f0) >> 4)
636
637
#define ALT_L4WD_TORR_TOP_INIT_SET(value) (((value) << 4) & 0x000000f0)
638
648
#define ALT_L4WD_TORR_RSVD_LSB 8
649
650
#define ALT_L4WD_TORR_RSVD_MSB 31
651
652
#define ALT_L4WD_TORR_RSVD_WIDTH 24
653
654
#define ALT_L4WD_TORR_RSVD_SET_MSK 0xffffff00
655
656
#define ALT_L4WD_TORR_RSVD_CLR_MSK 0x000000ff
657
658
#define ALT_L4WD_TORR_RSVD_RESET 0x0
659
660
#define ALT_L4WD_TORR_RSVD_GET(value) (((value) & 0xffffff00) >> 8)
661
662
#define ALT_L4WD_TORR_RSVD_SET(value) (((value) << 8) & 0xffffff00)
663
664
#ifndef __ASSEMBLY__
665
675
struct
ALT_L4WD_TORR_s
676
{
677
uint32_t
top
: 4;
678
uint32_t
top_init
: 4;
679
const
uint32_t
reserved
: 24;
680
};
681
683
typedef
volatile
struct
ALT_L4WD_TORR_s
ALT_L4WD_TORR_t
;
684
#endif
/* __ASSEMBLY__ */
685
687
#define ALT_L4WD_TORR_RESET 0x000000ff
688
689
#define ALT_L4WD_TORR_OFST 0x4
690
691
#define ALT_L4WD_TORR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_TORR_OFST))
692
720
#define ALT_L4WD_CCVR_WDT_CCVR_LSB 0
721
722
#define ALT_L4WD_CCVR_WDT_CCVR_MSB 31
723
724
#define ALT_L4WD_CCVR_WDT_CCVR_WIDTH 32
725
726
#define ALT_L4WD_CCVR_WDT_CCVR_SET_MSK 0xffffffff
727
728
#define ALT_L4WD_CCVR_WDT_CCVR_CLR_MSK 0x00000000
729
730
#define ALT_L4WD_CCVR_WDT_CCVR_RESET 0x7fffffff
731
732
#define ALT_L4WD_CCVR_WDT_CCVR_GET(value) (((value) & 0xffffffff) >> 0)
733
734
#define ALT_L4WD_CCVR_WDT_CCVR_SET(value) (((value) << 0) & 0xffffffff)
735
736
#ifndef __ASSEMBLY__
737
747
struct
ALT_L4WD_CCVR_s
748
{
749
const
uint32_t
wdt_ccvr
: 32;
750
};
751
753
typedef
volatile
struct
ALT_L4WD_CCVR_s
ALT_L4WD_CCVR_t
;
754
#endif
/* __ASSEMBLY__ */
755
757
#define ALT_L4WD_CCVR_RESET 0x7fffffff
758
759
#define ALT_L4WD_CCVR_OFST 0x8
760
761
#define ALT_L4WD_CCVR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CCVR_OFST))
762
799
#define ALT_L4WD_CRR_WDT_CRR_E_KICK 0x76
800
802
#define ALT_L4WD_CRR_WDT_CRR_LSB 0
803
804
#define ALT_L4WD_CRR_WDT_CRR_MSB 7
805
806
#define ALT_L4WD_CRR_WDT_CRR_WIDTH 8
807
808
#define ALT_L4WD_CRR_WDT_CRR_SET_MSK 0x000000ff
809
810
#define ALT_L4WD_CRR_WDT_CRR_CLR_MSK 0xffffff00
811
812
#define ALT_L4WD_CRR_WDT_CRR_RESET 0x0
813
814
#define ALT_L4WD_CRR_WDT_CRR_GET(value) (((value) & 0x000000ff) >> 0)
815
816
#define ALT_L4WD_CRR_WDT_CRR_SET(value) (((value) << 0) & 0x000000ff)
817
818
#ifndef __ASSEMBLY__
819
829
struct
ALT_L4WD_CRR_s
830
{
831
uint32_t
wdt_crr
: 8;
832
uint32_t : 24;
833
};
834
836
typedef
volatile
struct
ALT_L4WD_CRR_s
ALT_L4WD_CRR_t
;
837
#endif
/* __ASSEMBLY__ */
838
840
#define ALT_L4WD_CRR_RESET 0x00000000
841
842
#define ALT_L4WD_CRR_OFST 0xc
843
844
#define ALT_L4WD_CRR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CRR_OFST))
845
883
#define ALT_L4WD_STAT_WDT_STAT_E_INACT 0x0
884
889
#define ALT_L4WD_STAT_WDT_STAT_E_ACT 0x1
890
892
#define ALT_L4WD_STAT_WDT_STAT_LSB 0
893
894
#define ALT_L4WD_STAT_WDT_STAT_MSB 0
895
896
#define ALT_L4WD_STAT_WDT_STAT_WIDTH 1
897
898
#define ALT_L4WD_STAT_WDT_STAT_SET_MSK 0x00000001
899
900
#define ALT_L4WD_STAT_WDT_STAT_CLR_MSK 0xfffffffe
901
902
#define ALT_L4WD_STAT_WDT_STAT_RESET 0x0
903
904
#define ALT_L4WD_STAT_WDT_STAT_GET(value) (((value) & 0x00000001) >> 0)
905
906
#define ALT_L4WD_STAT_WDT_STAT_SET(value) (((value) << 0) & 0x00000001)
907
908
#ifndef __ASSEMBLY__
909
919
struct
ALT_L4WD_STAT_s
920
{
921
const
uint32_t
wdt_stat
: 1;
922
uint32_t : 31;
923
};
924
926
typedef
volatile
struct
ALT_L4WD_STAT_s
ALT_L4WD_STAT_t
;
927
#endif
/* __ASSEMBLY__ */
928
930
#define ALT_L4WD_STAT_RESET 0x00000000
931
932
#define ALT_L4WD_STAT_OFST 0x10
933
934
#define ALT_L4WD_STAT_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_STAT_OFST))
935
960
#define ALT_L4WD_EOI_WDT_EOI_LSB 0
961
962
#define ALT_L4WD_EOI_WDT_EOI_MSB 0
963
964
#define ALT_L4WD_EOI_WDT_EOI_WIDTH 1
965
966
#define ALT_L4WD_EOI_WDT_EOI_SET_MSK 0x00000001
967
968
#define ALT_L4WD_EOI_WDT_EOI_CLR_MSK 0xfffffffe
969
970
#define ALT_L4WD_EOI_WDT_EOI_RESET 0x0
971
972
#define ALT_L4WD_EOI_WDT_EOI_GET(value) (((value) & 0x00000001) >> 0)
973
974
#define ALT_L4WD_EOI_WDT_EOI_SET(value) (((value) << 0) & 0x00000001)
975
976
#ifndef __ASSEMBLY__
977
987
struct
ALT_L4WD_EOI_s
988
{
989
const
uint32_t
wdt_eoi
: 1;
990
uint32_t : 31;
991
};
992
994
typedef
volatile
struct
ALT_L4WD_EOI_s
ALT_L4WD_EOI_t
;
995
#endif
/* __ASSEMBLY__ */
996
998
#define ALT_L4WD_EOI_RESET 0x00000000
999
1000
#define ALT_L4WD_EOI_OFST 0x14
1001
1002
#define ALT_L4WD_EOI_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_EOI_OFST))
1003
1025
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_LSB 0
1026
1027
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_MSB 31
1028
1029
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_WIDTH 32
1030
1031
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_SET_MSK 0xffffffff
1032
1033
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_CLR_MSK 0x00000000
1034
1035
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_RESET 0x0
1036
1037
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_GET(value) (((value) & 0xffffffff) >> 0)
1038
1039
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_SET(value) (((value) << 0) & 0xffffffff)
1040
1041
#ifndef __ASSEMBLY__
1042
1052
struct
ALT_L4WD_CP_WDT_USER_TOP_MAX_s
1053
{
1054
const
uint32_t
cp_wdt_user_top_max
: 32;
1055
};
1056
1058
typedef
volatile
struct
ALT_L4WD_CP_WDT_USER_TOP_MAX_s
ALT_L4WD_CP_WDT_USER_TOP_MAX_t
;
1059
#endif
/* __ASSEMBLY__ */
1060
1062
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_RESET 0x00000000
1063
1064
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_OFST 0xe4
1065
1066
#define ALT_L4WD_CP_WDT_USER_TOP_MAX_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CP_WDT_USER_TOP_MAX_OFST))
1067
1089
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_LSB 0
1090
1091
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_MSB 31
1092
1093
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_WIDTH 32
1094
1095
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_SET_MSK 0xffffffff
1096
1097
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_CLR_MSK 0x00000000
1098
1099
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_RESET 0x0
1100
1101
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_GET(value) (((value) & 0xffffffff) >> 0)
1102
1103
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_SET(value) (((value) << 0) & 0xffffffff)
1104
1105
#ifndef __ASSEMBLY__
1106
1116
struct
ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_s
1117
{
1118
const
uint32_t
cp_wdt_user_top_init_max
: 32;
1119
};
1120
1122
typedef
volatile
struct
ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_s
ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_t
;
1123
#endif
/* __ASSEMBLY__ */
1124
1126
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_RESET 0x00000000
1127
1128
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_OFST 0xe8
1129
1130
#define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_OFST))
1131
1153
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_LSB 0
1154
1155
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_MSB 31
1156
1157
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_WIDTH 32
1158
1159
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_SET_MSK 0xffffffff
1160
1161
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_CLR_MSK 0x00000000
1162
1163
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_RESET 0xff
1164
1165
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_GET(value) (((value) & 0xffffffff) >> 0)
1166
1167
#define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_SET(value) (((value) << 0) & 0xffffffff)
1168
1169
#ifndef __ASSEMBLY__
1170
1180
struct
ALT_L4WD_CD_WDT_TOP_RST_s
1181
{
1182
const
uint32_t
cd_wdt_top_rst
: 32;
1183
};
1184
1186
typedef
volatile
struct
ALT_L4WD_CD_WDT_TOP_RST_s
ALT_L4WD_CD_WDT_TOP_RST_t
;
1187
#endif
/* __ASSEMBLY__ */
1188
1190
#define ALT_L4WD_CD_WDT_TOP_RST_RESET 0x000000ff
1191
1192
#define ALT_L4WD_CD_WDT_TOP_RST_OFST 0xec
1193
1194
#define ALT_L4WD_CD_WDT_TOP_RST_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CD_WDT_TOP_RST_OFST))
1195
1218
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_LSB 0
1219
1220
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_MSB 31
1221
1222
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_WIDTH 32
1223
1224
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_SET_MSK 0xffffffff
1225
1226
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_CLR_MSK 0x00000000
1227
1228
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_RESET 0x7fffffff
1229
1230
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_GET(value) (((value) & 0xffffffff) >> 0)
1231
1232
#define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_SET(value) (((value) << 0) & 0xffffffff)
1233
1234
#ifndef __ASSEMBLY__
1235
1245
struct
ALT_L4WD_CP_WDT_CNT_RST_s
1246
{
1247
const
uint32_t
cp_wdt_cnt_rst
: 32;
1248
};
1249
1251
typedef
volatile
struct
ALT_L4WD_CP_WDT_CNT_RST_s
ALT_L4WD_CP_WDT_CNT_RST_t
;
1252
#endif
/* __ASSEMBLY__ */
1253
1255
#define ALT_L4WD_CP_WDT_CNT_RST_RESET 0x7fffffff
1256
1257
#define ALT_L4WD_CP_WDT_CNT_RST_OFST 0xf0
1258
1259
#define ALT_L4WD_CP_WDT_CNT_RST_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CP_WDT_CNT_RST_OFST))
1260
1304
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_E_DISD 0x0
1305
1307
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_LSB 0
1308
1309
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_MSB 0
1310
1311
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_WIDTH 1
1312
1313
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_SET_MSK 0x00000001
1314
1315
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_CLR_MSK 0xfffffffe
1316
1317
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_RESET 0x0
1318
1319
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_GET(value) (((value) & 0x00000001) >> 0)
1320
1321
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_SET(value) (((value) << 0) & 0x00000001)
1322
1341
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_E_RSTREQ 0x0
1342
1344
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_LSB 1
1345
1346
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_MSB 1
1347
1348
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_WIDTH 1
1349
1350
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_SET_MSK 0x00000002
1351
1352
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_CLR_MSK 0xfffffffd
1353
1354
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_RESET 0x0
1355
1356
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_GET(value) (((value) & 0x00000002) >> 1)
1357
1358
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_SET(value) (((value) << 1) & 0x00000002)
1359
1377
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_E_DUALTOP 0x1
1378
1380
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_LSB 2
1381
1382
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_MSB 2
1383
1384
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_WIDTH 1
1385
1386
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_SET_MSK 0x00000004
1387
1388
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_CLR_MSK 0xfffffffb
1389
1390
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_RESET 0x1
1391
1392
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_GET(value) (((value) & 0x00000004) >> 2)
1393
1394
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_SET(value) (((value) << 2) & 0x00000004)
1395
1413
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_E_PGML 0x0
1414
1416
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_LSB 3
1417
1418
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_MSB 3
1419
1420
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_WIDTH 1
1421
1422
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_SET_MSK 0x00000008
1423
1424
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_CLR_MSK 0xfffffff7
1425
1426
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_RESET 0x0
1427
1428
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_GET(value) (((value) & 0x00000008) >> 3)
1429
1430
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_SET(value) (((value) << 3) & 0x00000008)
1431
1449
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_E_HARDCODED 0x1
1450
1452
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_LSB 4
1453
1454
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_MSB 4
1455
1456
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_WIDTH 1
1457
1458
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_SET_MSK 0x00000010
1459
1460
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_CLR_MSK 0xffffffef
1461
1462
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_RESET 0x1
1463
1464
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_GET(value) (((value) & 0x00000010) >> 4)
1465
1466
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_SET(value) (((value) << 4) & 0x00000010)
1467
1485
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_E_PGML 0x0
1486
1488
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_LSB 5
1489
1490
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_MSB 5
1491
1492
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_WIDTH 1
1493
1494
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_SET_MSK 0x00000020
1495
1496
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_CLR_MSK 0xffffffdf
1497
1498
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_RESET 0x0
1499
1500
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_GET(value) (((value) & 0x00000020) >> 5)
1501
1502
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_SET(value) (((value) << 5) & 0x00000020)
1503
1522
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_E_PREDEFINED 0x1
1523
1525
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_LSB 6
1526
1527
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_MSB 6
1528
1529
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_WIDTH 1
1530
1531
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_SET_MSK 0x00000040
1532
1533
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_CLR_MSK 0xffffffbf
1534
1535
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_RESET 0x1
1536
1537
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_GET(value) (((value) & 0x00000040) >> 6)
1538
1539
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_SET(value) (((value) << 6) & 0x00000040)
1540
1548
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_LSB 7
1549
1550
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_MSB 7
1551
1552
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_WIDTH 1
1553
1554
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_SET_MSK 0x00000080
1555
1556
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_CLR_MSK 0xffffff7f
1557
1558
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_RESET 0x0
1559
1560
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_GET(value) (((value) & 0x00000080) >> 7)
1561
1562
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_SET(value) (((value) << 7) & 0x00000080)
1563
1581
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_E_WIDTH32BITS 0x2
1582
1584
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_LSB 8
1585
1586
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_MSB 9
1587
1588
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_WIDTH 2
1589
1590
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_SET_MSK 0x00000300
1591
1592
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_CLR_MSK 0xfffffcff
1593
1594
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_RESET 0x2
1595
1596
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_GET(value) (((value) & 0x00000300) >> 8)
1597
1598
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_SET(value) (((value) << 8) & 0x00000300)
1599
1617
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_E_PULSE2CYCLES 0x0
1618
1620
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_LSB 10
1621
1622
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_MSB 12
1623
1624
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_WIDTH 3
1625
1626
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_SET_MSK 0x00001c00
1627
1628
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_CLR_MSK 0xffffe3ff
1629
1630
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_RESET 0x0
1631
1632
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_GET(value) (((value) & 0x00001c00) >> 10)
1633
1634
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_SET(value) (((value) << 10) & 0x00001c00)
1635
1643
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_LSB 13
1644
1645
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_MSB 15
1646
1647
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_WIDTH 3
1648
1649
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_SET_MSK 0x0000e000
1650
1651
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_CLR_MSK 0xffff1fff
1652
1653
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_RESET 0x0
1654
1655
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_GET(value) (((value) & 0x0000e000) >> 13)
1656
1657
#define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_SET(value) (((value) << 13) & 0x0000e000)
1658
1676
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_E_TMO15 0xf
1677
1679
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_LSB 16
1680
1681
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_MSB 19
1682
1683
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_WIDTH 4
1684
1685
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_SET_MSK 0x000f0000
1686
1687
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_CLR_MSK 0xfff0ffff
1688
1689
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_RESET 0xf
1690
1691
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_GET(value) (((value) & 0x000f0000) >> 16)
1692
1693
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_SET(value) (((value) << 16) & 0x000f0000)
1694
1712
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_E_TMO15 0xf
1713
1715
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_LSB 20
1716
1717
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_MSB 23
1718
1719
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_WIDTH 4
1720
1721
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_SET_MSK 0x00f00000
1722
1723
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_CLR_MSK 0xff0fffff
1724
1725
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_RESET 0xf
1726
1727
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_GET(value) (((value) & 0x00f00000) >> 20)
1728
1729
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_SET(value) (((value) << 20) & 0x00f00000)
1730
1748
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_E_WIDTH32BITS 0x10
1749
1751
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_LSB 24
1752
1753
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_MSB 28
1754
1755
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_WIDTH 5
1756
1757
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_SET_MSK 0x1f000000
1758
1759
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_CLR_MSK 0xe0ffffff
1760
1761
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_RESET 0x10
1762
1763
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_GET(value) (((value) & 0x1f000000) >> 24)
1764
1765
#define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_SET(value) (((value) << 24) & 0x1f000000)
1766
1774
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_LSB 29
1775
1776
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_MSB 31
1777
1778
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_WIDTH 3
1779
1780
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_SET_MSK 0xe0000000
1781
1782
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_CLR_MSK 0x1fffffff
1783
1784
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_RESET 0x0
1785
1786
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_GET(value) (((value) & 0xe0000000) >> 29)
1787
1788
#define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_SET(value) (((value) << 29) & 0xe0000000)
1789
1790
#ifndef __ASSEMBLY__
1791
1801
struct
ALT_L4WD_COMP_PARAM_1_s
1802
{
1803
const
uint32_t
cp_wdt_always_en
: 1;
1804
const
uint32_t
cp_wdt_dflt_rmod
: 1;
1805
const
uint32_t
cp_wdt_dual_top
: 1;
1806
const
uint32_t
cp_wdt_hc_rmod
: 1;
1807
const
uint32_t
cp_wdt_hc_rpl
: 1;
1808
const
uint32_t
cp_wdt_hc_top
: 1;
1809
const
uint32_t
cp_wdt_use_fix_top
: 1;
1810
const
uint32_t
cp_wdt_pause
: 1;
1811
const
uint32_t
cp_wdt_apb_data_width
: 2;
1812
const
uint32_t
cp_wdt_dflt_rpl
: 3;
1813
const
uint32_t
rsvd_15_13
: 3;
1814
const
uint32_t
cp_wdt_dflt_top
: 4;
1815
const
uint32_t
cp_wdt_dflt_top_init
: 4;
1816
const
uint32_t
cp_wdt_cnt_width
: 5;
1817
const
uint32_t
rsvd_31_29
: 3;
1818
};
1819
1821
typedef
volatile
struct
ALT_L4WD_COMP_PARAM_1_s
ALT_L4WD_COMP_PARAM_1_t
;
1822
#endif
/* __ASSEMBLY__ */
1823
1825
#define ALT_L4WD_COMP_PARAM_1_RESET 0x10ff0254
1826
1827
#define ALT_L4WD_COMP_PARAM_1_OFST 0xf4
1828
1829
#define ALT_L4WD_COMP_PARAM_1_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_COMP_PARAM_1_OFST))
1830
1856
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_LSB 0
1857
1858
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_MSB 31
1859
1860
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_WIDTH 32
1861
1862
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_SET_MSK 0xffffffff
1863
1864
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_CLR_MSK 0x00000000
1865
1866
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_RESET 0x3130372a
1867
1868
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_GET(value) (((value) & 0xffffffff) >> 0)
1869
1870
#define ALT_L4WD_COMP_VER_WDT_COMP_VER_SET(value) (((value) << 0) & 0xffffffff)
1871
1872
#ifndef __ASSEMBLY__
1873
1883
struct
ALT_L4WD_COMP_VER_s
1884
{
1885
const
uint32_t
wdt_comp_version
: 32;
1886
};
1887
1889
typedef
volatile
struct
ALT_L4WD_COMP_VER_s
ALT_L4WD_COMP_VER_t
;
1890
#endif
/* __ASSEMBLY__ */
1891
1893
#define ALT_L4WD_COMP_VER_RESET 0x3130372a
1894
1895
#define ALT_L4WD_COMP_VER_OFST 0xf8
1896
1897
#define ALT_L4WD_COMP_VER_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_COMP_VER_OFST))
1898
1920
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_LSB 0
1921
1922
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_MSB 31
1923
1924
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_WIDTH 32
1925
1926
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_SET_MSK 0xffffffff
1927
1928
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_CLR_MSK 0x00000000
1929
1930
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_RESET 0x44570120
1931
1932
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_GET(value) (((value) & 0xffffffff) >> 0)
1933
1934
#define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_SET(value) (((value) << 0) & 0xffffffff)
1935
1936
#ifndef __ASSEMBLY__
1937
1947
struct
ALT_L4WD_COMP_TYPE_s
1948
{
1949
const
uint32_t
wdt_comp_type
: 32;
1950
};
1951
1953
typedef
volatile
struct
ALT_L4WD_COMP_TYPE_s
ALT_L4WD_COMP_TYPE_t
;
1954
#endif
/* __ASSEMBLY__ */
1955
1957
#define ALT_L4WD_COMP_TYPE_RESET 0x44570120
1958
1959
#define ALT_L4WD_COMP_TYPE_OFST 0xfc
1960
1961
#define ALT_L4WD_COMP_TYPE_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_COMP_TYPE_OFST))
1962
1963
#ifndef __ASSEMBLY__
1964
1974
struct
ALT_L4WD_s
1975
{
1976
volatile
ALT_L4WD_CR_t
wdt_cr
;
1977
volatile
ALT_L4WD_TORR_t
wdt_torr
;
1978
volatile
ALT_L4WD_CCVR_t
wdt_ccvr
;
1979
volatile
ALT_L4WD_CRR_t
wdt_crr
;
1980
volatile
ALT_L4WD_STAT_t
wdt_stat
;
1981
volatile
ALT_L4WD_EOI_t
wdt_eoi
;
1982
volatile
uint32_t
_pad_0x18_0xe3
[51];
1983
volatile
ALT_L4WD_CP_WDT_USER_TOP_MAX_t
cp_wdt_user_top_max
;
1984
volatile
ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_t
cp_wdt_user_top_init_max
;
1985
volatile
ALT_L4WD_CD_WDT_TOP_RST_t
cd_wdt_top_rst
;
1986
volatile
ALT_L4WD_CP_WDT_CNT_RST_t
cp_wdt_cnt_rst
;
1987
volatile
ALT_L4WD_COMP_PARAM_1_t
wdt_comp_param_1
;
1988
volatile
ALT_L4WD_COMP_VER_t
wdt_comp_version
;
1989
volatile
ALT_L4WD_COMP_TYPE_t
wdt_comp_type
;
1990
};
1991
1993
typedef
volatile
struct
ALT_L4WD_s
ALT_L4WD_t
;
1995
struct
ALT_L4WD_raw_s
1996
{
1997
volatile
uint32_t
wdt_cr
;
1998
volatile
uint32_t
wdt_torr
;
1999
volatile
uint32_t
wdt_ccvr
;
2000
volatile
uint32_t
wdt_crr
;
2001
volatile
uint32_t
wdt_stat
;
2002
volatile
uint32_t
wdt_eoi
;
2003
volatile
uint32_t
_pad_0x18_0xe3
[51];
2004
volatile
uint32_t
cp_wdt_user_top_max
;
2005
volatile
uint32_t
cp_wdt_user_top_init_max
;
2006
volatile
uint32_t
cd_wdt_top_rst
;
2007
volatile
uint32_t
cp_wdt_cnt_rst
;
2008
volatile
uint32_t
wdt_comp_param_1
;
2009
volatile
uint32_t
wdt_comp_version
;
2010
volatile
uint32_t
wdt_comp_type
;
2011
};
2012
2014
typedef
volatile
struct
ALT_L4WD_raw_s
ALT_L4WD_raw_t
;
2015
#endif
/* __ASSEMBLY__ */
2016
2018
#ifdef __cplusplus
2019
}
2020
#endif
/* __cplusplus */
2021
#endif
/* __ALT_SOCAL_L4WD_H__ */
2022
include
soc_a10
socal
alt_l4wd.h
Generated on Tue Sep 8 2015 13:33:01 for Altera SoCAL by
1.8.2