35 #ifndef __ALT_SOCAL_L4WD_H__
36 #define __ALT_SOCAL_L4WD_H__
101 #define ALT_L4WD_CR_WDT_EN_E_DISD 0x0
107 #define ALT_L4WD_CR_WDT_EN_E_END 0x1
110 #define ALT_L4WD_CR_WDT_EN_LSB 0
112 #define ALT_L4WD_CR_WDT_EN_MSB 0
114 #define ALT_L4WD_CR_WDT_EN_WIDTH 1
116 #define ALT_L4WD_CR_WDT_EN_SET_MSK 0x00000001
118 #define ALT_L4WD_CR_WDT_EN_CLR_MSK 0xfffffffe
120 #define ALT_L4WD_CR_WDT_EN_RESET 0x0
122 #define ALT_L4WD_CR_WDT_EN_GET(value) (((value) & 0x00000001) >> 0)
124 #define ALT_L4WD_CR_WDT_EN_SET(value) (((value) << 0) & 0x00000001)
158 #define ALT_L4WD_CR_RMOD_E_RST 0x0
165 #define ALT_L4WD_CR_RMOD_E_IRQRST 0x1
168 #define ALT_L4WD_CR_RMOD_LSB 1
170 #define ALT_L4WD_CR_RMOD_MSB 1
172 #define ALT_L4WD_CR_RMOD_WIDTH 1
174 #define ALT_L4WD_CR_RMOD_SET_MSK 0x00000002
176 #define ALT_L4WD_CR_RMOD_CLR_MSK 0xfffffffd
178 #define ALT_L4WD_CR_RMOD_RESET 0x0
180 #define ALT_L4WD_CR_RMOD_GET(value) (((value) & 0x00000002) >> 1)
182 #define ALT_L4WD_CR_RMOD_SET(value) (((value) << 1) & 0x00000002)
215 #define ALT_L4WD_CR_RPL_LSB 2
217 #define ALT_L4WD_CR_RPL_MSB 4
219 #define ALT_L4WD_CR_RPL_WIDTH 3
221 #define ALT_L4WD_CR_RPL_SET_MSK 0x0000001c
223 #define ALT_L4WD_CR_RPL_CLR_MSK 0xffffffe3
225 #define ALT_L4WD_CR_RPL_RESET 0x0
227 #define ALT_L4WD_CR_RPL_GET(value) (((value) & 0x0000001c) >> 2)
229 #define ALT_L4WD_CR_RPL_SET(value) (((value) << 2) & 0x0000001c)
251 typedef volatile struct ALT_L4WD_CR_s ALT_L4WD_CR_t;
255 #define ALT_L4WD_CR_RESET 0x00000000
257 #define ALT_L4WD_CR_OFST 0x0
259 #define ALT_L4WD_CR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CR_OFST))
341 #define ALT_L4WD_TORR_TOP_E_TMO64K 0x0
347 #define ALT_L4WD_TORR_TOP_E_TMO128K 0x1
353 #define ALT_L4WD_TORR_TOP_E_TMO256K 0x2
359 #define ALT_L4WD_TORR_TOP_E_TMO512K 0x3
365 #define ALT_L4WD_TORR_TOP_E_TMO1M 0x4
371 #define ALT_L4WD_TORR_TOP_E_TMO2M 0x5
377 #define ALT_L4WD_TORR_TOP_E_TMO4M 0x6
383 #define ALT_L4WD_TORR_TOP_E_TMO8M 0x7
389 #define ALT_L4WD_TORR_TOP_E_TMO16M 0x8
395 #define ALT_L4WD_TORR_TOP_E_TMO32M 0x9
401 #define ALT_L4WD_TORR_TOP_E_TMO64M 0xa
407 #define ALT_L4WD_TORR_TOP_E_TMO128M 0xb
413 #define ALT_L4WD_TORR_TOP_E_TMO256M 0xc
419 #define ALT_L4WD_TORR_TOP_E_TMO512M 0xd
425 #define ALT_L4WD_TORR_TOP_E_TMO1G 0xe
431 #define ALT_L4WD_TORR_TOP_E_TMO2G 0xf
434 #define ALT_L4WD_TORR_TOP_LSB 0
436 #define ALT_L4WD_TORR_TOP_MSB 3
438 #define ALT_L4WD_TORR_TOP_WIDTH 4
440 #define ALT_L4WD_TORR_TOP_SET_MSK 0x0000000f
442 #define ALT_L4WD_TORR_TOP_CLR_MSK 0xfffffff0
444 #define ALT_L4WD_TORR_TOP_RESET 0xf
446 #define ALT_L4WD_TORR_TOP_GET(value) (((value) & 0x0000000f) >> 0)
448 #define ALT_L4WD_TORR_TOP_SET(value) (((value) << 0) & 0x0000000f)
530 #define ALT_L4WD_TORR_TOP_INIT_E_TMO64K 0x0
536 #define ALT_L4WD_TORR_TOP_INIT_E_TMO128K 0x1
542 #define ALT_L4WD_TORR_TOP_INIT_E_TMO256K 0x2
548 #define ALT_L4WD_TORR_TOP_INIT_E_TMO512K 0x3
554 #define ALT_L4WD_TORR_TOP_INIT_E_TMO1M 0x4
560 #define ALT_L4WD_TORR_TOP_INIT_E_TMO2M 0x5
566 #define ALT_L4WD_TORR_TOP_INIT_E_TMO4M 0x6
572 #define ALT_L4WD_TORR_TOP_INIT_E_TMO8M 0x7
578 #define ALT_L4WD_TORR_TOP_INIT_E_TMO16M 0x8
584 #define ALT_L4WD_TORR_TOP_INIT_E_TMO32M 0x9
590 #define ALT_L4WD_TORR_TOP_INIT_E_TMO64M 0xa
596 #define ALT_L4WD_TORR_TOP_INIT_E_TMO128M 0xb
602 #define ALT_L4WD_TORR_TOP_INIT_E_TMO256M 0xc
608 #define ALT_L4WD_TORR_TOP_INIT_E_TMO512M 0xd
614 #define ALT_L4WD_TORR_TOP_INIT_E_TMO1G 0xe
620 #define ALT_L4WD_TORR_TOP_INIT_E_TMO2G 0xf
623 #define ALT_L4WD_TORR_TOP_INIT_LSB 4
625 #define ALT_L4WD_TORR_TOP_INIT_MSB 7
627 #define ALT_L4WD_TORR_TOP_INIT_WIDTH 4
629 #define ALT_L4WD_TORR_TOP_INIT_SET_MSK 0x000000f0
631 #define ALT_L4WD_TORR_TOP_INIT_CLR_MSK 0xffffff0f
633 #define ALT_L4WD_TORR_TOP_INIT_RESET 0xf
635 #define ALT_L4WD_TORR_TOP_INIT_GET(value) (((value) & 0x000000f0) >> 4)
637 #define ALT_L4WD_TORR_TOP_INIT_SET(value) (((value) << 4) & 0x000000f0)
648 #define ALT_L4WD_TORR_RSVD_LSB 8
650 #define ALT_L4WD_TORR_RSVD_MSB 31
652 #define ALT_L4WD_TORR_RSVD_WIDTH 24
654 #define ALT_L4WD_TORR_RSVD_SET_MSK 0xffffff00
656 #define ALT_L4WD_TORR_RSVD_CLR_MSK 0x000000ff
658 #define ALT_L4WD_TORR_RSVD_RESET 0x0
660 #define ALT_L4WD_TORR_RSVD_GET(value) (((value) & 0xffffff00) >> 8)
662 #define ALT_L4WD_TORR_RSVD_SET(value) (((value) << 8) & 0xffffff00)
675 struct ALT_L4WD_TORR_s
678 uint32_t top_init : 4;
679 const uint32_t reserved : 24;
683 typedef volatile struct ALT_L4WD_TORR_s ALT_L4WD_TORR_t;
687 #define ALT_L4WD_TORR_RESET 0x000000ff
689 #define ALT_L4WD_TORR_OFST 0x4
691 #define ALT_L4WD_TORR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_TORR_OFST))
720 #define ALT_L4WD_CCVR_WDT_CCVR_LSB 0
722 #define ALT_L4WD_CCVR_WDT_CCVR_MSB 31
724 #define ALT_L4WD_CCVR_WDT_CCVR_WIDTH 32
726 #define ALT_L4WD_CCVR_WDT_CCVR_SET_MSK 0xffffffff
728 #define ALT_L4WD_CCVR_WDT_CCVR_CLR_MSK 0x00000000
730 #define ALT_L4WD_CCVR_WDT_CCVR_RESET 0x7fffffff
732 #define ALT_L4WD_CCVR_WDT_CCVR_GET(value) (((value) & 0xffffffff) >> 0)
734 #define ALT_L4WD_CCVR_WDT_CCVR_SET(value) (((value) << 0) & 0xffffffff)
747 struct ALT_L4WD_CCVR_s
749 const uint32_t wdt_ccvr : 32;
753 typedef volatile struct ALT_L4WD_CCVR_s ALT_L4WD_CCVR_t;
757 #define ALT_L4WD_CCVR_RESET 0x7fffffff
759 #define ALT_L4WD_CCVR_OFST 0x8
761 #define ALT_L4WD_CCVR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CCVR_OFST))
799 #define ALT_L4WD_CRR_WDT_CRR_E_KICK 0x76
802 #define ALT_L4WD_CRR_WDT_CRR_LSB 0
804 #define ALT_L4WD_CRR_WDT_CRR_MSB 7
806 #define ALT_L4WD_CRR_WDT_CRR_WIDTH 8
808 #define ALT_L4WD_CRR_WDT_CRR_SET_MSK 0x000000ff
810 #define ALT_L4WD_CRR_WDT_CRR_CLR_MSK 0xffffff00
812 #define ALT_L4WD_CRR_WDT_CRR_RESET 0x0
814 #define ALT_L4WD_CRR_WDT_CRR_GET(value) (((value) & 0x000000ff) >> 0)
816 #define ALT_L4WD_CRR_WDT_CRR_SET(value) (((value) << 0) & 0x000000ff)
829 struct ALT_L4WD_CRR_s
831 uint32_t wdt_crr : 8;
836 typedef volatile struct ALT_L4WD_CRR_s ALT_L4WD_CRR_t;
840 #define ALT_L4WD_CRR_RESET 0x00000000
842 #define ALT_L4WD_CRR_OFST 0xc
844 #define ALT_L4WD_CRR_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CRR_OFST))
883 #define ALT_L4WD_STAT_WDT_STAT_E_INACT 0x0
889 #define ALT_L4WD_STAT_WDT_STAT_E_ACT 0x1
892 #define ALT_L4WD_STAT_WDT_STAT_LSB 0
894 #define ALT_L4WD_STAT_WDT_STAT_MSB 0
896 #define ALT_L4WD_STAT_WDT_STAT_WIDTH 1
898 #define ALT_L4WD_STAT_WDT_STAT_SET_MSK 0x00000001
900 #define ALT_L4WD_STAT_WDT_STAT_CLR_MSK 0xfffffffe
902 #define ALT_L4WD_STAT_WDT_STAT_RESET 0x0
904 #define ALT_L4WD_STAT_WDT_STAT_GET(value) (((value) & 0x00000001) >> 0)
906 #define ALT_L4WD_STAT_WDT_STAT_SET(value) (((value) << 0) & 0x00000001)
919 struct ALT_L4WD_STAT_s
921 const uint32_t wdt_stat : 1;
926 typedef volatile struct ALT_L4WD_STAT_s ALT_L4WD_STAT_t;
930 #define ALT_L4WD_STAT_RESET 0x00000000
932 #define ALT_L4WD_STAT_OFST 0x10
934 #define ALT_L4WD_STAT_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_STAT_OFST))
960 #define ALT_L4WD_EOI_WDT_EOI_LSB 0
962 #define ALT_L4WD_EOI_WDT_EOI_MSB 0
964 #define ALT_L4WD_EOI_WDT_EOI_WIDTH 1
966 #define ALT_L4WD_EOI_WDT_EOI_SET_MSK 0x00000001
968 #define ALT_L4WD_EOI_WDT_EOI_CLR_MSK 0xfffffffe
970 #define ALT_L4WD_EOI_WDT_EOI_RESET 0x0
972 #define ALT_L4WD_EOI_WDT_EOI_GET(value) (((value) & 0x00000001) >> 0)
974 #define ALT_L4WD_EOI_WDT_EOI_SET(value) (((value) << 0) & 0x00000001)
987 struct ALT_L4WD_EOI_s
989 const uint32_t wdt_eoi : 1;
994 typedef volatile struct ALT_L4WD_EOI_s ALT_L4WD_EOI_t;
998 #define ALT_L4WD_EOI_RESET 0x00000000
1000 #define ALT_L4WD_EOI_OFST 0x14
1002 #define ALT_L4WD_EOI_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_EOI_OFST))
1025 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_LSB 0
1027 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_MSB 31
1029 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_WIDTH 32
1031 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_SET_MSK 0xffffffff
1033 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_CLR_MSK 0x00000000
1035 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_RESET 0x0
1037 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_GET(value) (((value) & 0xffffffff) >> 0)
1039 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_VAL_SET(value) (((value) << 0) & 0xffffffff)
1041 #ifndef __ASSEMBLY__
1052 struct ALT_L4WD_CP_WDT_USER_TOP_MAX_s
1054 const uint32_t cp_wdt_user_top_max : 32;
1058 typedef volatile struct ALT_L4WD_CP_WDT_USER_TOP_MAX_s ALT_L4WD_CP_WDT_USER_TOP_MAX_t;
1062 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_RESET 0x00000000
1064 #define ALT_L4WD_CP_WDT_USER_TOP_MAX_OFST 0xe4
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))
1089 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_LSB 0
1091 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_MSB 31
1093 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_WIDTH 32
1095 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_SET_MSK 0xffffffff
1097 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_CLR_MSK 0x00000000
1099 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_RESET 0x0
1101 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_GET(value) (((value) & 0xffffffff) >> 0)
1103 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_VAL_SET(value) (((value) << 0) & 0xffffffff)
1105 #ifndef __ASSEMBLY__
1116 struct ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_s
1118 const uint32_t cp_wdt_user_top_init_max : 32;
1122 typedef volatile struct ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_s ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_t;
1126 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_RESET 0x00000000
1128 #define ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_OFST 0xe8
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))
1153 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_LSB 0
1155 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_MSB 31
1157 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_WIDTH 32
1159 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_SET_MSK 0xffffffff
1161 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_CLR_MSK 0x00000000
1163 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_RESET 0xff
1165 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_GET(value) (((value) & 0xffffffff) >> 0)
1167 #define ALT_L4WD_CD_WDT_TOP_RST_CD_WDT_TOP_RST_SET(value) (((value) << 0) & 0xffffffff)
1169 #ifndef __ASSEMBLY__
1180 struct ALT_L4WD_CD_WDT_TOP_RST_s
1182 const uint32_t cd_wdt_top_rst : 32;
1186 typedef volatile struct ALT_L4WD_CD_WDT_TOP_RST_s ALT_L4WD_CD_WDT_TOP_RST_t;
1190 #define ALT_L4WD_CD_WDT_TOP_RST_RESET 0x000000ff
1192 #define ALT_L4WD_CD_WDT_TOP_RST_OFST 0xec
1194 #define ALT_L4WD_CD_WDT_TOP_RST_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CD_WDT_TOP_RST_OFST))
1218 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_LSB 0
1220 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_MSB 31
1222 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_WIDTH 32
1224 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_SET_MSK 0xffffffff
1226 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_CLR_MSK 0x00000000
1228 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_RESET 0x7fffffff
1230 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_GET(value) (((value) & 0xffffffff) >> 0)
1232 #define ALT_L4WD_CP_WDT_CNT_RST_CP_WDT_CNT_RST_SET(value) (((value) << 0) & 0xffffffff)
1234 #ifndef __ASSEMBLY__
1245 struct ALT_L4WD_CP_WDT_CNT_RST_s
1247 const uint32_t cp_wdt_cnt_rst : 32;
1251 typedef volatile struct ALT_L4WD_CP_WDT_CNT_RST_s ALT_L4WD_CP_WDT_CNT_RST_t;
1255 #define ALT_L4WD_CP_WDT_CNT_RST_RESET 0x7fffffff
1257 #define ALT_L4WD_CP_WDT_CNT_RST_OFST 0xf0
1259 #define ALT_L4WD_CP_WDT_CNT_RST_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_CP_WDT_CNT_RST_OFST))
1304 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_E_DISD 0x0
1307 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_LSB 0
1309 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_MSB 0
1311 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_WIDTH 1
1313 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_SET_MSK 0x00000001
1315 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_CLR_MSK 0xfffffffe
1317 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_RESET 0x0
1319 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_GET(value) (((value) & 0x00000001) >> 0)
1321 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_ALWAYS_EN_SET(value) (((value) << 0) & 0x00000001)
1341 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_E_RSTREQ 0x0
1344 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_LSB 1
1346 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_MSB 1
1348 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_WIDTH 1
1350 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_SET_MSK 0x00000002
1352 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_CLR_MSK 0xfffffffd
1354 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_RESET 0x0
1356 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_GET(value) (((value) & 0x00000002) >> 1)
1358 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RMOD_SET(value) (((value) << 1) & 0x00000002)
1377 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_E_DUALTOP 0x1
1380 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_LSB 2
1382 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_MSB 2
1384 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_WIDTH 1
1386 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_SET_MSK 0x00000004
1388 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_CLR_MSK 0xfffffffb
1390 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_RESET 0x1
1392 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_GET(value) (((value) & 0x00000004) >> 2)
1394 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DUAL_TOP_SET(value) (((value) << 2) & 0x00000004)
1413 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_E_PGML 0x0
1416 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_LSB 3
1418 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_MSB 3
1420 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_WIDTH 1
1422 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_SET_MSK 0x00000008
1424 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_CLR_MSK 0xfffffff7
1426 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_RESET 0x0
1428 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_GET(value) (((value) & 0x00000008) >> 3)
1430 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RMOD_SET(value) (((value) << 3) & 0x00000008)
1449 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_E_HARDCODED 0x1
1452 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_LSB 4
1454 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_MSB 4
1456 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_WIDTH 1
1458 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_SET_MSK 0x00000010
1460 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_CLR_MSK 0xffffffef
1462 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_RESET 0x1
1464 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_GET(value) (((value) & 0x00000010) >> 4)
1466 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_RPL_SET(value) (((value) << 4) & 0x00000010)
1485 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_E_PGML 0x0
1488 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_LSB 5
1490 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_MSB 5
1492 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_WIDTH 1
1494 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_SET_MSK 0x00000020
1496 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_CLR_MSK 0xffffffdf
1498 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_RESET 0x0
1500 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_GET(value) (((value) & 0x00000020) >> 5)
1502 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_HC_TOP_SET(value) (((value) << 5) & 0x00000020)
1522 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_E_PREDEFINED 0x1
1525 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_LSB 6
1527 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_MSB 6
1529 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_WIDTH 1
1531 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_SET_MSK 0x00000040
1533 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_CLR_MSK 0xffffffbf
1535 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_RESET 0x1
1537 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_GET(value) (((value) & 0x00000040) >> 6)
1539 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_USE_FIX_TOP_SET(value) (((value) << 6) & 0x00000040)
1548 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_LSB 7
1550 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_MSB 7
1552 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_WIDTH 1
1554 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_SET_MSK 0x00000080
1556 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_CLR_MSK 0xffffff7f
1558 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_RESET 0x0
1560 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_GET(value) (((value) & 0x00000080) >> 7)
1562 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_PAUSE_SET(value) (((value) << 7) & 0x00000080)
1581 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_E_WIDTH32BITS 0x2
1584 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_LSB 8
1586 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_MSB 9
1588 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_WIDTH 2
1590 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_SET_MSK 0x00000300
1592 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_CLR_MSK 0xfffffcff
1594 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_RESET 0x2
1596 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_GET(value) (((value) & 0x00000300) >> 8)
1598 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_APB_DATA_WIDTH_SET(value) (((value) << 8) & 0x00000300)
1617 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_E_PULSE2CYCLES 0x0
1620 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_LSB 10
1622 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_MSB 12
1624 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_WIDTH 3
1626 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_SET_MSK 0x00001c00
1628 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_CLR_MSK 0xffffe3ff
1630 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_RESET 0x0
1632 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_GET(value) (((value) & 0x00001c00) >> 10)
1634 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_RPL_SET(value) (((value) << 10) & 0x00001c00)
1643 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_LSB 13
1645 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_MSB 15
1647 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_WIDTH 3
1649 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_SET_MSK 0x0000e000
1651 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_CLR_MSK 0xffff1fff
1653 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_RESET 0x0
1655 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_GET(value) (((value) & 0x0000e000) >> 13)
1657 #define ALT_L4WD_COMP_PARAM_1_RSVD_15_13_SET(value) (((value) << 13) & 0x0000e000)
1676 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_E_TMO15 0xf
1679 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_LSB 16
1681 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_MSB 19
1683 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_WIDTH 4
1685 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_SET_MSK 0x000f0000
1687 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_CLR_MSK 0xfff0ffff
1689 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_RESET 0xf
1691 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_GET(value) (((value) & 0x000f0000) >> 16)
1693 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_SET(value) (((value) << 16) & 0x000f0000)
1712 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_E_TMO15 0xf
1715 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_LSB 20
1717 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_MSB 23
1719 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_WIDTH 4
1721 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_SET_MSK 0x00f00000
1723 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_CLR_MSK 0xff0fffff
1725 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_RESET 0xf
1727 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_GET(value) (((value) & 0x00f00000) >> 20)
1729 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_DFLT_TOP_INIT_SET(value) (((value) << 20) & 0x00f00000)
1748 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_E_WIDTH32BITS 0x10
1751 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_LSB 24
1753 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_MSB 28
1755 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_WIDTH 5
1757 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_SET_MSK 0x1f000000
1759 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_CLR_MSK 0xe0ffffff
1761 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_RESET 0x10
1763 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_GET(value) (((value) & 0x1f000000) >> 24)
1765 #define ALT_L4WD_COMP_PARAM_1_CP_WDT_CNT_WIDTH_SET(value) (((value) << 24) & 0x1f000000)
1774 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_LSB 29
1776 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_MSB 31
1778 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_WIDTH 3
1780 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_SET_MSK 0xe0000000
1782 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_CLR_MSK 0x1fffffff
1784 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_RESET 0x0
1786 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_GET(value) (((value) & 0xe0000000) >> 29)
1788 #define ALT_L4WD_COMP_PARAM_1_RSVD_31_29_SET(value) (((value) << 29) & 0xe0000000)
1790 #ifndef __ASSEMBLY__
1801 struct ALT_L4WD_COMP_PARAM_1_s
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;
1821 typedef volatile struct ALT_L4WD_COMP_PARAM_1_s ALT_L4WD_COMP_PARAM_1_t;
1825 #define ALT_L4WD_COMP_PARAM_1_RESET 0x10ff0254
1827 #define ALT_L4WD_COMP_PARAM_1_OFST 0xf4
1829 #define ALT_L4WD_COMP_PARAM_1_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_COMP_PARAM_1_OFST))
1856 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_LSB 0
1858 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_MSB 31
1860 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_WIDTH 32
1862 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_SET_MSK 0xffffffff
1864 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_CLR_MSK 0x00000000
1866 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_RESET 0x3130372a
1868 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_GET(value) (((value) & 0xffffffff) >> 0)
1870 #define ALT_L4WD_COMP_VER_WDT_COMP_VER_SET(value) (((value) << 0) & 0xffffffff)
1872 #ifndef __ASSEMBLY__
1883 struct ALT_L4WD_COMP_VER_s
1885 const uint32_t wdt_comp_version : 32;
1889 typedef volatile struct ALT_L4WD_COMP_VER_s ALT_L4WD_COMP_VER_t;
1893 #define ALT_L4WD_COMP_VER_RESET 0x3130372a
1895 #define ALT_L4WD_COMP_VER_OFST 0xf8
1897 #define ALT_L4WD_COMP_VER_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_COMP_VER_OFST))
1920 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_LSB 0
1922 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_MSB 31
1924 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_WIDTH 32
1926 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_SET_MSK 0xffffffff
1928 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_CLR_MSK 0x00000000
1930 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_RESET 0x44570120
1932 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_GET(value) (((value) & 0xffffffff) >> 0)
1934 #define ALT_L4WD_COMP_TYPE_WDT_COMP_TYPE_SET(value) (((value) << 0) & 0xffffffff)
1936 #ifndef __ASSEMBLY__
1947 struct ALT_L4WD_COMP_TYPE_s
1949 const uint32_t wdt_comp_type : 32;
1953 typedef volatile struct ALT_L4WD_COMP_TYPE_s ALT_L4WD_COMP_TYPE_t;
1957 #define ALT_L4WD_COMP_TYPE_RESET 0x44570120
1959 #define ALT_L4WD_COMP_TYPE_OFST 0xfc
1961 #define ALT_L4WD_COMP_TYPE_ADDR(base) ALT_CAST(void *, (ALT_CAST(char *, (base)) + ALT_L4WD_COMP_TYPE_OFST))
1963 #ifndef __ASSEMBLY__
1976 ALT_L4WD_CR_t wdt_cr;
1977 ALT_L4WD_TORR_t wdt_torr;
1978 ALT_L4WD_CCVR_t wdt_ccvr;
1979 ALT_L4WD_CRR_t wdt_crr;
1980 ALT_L4WD_STAT_t wdt_stat;
1981 ALT_L4WD_EOI_t wdt_eoi;
1982 volatile uint32_t _pad_0x18_0xe3[51];
1983 ALT_L4WD_CP_WDT_USER_TOP_MAX_t cp_wdt_user_top_max;
1984 ALT_L4WD_CP_WDT_USER_TOP_INIT_MAX_t cp_wdt_user_top_init_max;
1985 ALT_L4WD_CD_WDT_TOP_RST_t cd_wdt_top_rst;
1986 ALT_L4WD_CP_WDT_CNT_RST_t cp_wdt_cnt_rst;
1987 ALT_L4WD_COMP_PARAM_1_t wdt_comp_param_1;
1988 ALT_L4WD_COMP_VER_t wdt_comp_version;
1989 ALT_L4WD_COMP_TYPE_t wdt_comp_type;
1993 typedef volatile struct ALT_L4WD_s ALT_L4WD_t;
1995 struct ALT_L4WD_raw_s
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 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;
2014 typedef volatile struct ALT_L4WD_raw_s ALT_L4WD_raw_t;