39#ifndef __ALTERA_ALT_RSTMGR_H__
40#define __ALTERA_ALT_RSTMGR_H__
115#define ALT_RSTMGR_STAT_PORVOLTRST_LSB 0
117#define ALT_RSTMGR_STAT_PORVOLTRST_MSB 0
119#define ALT_RSTMGR_STAT_PORVOLTRST_WIDTH 1
121#define ALT_RSTMGR_STAT_PORVOLTRST_SET_MSK 0x00000001
123#define ALT_RSTMGR_STAT_PORVOLTRST_CLR_MSK 0xfffffffe
125#define ALT_RSTMGR_STAT_PORVOLTRST_RESET 0x0
127#define ALT_RSTMGR_STAT_PORVOLTRST_GET(value) (((value) & 0x00000001) >> 0)
129#define ALT_RSTMGR_STAT_PORVOLTRST_SET(value) (((value) << 0) & 0x00000001)
140#define ALT_RSTMGR_STAT_NPORPINRST_LSB 1
142#define ALT_RSTMGR_STAT_NPORPINRST_MSB 1
144#define ALT_RSTMGR_STAT_NPORPINRST_WIDTH 1
146#define ALT_RSTMGR_STAT_NPORPINRST_SET_MSK 0x00000002
148#define ALT_RSTMGR_STAT_NPORPINRST_CLR_MSK 0xfffffffd
150#define ALT_RSTMGR_STAT_NPORPINRST_RESET 0x0
152#define ALT_RSTMGR_STAT_NPORPINRST_GET(value) (((value) & 0x00000002) >> 1)
154#define ALT_RSTMGR_STAT_NPORPINRST_SET(value) (((value) << 1) & 0x00000002)
165#define ALT_RSTMGR_STAT_FPGACOLDRST_LSB 2
167#define ALT_RSTMGR_STAT_FPGACOLDRST_MSB 2
169#define ALT_RSTMGR_STAT_FPGACOLDRST_WIDTH 1
171#define ALT_RSTMGR_STAT_FPGACOLDRST_SET_MSK 0x00000004
173#define ALT_RSTMGR_STAT_FPGACOLDRST_CLR_MSK 0xfffffffb
175#define ALT_RSTMGR_STAT_FPGACOLDRST_RESET 0x0
177#define ALT_RSTMGR_STAT_FPGACOLDRST_GET(value) (((value) & 0x00000004) >> 2)
179#define ALT_RSTMGR_STAT_FPGACOLDRST_SET(value) (((value) << 2) & 0x00000004)
190#define ALT_RSTMGR_STAT_CFGIOCOLDRST_LSB 3
192#define ALT_RSTMGR_STAT_CFGIOCOLDRST_MSB 3
194#define ALT_RSTMGR_STAT_CFGIOCOLDRST_WIDTH 1
196#define ALT_RSTMGR_STAT_CFGIOCOLDRST_SET_MSK 0x00000008
198#define ALT_RSTMGR_STAT_CFGIOCOLDRST_CLR_MSK 0xfffffff7
200#define ALT_RSTMGR_STAT_CFGIOCOLDRST_RESET 0x0
202#define ALT_RSTMGR_STAT_CFGIOCOLDRST_GET(value) (((value) & 0x00000008) >> 3)
204#define ALT_RSTMGR_STAT_CFGIOCOLDRST_SET(value) (((value) << 3) & 0x00000008)
215#define ALT_RSTMGR_STAT_SWCOLDRST_LSB 4
217#define ALT_RSTMGR_STAT_SWCOLDRST_MSB 4
219#define ALT_RSTMGR_STAT_SWCOLDRST_WIDTH 1
221#define ALT_RSTMGR_STAT_SWCOLDRST_SET_MSK 0x00000010
223#define ALT_RSTMGR_STAT_SWCOLDRST_CLR_MSK 0xffffffef
225#define ALT_RSTMGR_STAT_SWCOLDRST_RESET 0x0
227#define ALT_RSTMGR_STAT_SWCOLDRST_GET(value) (((value) & 0x00000010) >> 4)
229#define ALT_RSTMGR_STAT_SWCOLDRST_SET(value) (((value) << 4) & 0x00000010)
240#define ALT_RSTMGR_STAT_NRSTPINRST_LSB 8
242#define ALT_RSTMGR_STAT_NRSTPINRST_MSB 8
244#define ALT_RSTMGR_STAT_NRSTPINRST_WIDTH 1
246#define ALT_RSTMGR_STAT_NRSTPINRST_SET_MSK 0x00000100
248#define ALT_RSTMGR_STAT_NRSTPINRST_CLR_MSK 0xfffffeff
250#define ALT_RSTMGR_STAT_NRSTPINRST_RESET 0x0
252#define ALT_RSTMGR_STAT_NRSTPINRST_GET(value) (((value) & 0x00000100) >> 8)
254#define ALT_RSTMGR_STAT_NRSTPINRST_SET(value) (((value) << 8) & 0x00000100)
265#define ALT_RSTMGR_STAT_FPGAWARMRST_LSB 9
267#define ALT_RSTMGR_STAT_FPGAWARMRST_MSB 9
269#define ALT_RSTMGR_STAT_FPGAWARMRST_WIDTH 1
271#define ALT_RSTMGR_STAT_FPGAWARMRST_SET_MSK 0x00000200
273#define ALT_RSTMGR_STAT_FPGAWARMRST_CLR_MSK 0xfffffdff
275#define ALT_RSTMGR_STAT_FPGAWARMRST_RESET 0x0
277#define ALT_RSTMGR_STAT_FPGAWARMRST_GET(value) (((value) & 0x00000200) >> 9)
279#define ALT_RSTMGR_STAT_FPGAWARMRST_SET(value) (((value) << 9) & 0x00000200)
291#define ALT_RSTMGR_STAT_SWWARMRST_LSB 10
293#define ALT_RSTMGR_STAT_SWWARMRST_MSB 10
295#define ALT_RSTMGR_STAT_SWWARMRST_WIDTH 1
297#define ALT_RSTMGR_STAT_SWWARMRST_SET_MSK 0x00000400
299#define ALT_RSTMGR_STAT_SWWARMRST_CLR_MSK 0xfffffbff
301#define ALT_RSTMGR_STAT_SWWARMRST_RESET 0x0
303#define ALT_RSTMGR_STAT_SWWARMRST_GET(value) (((value) & 0x00000400) >> 10)
305#define ALT_RSTMGR_STAT_SWWARMRST_SET(value) (((value) << 10) & 0x00000400)
316#define ALT_RSTMGR_STAT_MPUWD0RST_LSB 12
318#define ALT_RSTMGR_STAT_MPUWD0RST_MSB 12
320#define ALT_RSTMGR_STAT_MPUWD0RST_WIDTH 1
322#define ALT_RSTMGR_STAT_MPUWD0RST_SET_MSK 0x00001000
324#define ALT_RSTMGR_STAT_MPUWD0RST_CLR_MSK 0xffffefff
326#define ALT_RSTMGR_STAT_MPUWD0RST_RESET 0x0
328#define ALT_RSTMGR_STAT_MPUWD0RST_GET(value) (((value) & 0x00001000) >> 12)
330#define ALT_RSTMGR_STAT_MPUWD0RST_SET(value) (((value) << 12) & 0x00001000)
341#define ALT_RSTMGR_STAT_MPUWD1RST_LSB 13
343#define ALT_RSTMGR_STAT_MPUWD1RST_MSB 13
345#define ALT_RSTMGR_STAT_MPUWD1RST_WIDTH 1
347#define ALT_RSTMGR_STAT_MPUWD1RST_SET_MSK 0x00002000
349#define ALT_RSTMGR_STAT_MPUWD1RST_CLR_MSK 0xffffdfff
351#define ALT_RSTMGR_STAT_MPUWD1RST_RESET 0x0
353#define ALT_RSTMGR_STAT_MPUWD1RST_GET(value) (((value) & 0x00002000) >> 13)
355#define ALT_RSTMGR_STAT_MPUWD1RST_SET(value) (((value) << 13) & 0x00002000)
366#define ALT_RSTMGR_STAT_L4WD0RST_LSB 14
368#define ALT_RSTMGR_STAT_L4WD0RST_MSB 14
370#define ALT_RSTMGR_STAT_L4WD0RST_WIDTH 1
372#define ALT_RSTMGR_STAT_L4WD0RST_SET_MSK 0x00004000
374#define ALT_RSTMGR_STAT_L4WD0RST_CLR_MSK 0xffffbfff
376#define ALT_RSTMGR_STAT_L4WD0RST_RESET 0x0
378#define ALT_RSTMGR_STAT_L4WD0RST_GET(value) (((value) & 0x00004000) >> 14)
380#define ALT_RSTMGR_STAT_L4WD0RST_SET(value) (((value) << 14) & 0x00004000)
391#define ALT_RSTMGR_STAT_L4WD1RST_LSB 15
393#define ALT_RSTMGR_STAT_L4WD1RST_MSB 15
395#define ALT_RSTMGR_STAT_L4WD1RST_WIDTH 1
397#define ALT_RSTMGR_STAT_L4WD1RST_SET_MSK 0x00008000
399#define ALT_RSTMGR_STAT_L4WD1RST_CLR_MSK 0xffff7fff
401#define ALT_RSTMGR_STAT_L4WD1RST_RESET 0x0
403#define ALT_RSTMGR_STAT_L4WD1RST_GET(value) (((value) & 0x00008000) >> 15)
405#define ALT_RSTMGR_STAT_L4WD1RST_SET(value) (((value) << 15) & 0x00008000)
416#define ALT_RSTMGR_STAT_FPGADBGRST_LSB 18
418#define ALT_RSTMGR_STAT_FPGADBGRST_MSB 18
420#define ALT_RSTMGR_STAT_FPGADBGRST_WIDTH 1
422#define ALT_RSTMGR_STAT_FPGADBGRST_SET_MSK 0x00040000
424#define ALT_RSTMGR_STAT_FPGADBGRST_CLR_MSK 0xfffbffff
426#define ALT_RSTMGR_STAT_FPGADBGRST_RESET 0x0
428#define ALT_RSTMGR_STAT_FPGADBGRST_GET(value) (((value) & 0x00040000) >> 18)
430#define ALT_RSTMGR_STAT_FPGADBGRST_SET(value) (((value) << 18) & 0x00040000)
441#define ALT_RSTMGR_STAT_CDBGREQRST_LSB 19
443#define ALT_RSTMGR_STAT_CDBGREQRST_MSB 19
445#define ALT_RSTMGR_STAT_CDBGREQRST_WIDTH 1
447#define ALT_RSTMGR_STAT_CDBGREQRST_SET_MSK 0x00080000
449#define ALT_RSTMGR_STAT_CDBGREQRST_CLR_MSK 0xfff7ffff
451#define ALT_RSTMGR_STAT_CDBGREQRST_RESET 0x0
453#define ALT_RSTMGR_STAT_CDBGREQRST_GET(value) (((value) & 0x00080000) >> 19)
455#define ALT_RSTMGR_STAT_CDBGREQRST_SET(value) (((value) << 19) & 0x00080000)
469#define ALT_RSTMGR_STAT_SDRSELFREFTMO_LSB 24
471#define ALT_RSTMGR_STAT_SDRSELFREFTMO_MSB 24
473#define ALT_RSTMGR_STAT_SDRSELFREFTMO_WIDTH 1
475#define ALT_RSTMGR_STAT_SDRSELFREFTMO_SET_MSK 0x01000000
477#define ALT_RSTMGR_STAT_SDRSELFREFTMO_CLR_MSK 0xfeffffff
479#define ALT_RSTMGR_STAT_SDRSELFREFTMO_RESET 0x0
481#define ALT_RSTMGR_STAT_SDRSELFREFTMO_GET(value) (((value) & 0x01000000) >> 24)
483#define ALT_RSTMGR_STAT_SDRSELFREFTMO_SET(value) (((value) << 24) & 0x01000000)
496#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_LSB 25
498#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_MSB 25
500#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_WIDTH 1
502#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_SET_MSK 0x02000000
504#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_CLR_MSK 0xfdffffff
506#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_RESET 0x0
508#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_GET(value) (((value) & 0x02000000) >> 25)
510#define ALT_RSTMGR_STAT_FPGAMGRHSTMO_SET(value) (((value) << 25) & 0x02000000)
523#define ALT_RSTMGR_STAT_SCANHSTMO_LSB 26
525#define ALT_RSTMGR_STAT_SCANHSTMO_MSB 26
527#define ALT_RSTMGR_STAT_SCANHSTMO_WIDTH 1
529#define ALT_RSTMGR_STAT_SCANHSTMO_SET_MSK 0x04000000
531#define ALT_RSTMGR_STAT_SCANHSTMO_CLR_MSK 0xfbffffff
533#define ALT_RSTMGR_STAT_SCANHSTMO_RESET 0x0
535#define ALT_RSTMGR_STAT_SCANHSTMO_GET(value) (((value) & 0x04000000) >> 26)
537#define ALT_RSTMGR_STAT_SCANHSTMO_SET(value) (((value) << 26) & 0x04000000)
550#define ALT_RSTMGR_STAT_FPGAHSTMO_LSB 27
552#define ALT_RSTMGR_STAT_FPGAHSTMO_MSB 27
554#define ALT_RSTMGR_STAT_FPGAHSTMO_WIDTH 1
556#define ALT_RSTMGR_STAT_FPGAHSTMO_SET_MSK 0x08000000
558#define ALT_RSTMGR_STAT_FPGAHSTMO_CLR_MSK 0xf7ffffff
560#define ALT_RSTMGR_STAT_FPGAHSTMO_RESET 0x0
562#define ALT_RSTMGR_STAT_FPGAHSTMO_GET(value) (((value) & 0x08000000) >> 27)
564#define ALT_RSTMGR_STAT_FPGAHSTMO_SET(value) (((value) << 27) & 0x08000000)
577#define ALT_RSTMGR_STAT_ETRSTALLTMO_LSB 28
579#define ALT_RSTMGR_STAT_ETRSTALLTMO_MSB 28
581#define ALT_RSTMGR_STAT_ETRSTALLTMO_WIDTH 1
583#define ALT_RSTMGR_STAT_ETRSTALLTMO_SET_MSK 0x10000000
585#define ALT_RSTMGR_STAT_ETRSTALLTMO_CLR_MSK 0xefffffff
587#define ALT_RSTMGR_STAT_ETRSTALLTMO_RESET 0x0
589#define ALT_RSTMGR_STAT_ETRSTALLTMO_GET(value) (((value) & 0x10000000) >> 28)
591#define ALT_RSTMGR_STAT_ETRSTALLTMO_SET(value) (((value) << 28) & 0x10000000)
606 uint32_t porvoltrst : 1;
607 uint32_t nporpinrst : 1;
608 uint32_t fpgacoldrst : 1;
609 uint32_t configiocoldrst : 1;
610 uint32_t swcoldrst : 1;
612 uint32_t nrstpinrst : 1;
613 uint32_t fpgawarmrst : 1;
614 uint32_t swwarmrst : 1;
616 uint32_t mpuwd0rst : 1;
617 uint32_t mpuwd1rst : 1;
618 uint32_t l4wd0rst : 1;
619 uint32_t l4wd1rst : 1;
621 uint32_t fpgadbgrst : 1;
622 uint32_t cdbgreqrst : 1;
624 uint32_t sdrselfreftimeout : 1;
625 uint32_t fpgamgrhstimeout : 1;
626 uint32_t scanhstimeout : 1;
627 uint32_t fpgahstimeout : 1;
628 uint32_t etrstalltimeout : 1;
637#define ALT_RSTMGR_STAT_OFST 0x0
691#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_LSB 0
693#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_MSB 0
695#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_WIDTH 1
697#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_SET_MSK 0x00000001
699#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_CLR_MSK 0xfffffffe
701#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_RESET 0x0
703#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_GET(value) (((value) & 0x00000001) >> 0)
705#define ALT_RSTMGR_CTL_SWCOLDRSTREQ_SET(value) (((value) << 0) & 0x00000001)
717#define ALT_RSTMGR_CTL_SWWARMRSTREQ_LSB 1
719#define ALT_RSTMGR_CTL_SWWARMRSTREQ_MSB 1
721#define ALT_RSTMGR_CTL_SWWARMRSTREQ_WIDTH 1
723#define ALT_RSTMGR_CTL_SWWARMRSTREQ_SET_MSK 0x00000002
725#define ALT_RSTMGR_CTL_SWWARMRSTREQ_CLR_MSK 0xfffffffd
727#define ALT_RSTMGR_CTL_SWWARMRSTREQ_RESET 0x0
729#define ALT_RSTMGR_CTL_SWWARMRSTREQ_GET(value) (((value) & 0x00000002) >> 1)
731#define ALT_RSTMGR_CTL_SWWARMRSTREQ_SET(value) (((value) << 1) & 0x00000002)
746#define ALT_RSTMGR_CTL_SDRSELFREFEN_LSB 4
748#define ALT_RSTMGR_CTL_SDRSELFREFEN_MSB 4
750#define ALT_RSTMGR_CTL_SDRSELFREFEN_WIDTH 1
752#define ALT_RSTMGR_CTL_SDRSELFREFEN_SET_MSK 0x00000010
754#define ALT_RSTMGR_CTL_SDRSELFREFEN_CLR_MSK 0xffffffef
756#define ALT_RSTMGR_CTL_SDRSELFREFEN_RESET 0x0
758#define ALT_RSTMGR_CTL_SDRSELFREFEN_GET(value) (((value) & 0x00000010) >> 4)
760#define ALT_RSTMGR_CTL_SDRSELFREFEN_SET(value) (((value) << 4) & 0x00000010)
777#define ALT_RSTMGR_CTL_SDRSELFREFREQ_LSB 5
779#define ALT_RSTMGR_CTL_SDRSELFREFREQ_MSB 5
781#define ALT_RSTMGR_CTL_SDRSELFREFREQ_WIDTH 1
783#define ALT_RSTMGR_CTL_SDRSELFREFREQ_SET_MSK 0x00000020
785#define ALT_RSTMGR_CTL_SDRSELFREFREQ_CLR_MSK 0xffffffdf
787#define ALT_RSTMGR_CTL_SDRSELFREFREQ_RESET 0x0
789#define ALT_RSTMGR_CTL_SDRSELFREFREQ_GET(value) (((value) & 0x00000020) >> 5)
791#define ALT_RSTMGR_CTL_SDRSELFREFREQ_SET(value) (((value) << 5) & 0x00000020)
804#define ALT_RSTMGR_CTL_SDRSELFREQACK_LSB 6
806#define ALT_RSTMGR_CTL_SDRSELFREQACK_MSB 6
808#define ALT_RSTMGR_CTL_SDRSELFREQACK_WIDTH 1
810#define ALT_RSTMGR_CTL_SDRSELFREQACK_SET_MSK 0x00000040
812#define ALT_RSTMGR_CTL_SDRSELFREQACK_CLR_MSK 0xffffffbf
814#define ALT_RSTMGR_CTL_SDRSELFREQACK_RESET 0x0
816#define ALT_RSTMGR_CTL_SDRSELFREQACK_GET(value) (((value) & 0x00000040) >> 6)
818#define ALT_RSTMGR_CTL_SDRSELFREQACK_SET(value) (((value) << 6) & 0x00000040)
839#define ALT_RSTMGR_CTL_FPGAMGRHSEN_LSB 8
841#define ALT_RSTMGR_CTL_FPGAMGRHSEN_MSB 8
843#define ALT_RSTMGR_CTL_FPGAMGRHSEN_WIDTH 1
845#define ALT_RSTMGR_CTL_FPGAMGRHSEN_SET_MSK 0x00000100
847#define ALT_RSTMGR_CTL_FPGAMGRHSEN_CLR_MSK 0xfffffeff
849#define ALT_RSTMGR_CTL_FPGAMGRHSEN_RESET 0x0
851#define ALT_RSTMGR_CTL_FPGAMGRHSEN_GET(value) (((value) & 0x00000100) >> 8)
853#define ALT_RSTMGR_CTL_FPGAMGRHSEN_SET(value) (((value) << 8) & 0x00000100)
869#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_LSB 9
871#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_MSB 9
873#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_WIDTH 1
875#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_SET_MSK 0x00000200
877#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_CLR_MSK 0xfffffdff
879#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_RESET 0x0
881#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_GET(value) (((value) & 0x00000200) >> 9)
883#define ALT_RSTMGR_CTL_FPGAMGRHSREQ_SET(value) (((value) << 9) & 0x00000200)
895#define ALT_RSTMGR_CTL_FPGAMGRHSACK_LSB 10
897#define ALT_RSTMGR_CTL_FPGAMGRHSACK_MSB 10
899#define ALT_RSTMGR_CTL_FPGAMGRHSACK_WIDTH 1
901#define ALT_RSTMGR_CTL_FPGAMGRHSACK_SET_MSK 0x00000400
903#define ALT_RSTMGR_CTL_FPGAMGRHSACK_CLR_MSK 0xfffffbff
905#define ALT_RSTMGR_CTL_FPGAMGRHSACK_RESET 0x0
907#define ALT_RSTMGR_CTL_FPGAMGRHSACK_GET(value) (((value) & 0x00000400) >> 10)
909#define ALT_RSTMGR_CTL_FPGAMGRHSACK_SET(value) (((value) << 10) & 0x00000400)
930#define ALT_RSTMGR_CTL_SCANMGRHSEN_LSB 12
932#define ALT_RSTMGR_CTL_SCANMGRHSEN_MSB 12
934#define ALT_RSTMGR_CTL_SCANMGRHSEN_WIDTH 1
936#define ALT_RSTMGR_CTL_SCANMGRHSEN_SET_MSK 0x00001000
938#define ALT_RSTMGR_CTL_SCANMGRHSEN_CLR_MSK 0xffffefff
940#define ALT_RSTMGR_CTL_SCANMGRHSEN_RESET 0x0
942#define ALT_RSTMGR_CTL_SCANMGRHSEN_GET(value) (((value) & 0x00001000) >> 12)
944#define ALT_RSTMGR_CTL_SCANMGRHSEN_SET(value) (((value) << 12) & 0x00001000)
960#define ALT_RSTMGR_CTL_SCANMGRHSREQ_LSB 13
962#define ALT_RSTMGR_CTL_SCANMGRHSREQ_MSB 13
964#define ALT_RSTMGR_CTL_SCANMGRHSREQ_WIDTH 1
966#define ALT_RSTMGR_CTL_SCANMGRHSREQ_SET_MSK 0x00002000
968#define ALT_RSTMGR_CTL_SCANMGRHSREQ_CLR_MSK 0xffffdfff
970#define ALT_RSTMGR_CTL_SCANMGRHSREQ_RESET 0x0
972#define ALT_RSTMGR_CTL_SCANMGRHSREQ_GET(value) (((value) & 0x00002000) >> 13)
974#define ALT_RSTMGR_CTL_SCANMGRHSREQ_SET(value) (((value) << 13) & 0x00002000)
986#define ALT_RSTMGR_CTL_SCANMGRHSACK_LSB 14
988#define ALT_RSTMGR_CTL_SCANMGRHSACK_MSB 14
990#define ALT_RSTMGR_CTL_SCANMGRHSACK_WIDTH 1
992#define ALT_RSTMGR_CTL_SCANMGRHSACK_SET_MSK 0x00004000
994#define ALT_RSTMGR_CTL_SCANMGRHSACK_CLR_MSK 0xffffbfff
996#define ALT_RSTMGR_CTL_SCANMGRHSACK_RESET 0x0
998#define ALT_RSTMGR_CTL_SCANMGRHSACK_GET(value) (((value) & 0x00004000) >> 14)
1000#define ALT_RSTMGR_CTL_SCANMGRHSACK_SET(value) (((value) << 14) & 0x00004000)
1018#define ALT_RSTMGR_CTL_FPGAHSEN_LSB 16
1020#define ALT_RSTMGR_CTL_FPGAHSEN_MSB 16
1022#define ALT_RSTMGR_CTL_FPGAHSEN_WIDTH 1
1024#define ALT_RSTMGR_CTL_FPGAHSEN_SET_MSK 0x00010000
1026#define ALT_RSTMGR_CTL_FPGAHSEN_CLR_MSK 0xfffeffff
1028#define ALT_RSTMGR_CTL_FPGAHSEN_RESET 0x0
1030#define ALT_RSTMGR_CTL_FPGAHSEN_GET(value) (((value) & 0x00010000) >> 16)
1032#define ALT_RSTMGR_CTL_FPGAHSEN_SET(value) (((value) << 16) & 0x00010000)
1047#define ALT_RSTMGR_CTL_FPGAHSREQ_LSB 17
1049#define ALT_RSTMGR_CTL_FPGAHSREQ_MSB 17
1051#define ALT_RSTMGR_CTL_FPGAHSREQ_WIDTH 1
1053#define ALT_RSTMGR_CTL_FPGAHSREQ_SET_MSK 0x00020000
1055#define ALT_RSTMGR_CTL_FPGAHSREQ_CLR_MSK 0xfffdffff
1057#define ALT_RSTMGR_CTL_FPGAHSREQ_RESET 0x0
1059#define ALT_RSTMGR_CTL_FPGAHSREQ_GET(value) (((value) & 0x00020000) >> 17)
1061#define ALT_RSTMGR_CTL_FPGAHSREQ_SET(value) (((value) << 17) & 0x00020000)
1073#define ALT_RSTMGR_CTL_FPGAHSACK_LSB 18
1075#define ALT_RSTMGR_CTL_FPGAHSACK_MSB 18
1077#define ALT_RSTMGR_CTL_FPGAHSACK_WIDTH 1
1079#define ALT_RSTMGR_CTL_FPGAHSACK_SET_MSK 0x00040000
1081#define ALT_RSTMGR_CTL_FPGAHSACK_CLR_MSK 0xfffbffff
1083#define ALT_RSTMGR_CTL_FPGAHSACK_RESET 0x0
1085#define ALT_RSTMGR_CTL_FPGAHSACK_GET(value) (((value) & 0x00040000) >> 18)
1087#define ALT_RSTMGR_CTL_FPGAHSACK_SET(value) (((value) << 18) & 0x00040000)
1106#define ALT_RSTMGR_CTL_ETRSTALLEN_LSB 20
1108#define ALT_RSTMGR_CTL_ETRSTALLEN_MSB 20
1110#define ALT_RSTMGR_CTL_ETRSTALLEN_WIDTH 1
1112#define ALT_RSTMGR_CTL_ETRSTALLEN_SET_MSK 0x00100000
1114#define ALT_RSTMGR_CTL_ETRSTALLEN_CLR_MSK 0xffefffff
1116#define ALT_RSTMGR_CTL_ETRSTALLEN_RESET 0x1
1118#define ALT_RSTMGR_CTL_ETRSTALLEN_GET(value) (((value) & 0x00100000) >> 20)
1120#define ALT_RSTMGR_CTL_ETRSTALLEN_SET(value) (((value) << 20) & 0x00100000)
1136#define ALT_RSTMGR_CTL_ETRSTALLREQ_LSB 21
1138#define ALT_RSTMGR_CTL_ETRSTALLREQ_MSB 21
1140#define ALT_RSTMGR_CTL_ETRSTALLREQ_WIDTH 1
1142#define ALT_RSTMGR_CTL_ETRSTALLREQ_SET_MSK 0x00200000
1144#define ALT_RSTMGR_CTL_ETRSTALLREQ_CLR_MSK 0xffdfffff
1146#define ALT_RSTMGR_CTL_ETRSTALLREQ_RESET 0x0
1148#define ALT_RSTMGR_CTL_ETRSTALLREQ_GET(value) (((value) & 0x00200000) >> 21)
1150#define ALT_RSTMGR_CTL_ETRSTALLREQ_SET(value) (((value) << 21) & 0x00200000)
1162#define ALT_RSTMGR_CTL_ETRSTALLACK_LSB 22
1164#define ALT_RSTMGR_CTL_ETRSTALLACK_MSB 22
1166#define ALT_RSTMGR_CTL_ETRSTALLACK_WIDTH 1
1168#define ALT_RSTMGR_CTL_ETRSTALLACK_SET_MSK 0x00400000
1170#define ALT_RSTMGR_CTL_ETRSTALLACK_CLR_MSK 0xffbfffff
1172#define ALT_RSTMGR_CTL_ETRSTALLACK_RESET 0x0
1174#define ALT_RSTMGR_CTL_ETRSTALLACK_GET(value) (((value) & 0x00400000) >> 22)
1176#define ALT_RSTMGR_CTL_ETRSTALLACK_SET(value) (((value) << 22) & 0x00400000)
1191#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_LSB 23
1193#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_MSB 23
1195#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_WIDTH 1
1197#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_SET_MSK 0x00800000
1199#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_CLR_MSK 0xff7fffff
1201#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_RESET 0x0
1203#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_GET(value) (((value) & 0x00800000) >> 23)
1205#define ALT_RSTMGR_CTL_ETRSTALLWARMRST_SET(value) (((value) << 23) & 0x00800000)
1220 uint32_t swcoldrstreq : 1;
1221 uint32_t swwarmrstreq : 1;
1223 uint32_t sdrselfrefen : 1;
1224 uint32_t sdrselfrefreq : 1;
1225 const uint32_t sdrselfreqack : 1;
1227 uint32_t fpgamgrhsen : 1;
1228 uint32_t fpgamgrhsreq : 1;
1229 const uint32_t fpgamgrhsack : 1;
1231 uint32_t scanmgrhsen : 1;
1232 uint32_t scanmgrhsreq : 1;
1233 const uint32_t scanmgrhsack : 1;
1235 uint32_t fpgahsen : 1;
1236 uint32_t fpgahsreq : 1;
1237 const uint32_t fpgahsack : 1;
1239 uint32_t etrstallen : 1;
1240 uint32_t etrstallreq : 1;
1241 const uint32_t etrstallack : 1;
1242 uint32_t etrstallwarmrst : 1;
1251#define ALT_RSTMGR_CTL_OFST 0x4
1281#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_LSB 0
1283#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_MSB 7
1285#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_WIDTH 8
1287#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_SET_MSK 0x000000ff
1289#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_CLR_MSK 0xffffff00
1291#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_RESET 0x80
1293#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_GET(value) (((value) & 0x000000ff) >> 0)
1295#define ALT_RSTMGR_COUNTS_WARMRSTCYCLES_SET(value) (((value) << 0) & 0x000000ff)
1308#define ALT_RSTMGR_COUNTS_NRSTCNT_LSB 8
1310#define ALT_RSTMGR_COUNTS_NRSTCNT_MSB 27
1312#define ALT_RSTMGR_COUNTS_NRSTCNT_WIDTH 20
1314#define ALT_RSTMGR_COUNTS_NRSTCNT_SET_MSK 0x0fffff00
1316#define ALT_RSTMGR_COUNTS_NRSTCNT_CLR_MSK 0xf00000ff
1318#define ALT_RSTMGR_COUNTS_NRSTCNT_RESET 0x800
1320#define ALT_RSTMGR_COUNTS_NRSTCNT_GET(value) (((value) & 0x0fffff00) >> 8)
1322#define ALT_RSTMGR_COUNTS_NRSTCNT_SET(value) (((value) << 8) & 0x0fffff00)
1337 uint32_t warmrstcycles : 8;
1338 uint32_t nrstcnt : 20;
1347#define ALT_RSTMGR_COUNTS_OFST 0x8
1398#define ALT_RSTMGR_MPUMODRST_CPU0_LSB 0
1400#define ALT_RSTMGR_MPUMODRST_CPU0_MSB 0
1402#define ALT_RSTMGR_MPUMODRST_CPU0_WIDTH 1
1404#define ALT_RSTMGR_MPUMODRST_CPU0_SET_MSK 0x00000001
1406#define ALT_RSTMGR_MPUMODRST_CPU0_CLR_MSK 0xfffffffe
1408#define ALT_RSTMGR_MPUMODRST_CPU0_RESET 0x0
1410#define ALT_RSTMGR_MPUMODRST_CPU0_GET(value) (((value) & 0x00000001) >> 0)
1412#define ALT_RSTMGR_MPUMODRST_CPU0_SET(value) (((value) << 0) & 0x00000001)
1430#define ALT_RSTMGR_MPUMODRST_CPU1_LSB 1
1432#define ALT_RSTMGR_MPUMODRST_CPU1_MSB 1
1434#define ALT_RSTMGR_MPUMODRST_CPU1_WIDTH 1
1436#define ALT_RSTMGR_MPUMODRST_CPU1_SET_MSK 0x00000002
1438#define ALT_RSTMGR_MPUMODRST_CPU1_CLR_MSK 0xfffffffd
1440#define ALT_RSTMGR_MPUMODRST_CPU1_RESET 0x1
1442#define ALT_RSTMGR_MPUMODRST_CPU1_GET(value) (((value) & 0x00000002) >> 1)
1444#define ALT_RSTMGR_MPUMODRST_CPU1_SET(value) (((value) << 1) & 0x00000002)
1455#define ALT_RSTMGR_MPUMODRST_WDS_LSB 2
1457#define ALT_RSTMGR_MPUMODRST_WDS_MSB 2
1459#define ALT_RSTMGR_MPUMODRST_WDS_WIDTH 1
1461#define ALT_RSTMGR_MPUMODRST_WDS_SET_MSK 0x00000004
1463#define ALT_RSTMGR_MPUMODRST_WDS_CLR_MSK 0xfffffffb
1465#define ALT_RSTMGR_MPUMODRST_WDS_RESET 0x0
1467#define ALT_RSTMGR_MPUMODRST_WDS_GET(value) (((value) & 0x00000004) >> 2)
1469#define ALT_RSTMGR_MPUMODRST_WDS_SET(value) (((value) << 2) & 0x00000004)
1482#define ALT_RSTMGR_MPUMODRST_SCUPER_LSB 3
1484#define ALT_RSTMGR_MPUMODRST_SCUPER_MSB 3
1486#define ALT_RSTMGR_MPUMODRST_SCUPER_WIDTH 1
1488#define ALT_RSTMGR_MPUMODRST_SCUPER_SET_MSK 0x00000008
1490#define ALT_RSTMGR_MPUMODRST_SCUPER_CLR_MSK 0xfffffff7
1492#define ALT_RSTMGR_MPUMODRST_SCUPER_RESET 0x0
1494#define ALT_RSTMGR_MPUMODRST_SCUPER_GET(value) (((value) & 0x00000008) >> 3)
1496#define ALT_RSTMGR_MPUMODRST_SCUPER_SET(value) (((value) << 3) & 0x00000008)
1507#define ALT_RSTMGR_MPUMODRST_L2_LSB 4
1509#define ALT_RSTMGR_MPUMODRST_L2_MSB 4
1511#define ALT_RSTMGR_MPUMODRST_L2_WIDTH 1
1513#define ALT_RSTMGR_MPUMODRST_L2_SET_MSK 0x00000010
1515#define ALT_RSTMGR_MPUMODRST_L2_CLR_MSK 0xffffffef
1517#define ALT_RSTMGR_MPUMODRST_L2_RESET 0x0
1519#define ALT_RSTMGR_MPUMODRST_L2_GET(value) (((value) & 0x00000010) >> 4)
1521#define ALT_RSTMGR_MPUMODRST_L2_SET(value) (((value) << 4) & 0x00000010)
1539 uint32_t scuper : 1;
1549#define ALT_RSTMGR_MPUMODRST_OFST 0x10
1619#define ALT_RSTMGR_PERMODRST_EMAC0_LSB 0
1621#define ALT_RSTMGR_PERMODRST_EMAC0_MSB 0
1623#define ALT_RSTMGR_PERMODRST_EMAC0_WIDTH 1
1625#define ALT_RSTMGR_PERMODRST_EMAC0_SET_MSK 0x00000001
1627#define ALT_RSTMGR_PERMODRST_EMAC0_CLR_MSK 0xfffffffe
1629#define ALT_RSTMGR_PERMODRST_EMAC0_RESET 0x1
1631#define ALT_RSTMGR_PERMODRST_EMAC0_GET(value) (((value) & 0x00000001) >> 0)
1633#define ALT_RSTMGR_PERMODRST_EMAC0_SET(value) (((value) << 0) & 0x00000001)
1644#define ALT_RSTMGR_PERMODRST_EMAC1_LSB 1
1646#define ALT_RSTMGR_PERMODRST_EMAC1_MSB 1
1648#define ALT_RSTMGR_PERMODRST_EMAC1_WIDTH 1
1650#define ALT_RSTMGR_PERMODRST_EMAC1_SET_MSK 0x00000002
1652#define ALT_RSTMGR_PERMODRST_EMAC1_CLR_MSK 0xfffffffd
1654#define ALT_RSTMGR_PERMODRST_EMAC1_RESET 0x1
1656#define ALT_RSTMGR_PERMODRST_EMAC1_GET(value) (((value) & 0x00000002) >> 1)
1658#define ALT_RSTMGR_PERMODRST_EMAC1_SET(value) (((value) << 1) & 0x00000002)
1669#define ALT_RSTMGR_PERMODRST_USB0_LSB 2
1671#define ALT_RSTMGR_PERMODRST_USB0_MSB 2
1673#define ALT_RSTMGR_PERMODRST_USB0_WIDTH 1
1675#define ALT_RSTMGR_PERMODRST_USB0_SET_MSK 0x00000004
1677#define ALT_RSTMGR_PERMODRST_USB0_CLR_MSK 0xfffffffb
1679#define ALT_RSTMGR_PERMODRST_USB0_RESET 0x1
1681#define ALT_RSTMGR_PERMODRST_USB0_GET(value) (((value) & 0x00000004) >> 2)
1683#define ALT_RSTMGR_PERMODRST_USB0_SET(value) (((value) << 2) & 0x00000004)
1694#define ALT_RSTMGR_PERMODRST_USB1_LSB 3
1696#define ALT_RSTMGR_PERMODRST_USB1_MSB 3
1698#define ALT_RSTMGR_PERMODRST_USB1_WIDTH 1
1700#define ALT_RSTMGR_PERMODRST_USB1_SET_MSK 0x00000008
1702#define ALT_RSTMGR_PERMODRST_USB1_CLR_MSK 0xfffffff7
1704#define ALT_RSTMGR_PERMODRST_USB1_RESET 0x1
1706#define ALT_RSTMGR_PERMODRST_USB1_GET(value) (((value) & 0x00000008) >> 3)
1708#define ALT_RSTMGR_PERMODRST_USB1_SET(value) (((value) << 3) & 0x00000008)
1719#define ALT_RSTMGR_PERMODRST_NAND_LSB 4
1721#define ALT_RSTMGR_PERMODRST_NAND_MSB 4
1723#define ALT_RSTMGR_PERMODRST_NAND_WIDTH 1
1725#define ALT_RSTMGR_PERMODRST_NAND_SET_MSK 0x00000010
1727#define ALT_RSTMGR_PERMODRST_NAND_CLR_MSK 0xffffffef
1729#define ALT_RSTMGR_PERMODRST_NAND_RESET 0x1
1731#define ALT_RSTMGR_PERMODRST_NAND_GET(value) (((value) & 0x00000010) >> 4)
1733#define ALT_RSTMGR_PERMODRST_NAND_SET(value) (((value) << 4) & 0x00000010)
1744#define ALT_RSTMGR_PERMODRST_QSPI_LSB 5
1746#define ALT_RSTMGR_PERMODRST_QSPI_MSB 5
1748#define ALT_RSTMGR_PERMODRST_QSPI_WIDTH 1
1750#define ALT_RSTMGR_PERMODRST_QSPI_SET_MSK 0x00000020
1752#define ALT_RSTMGR_PERMODRST_QSPI_CLR_MSK 0xffffffdf
1754#define ALT_RSTMGR_PERMODRST_QSPI_RESET 0x1
1756#define ALT_RSTMGR_PERMODRST_QSPI_GET(value) (((value) & 0x00000020) >> 5)
1758#define ALT_RSTMGR_PERMODRST_QSPI_SET(value) (((value) << 5) & 0x00000020)
1769#define ALT_RSTMGR_PERMODRST_L4WD0_LSB 6
1771#define ALT_RSTMGR_PERMODRST_L4WD0_MSB 6
1773#define ALT_RSTMGR_PERMODRST_L4WD0_WIDTH 1
1775#define ALT_RSTMGR_PERMODRST_L4WD0_SET_MSK 0x00000040
1777#define ALT_RSTMGR_PERMODRST_L4WD0_CLR_MSK 0xffffffbf
1779#define ALT_RSTMGR_PERMODRST_L4WD0_RESET 0x1
1781#define ALT_RSTMGR_PERMODRST_L4WD0_GET(value) (((value) & 0x00000040) >> 6)
1783#define ALT_RSTMGR_PERMODRST_L4WD0_SET(value) (((value) << 6) & 0x00000040)
1794#define ALT_RSTMGR_PERMODRST_L4WD1_LSB 7
1796#define ALT_RSTMGR_PERMODRST_L4WD1_MSB 7
1798#define ALT_RSTMGR_PERMODRST_L4WD1_WIDTH 1
1800#define ALT_RSTMGR_PERMODRST_L4WD1_SET_MSK 0x00000080
1802#define ALT_RSTMGR_PERMODRST_L4WD1_CLR_MSK 0xffffff7f
1804#define ALT_RSTMGR_PERMODRST_L4WD1_RESET 0x1
1806#define ALT_RSTMGR_PERMODRST_L4WD1_GET(value) (((value) & 0x00000080) >> 7)
1808#define ALT_RSTMGR_PERMODRST_L4WD1_SET(value) (((value) << 7) & 0x00000080)
1819#define ALT_RSTMGR_PERMODRST_OSC1TMR0_LSB 8
1821#define ALT_RSTMGR_PERMODRST_OSC1TMR0_MSB 8
1823#define ALT_RSTMGR_PERMODRST_OSC1TMR0_WIDTH 1
1825#define ALT_RSTMGR_PERMODRST_OSC1TMR0_SET_MSK 0x00000100
1827#define ALT_RSTMGR_PERMODRST_OSC1TMR0_CLR_MSK 0xfffffeff
1829#define ALT_RSTMGR_PERMODRST_OSC1TMR0_RESET 0x1
1831#define ALT_RSTMGR_PERMODRST_OSC1TMR0_GET(value) (((value) & 0x00000100) >> 8)
1833#define ALT_RSTMGR_PERMODRST_OSC1TMR0_SET(value) (((value) << 8) & 0x00000100)
1844#define ALT_RSTMGR_PERMODRST_OSC1TMR1_LSB 9
1846#define ALT_RSTMGR_PERMODRST_OSC1TMR1_MSB 9
1848#define ALT_RSTMGR_PERMODRST_OSC1TMR1_WIDTH 1
1850#define ALT_RSTMGR_PERMODRST_OSC1TMR1_SET_MSK 0x00000200
1852#define ALT_RSTMGR_PERMODRST_OSC1TMR1_CLR_MSK 0xfffffdff
1854#define ALT_RSTMGR_PERMODRST_OSC1TMR1_RESET 0x1
1856#define ALT_RSTMGR_PERMODRST_OSC1TMR1_GET(value) (((value) & 0x00000200) >> 9)
1858#define ALT_RSTMGR_PERMODRST_OSC1TMR1_SET(value) (((value) << 9) & 0x00000200)
1869#define ALT_RSTMGR_PERMODRST_SPTMR0_LSB 10
1871#define ALT_RSTMGR_PERMODRST_SPTMR0_MSB 10
1873#define ALT_RSTMGR_PERMODRST_SPTMR0_WIDTH 1
1875#define ALT_RSTMGR_PERMODRST_SPTMR0_SET_MSK 0x00000400
1877#define ALT_RSTMGR_PERMODRST_SPTMR0_CLR_MSK 0xfffffbff
1879#define ALT_RSTMGR_PERMODRST_SPTMR0_RESET 0x1
1881#define ALT_RSTMGR_PERMODRST_SPTMR0_GET(value) (((value) & 0x00000400) >> 10)
1883#define ALT_RSTMGR_PERMODRST_SPTMR0_SET(value) (((value) << 10) & 0x00000400)
1894#define ALT_RSTMGR_PERMODRST_SPTMR1_LSB 11
1896#define ALT_RSTMGR_PERMODRST_SPTMR1_MSB 11
1898#define ALT_RSTMGR_PERMODRST_SPTMR1_WIDTH 1
1900#define ALT_RSTMGR_PERMODRST_SPTMR1_SET_MSK 0x00000800
1902#define ALT_RSTMGR_PERMODRST_SPTMR1_CLR_MSK 0xfffff7ff
1904#define ALT_RSTMGR_PERMODRST_SPTMR1_RESET 0x1
1906#define ALT_RSTMGR_PERMODRST_SPTMR1_GET(value) (((value) & 0x00000800) >> 11)
1908#define ALT_RSTMGR_PERMODRST_SPTMR1_SET(value) (((value) << 11) & 0x00000800)
1919#define ALT_RSTMGR_PERMODRST_I2C0_LSB 12
1921#define ALT_RSTMGR_PERMODRST_I2C0_MSB 12
1923#define ALT_RSTMGR_PERMODRST_I2C0_WIDTH 1
1925#define ALT_RSTMGR_PERMODRST_I2C0_SET_MSK 0x00001000
1927#define ALT_RSTMGR_PERMODRST_I2C0_CLR_MSK 0xffffefff
1929#define ALT_RSTMGR_PERMODRST_I2C0_RESET 0x1
1931#define ALT_RSTMGR_PERMODRST_I2C0_GET(value) (((value) & 0x00001000) >> 12)
1933#define ALT_RSTMGR_PERMODRST_I2C0_SET(value) (((value) << 12) & 0x00001000)
1944#define ALT_RSTMGR_PERMODRST_I2C1_LSB 13
1946#define ALT_RSTMGR_PERMODRST_I2C1_MSB 13
1948#define ALT_RSTMGR_PERMODRST_I2C1_WIDTH 1
1950#define ALT_RSTMGR_PERMODRST_I2C1_SET_MSK 0x00002000
1952#define ALT_RSTMGR_PERMODRST_I2C1_CLR_MSK 0xffffdfff
1954#define ALT_RSTMGR_PERMODRST_I2C1_RESET 0x1
1956#define ALT_RSTMGR_PERMODRST_I2C1_GET(value) (((value) & 0x00002000) >> 13)
1958#define ALT_RSTMGR_PERMODRST_I2C1_SET(value) (((value) << 13) & 0x00002000)
1969#define ALT_RSTMGR_PERMODRST_I2C2_LSB 14
1971#define ALT_RSTMGR_PERMODRST_I2C2_MSB 14
1973#define ALT_RSTMGR_PERMODRST_I2C2_WIDTH 1
1975#define ALT_RSTMGR_PERMODRST_I2C2_SET_MSK 0x00004000
1977#define ALT_RSTMGR_PERMODRST_I2C2_CLR_MSK 0xffffbfff
1979#define ALT_RSTMGR_PERMODRST_I2C2_RESET 0x1
1981#define ALT_RSTMGR_PERMODRST_I2C2_GET(value) (((value) & 0x00004000) >> 14)
1983#define ALT_RSTMGR_PERMODRST_I2C2_SET(value) (((value) << 14) & 0x00004000)
1994#define ALT_RSTMGR_PERMODRST_I2C3_LSB 15
1996#define ALT_RSTMGR_PERMODRST_I2C3_MSB 15
1998#define ALT_RSTMGR_PERMODRST_I2C3_WIDTH 1
2000#define ALT_RSTMGR_PERMODRST_I2C3_SET_MSK 0x00008000
2002#define ALT_RSTMGR_PERMODRST_I2C3_CLR_MSK 0xffff7fff
2004#define ALT_RSTMGR_PERMODRST_I2C3_RESET 0x1
2006#define ALT_RSTMGR_PERMODRST_I2C3_GET(value) (((value) & 0x00008000) >> 15)
2008#define ALT_RSTMGR_PERMODRST_I2C3_SET(value) (((value) << 15) & 0x00008000)
2019#define ALT_RSTMGR_PERMODRST_UART0_LSB 16
2021#define ALT_RSTMGR_PERMODRST_UART0_MSB 16
2023#define ALT_RSTMGR_PERMODRST_UART0_WIDTH 1
2025#define ALT_RSTMGR_PERMODRST_UART0_SET_MSK 0x00010000
2027#define ALT_RSTMGR_PERMODRST_UART0_CLR_MSK 0xfffeffff
2029#define ALT_RSTMGR_PERMODRST_UART0_RESET 0x1
2031#define ALT_RSTMGR_PERMODRST_UART0_GET(value) (((value) & 0x00010000) >> 16)
2033#define ALT_RSTMGR_PERMODRST_UART0_SET(value) (((value) << 16) & 0x00010000)
2044#define ALT_RSTMGR_PERMODRST_UART1_LSB 17
2046#define ALT_RSTMGR_PERMODRST_UART1_MSB 17
2048#define ALT_RSTMGR_PERMODRST_UART1_WIDTH 1
2050#define ALT_RSTMGR_PERMODRST_UART1_SET_MSK 0x00020000
2052#define ALT_RSTMGR_PERMODRST_UART1_CLR_MSK 0xfffdffff
2054#define ALT_RSTMGR_PERMODRST_UART1_RESET 0x1
2056#define ALT_RSTMGR_PERMODRST_UART1_GET(value) (((value) & 0x00020000) >> 17)
2058#define ALT_RSTMGR_PERMODRST_UART1_SET(value) (((value) << 17) & 0x00020000)
2069#define ALT_RSTMGR_PERMODRST_SPIM0_LSB 18
2071#define ALT_RSTMGR_PERMODRST_SPIM0_MSB 18
2073#define ALT_RSTMGR_PERMODRST_SPIM0_WIDTH 1
2075#define ALT_RSTMGR_PERMODRST_SPIM0_SET_MSK 0x00040000
2077#define ALT_RSTMGR_PERMODRST_SPIM0_CLR_MSK 0xfffbffff
2079#define ALT_RSTMGR_PERMODRST_SPIM0_RESET 0x1
2081#define ALT_RSTMGR_PERMODRST_SPIM0_GET(value) (((value) & 0x00040000) >> 18)
2083#define ALT_RSTMGR_PERMODRST_SPIM0_SET(value) (((value) << 18) & 0x00040000)
2094#define ALT_RSTMGR_PERMODRST_SPIM1_LSB 19
2096#define ALT_RSTMGR_PERMODRST_SPIM1_MSB 19
2098#define ALT_RSTMGR_PERMODRST_SPIM1_WIDTH 1
2100#define ALT_RSTMGR_PERMODRST_SPIM1_SET_MSK 0x00080000
2102#define ALT_RSTMGR_PERMODRST_SPIM1_CLR_MSK 0xfff7ffff
2104#define ALT_RSTMGR_PERMODRST_SPIM1_RESET 0x1
2106#define ALT_RSTMGR_PERMODRST_SPIM1_GET(value) (((value) & 0x00080000) >> 19)
2108#define ALT_RSTMGR_PERMODRST_SPIM1_SET(value) (((value) << 19) & 0x00080000)
2119#define ALT_RSTMGR_PERMODRST_SPIS0_LSB 20
2121#define ALT_RSTMGR_PERMODRST_SPIS0_MSB 20
2123#define ALT_RSTMGR_PERMODRST_SPIS0_WIDTH 1
2125#define ALT_RSTMGR_PERMODRST_SPIS0_SET_MSK 0x00100000
2127#define ALT_RSTMGR_PERMODRST_SPIS0_CLR_MSK 0xffefffff
2129#define ALT_RSTMGR_PERMODRST_SPIS0_RESET 0x1
2131#define ALT_RSTMGR_PERMODRST_SPIS0_GET(value) (((value) & 0x00100000) >> 20)
2133#define ALT_RSTMGR_PERMODRST_SPIS0_SET(value) (((value) << 20) & 0x00100000)
2144#define ALT_RSTMGR_PERMODRST_SPIS1_LSB 21
2146#define ALT_RSTMGR_PERMODRST_SPIS1_MSB 21
2148#define ALT_RSTMGR_PERMODRST_SPIS1_WIDTH 1
2150#define ALT_RSTMGR_PERMODRST_SPIS1_SET_MSK 0x00200000
2152#define ALT_RSTMGR_PERMODRST_SPIS1_CLR_MSK 0xffdfffff
2154#define ALT_RSTMGR_PERMODRST_SPIS1_RESET 0x1
2156#define ALT_RSTMGR_PERMODRST_SPIS1_GET(value) (((value) & 0x00200000) >> 21)
2158#define ALT_RSTMGR_PERMODRST_SPIS1_SET(value) (((value) << 21) & 0x00200000)
2169#define ALT_RSTMGR_PERMODRST_SDMMC_LSB 22
2171#define ALT_RSTMGR_PERMODRST_SDMMC_MSB 22
2173#define ALT_RSTMGR_PERMODRST_SDMMC_WIDTH 1
2175#define ALT_RSTMGR_PERMODRST_SDMMC_SET_MSK 0x00400000
2177#define ALT_RSTMGR_PERMODRST_SDMMC_CLR_MSK 0xffbfffff
2179#define ALT_RSTMGR_PERMODRST_SDMMC_RESET 0x1
2181#define ALT_RSTMGR_PERMODRST_SDMMC_GET(value) (((value) & 0x00400000) >> 22)
2183#define ALT_RSTMGR_PERMODRST_SDMMC_SET(value) (((value) << 22) & 0x00400000)
2196#define ALT_RSTMGR_PERMODRST_CAN0_LSB 23
2198#define ALT_RSTMGR_PERMODRST_CAN0_MSB 23
2200#define ALT_RSTMGR_PERMODRST_CAN0_WIDTH 1
2202#define ALT_RSTMGR_PERMODRST_CAN0_SET_MSK 0x00800000
2204#define ALT_RSTMGR_PERMODRST_CAN0_CLR_MSK 0xff7fffff
2206#define ALT_RSTMGR_PERMODRST_CAN0_RESET 0x1
2208#define ALT_RSTMGR_PERMODRST_CAN0_GET(value) (((value) & 0x00800000) >> 23)
2210#define ALT_RSTMGR_PERMODRST_CAN0_SET(value) (((value) << 23) & 0x00800000)
2223#define ALT_RSTMGR_PERMODRST_CAN1_LSB 24
2225#define ALT_RSTMGR_PERMODRST_CAN1_MSB 24
2227#define ALT_RSTMGR_PERMODRST_CAN1_WIDTH 1
2229#define ALT_RSTMGR_PERMODRST_CAN1_SET_MSK 0x01000000
2231#define ALT_RSTMGR_PERMODRST_CAN1_CLR_MSK 0xfeffffff
2233#define ALT_RSTMGR_PERMODRST_CAN1_RESET 0x1
2235#define ALT_RSTMGR_PERMODRST_CAN1_GET(value) (((value) & 0x01000000) >> 24)
2237#define ALT_RSTMGR_PERMODRST_CAN1_SET(value) (((value) << 24) & 0x01000000)
2248#define ALT_RSTMGR_PERMODRST_GPIO0_LSB 25
2250#define ALT_RSTMGR_PERMODRST_GPIO0_MSB 25
2252#define ALT_RSTMGR_PERMODRST_GPIO0_WIDTH 1
2254#define ALT_RSTMGR_PERMODRST_GPIO0_SET_MSK 0x02000000
2256#define ALT_RSTMGR_PERMODRST_GPIO0_CLR_MSK 0xfdffffff
2258#define ALT_RSTMGR_PERMODRST_GPIO0_RESET 0x1
2260#define ALT_RSTMGR_PERMODRST_GPIO0_GET(value) (((value) & 0x02000000) >> 25)
2262#define ALT_RSTMGR_PERMODRST_GPIO0_SET(value) (((value) << 25) & 0x02000000)
2273#define ALT_RSTMGR_PERMODRST_GPIO1_LSB 26
2275#define ALT_RSTMGR_PERMODRST_GPIO1_MSB 26
2277#define ALT_RSTMGR_PERMODRST_GPIO1_WIDTH 1
2279#define ALT_RSTMGR_PERMODRST_GPIO1_SET_MSK 0x04000000
2281#define ALT_RSTMGR_PERMODRST_GPIO1_CLR_MSK 0xfbffffff
2283#define ALT_RSTMGR_PERMODRST_GPIO1_RESET 0x1
2285#define ALT_RSTMGR_PERMODRST_GPIO1_GET(value) (((value) & 0x04000000) >> 26)
2287#define ALT_RSTMGR_PERMODRST_GPIO1_SET(value) (((value) << 26) & 0x04000000)
2298#define ALT_RSTMGR_PERMODRST_GPIO2_LSB 27
2300#define ALT_RSTMGR_PERMODRST_GPIO2_MSB 27
2302#define ALT_RSTMGR_PERMODRST_GPIO2_WIDTH 1
2304#define ALT_RSTMGR_PERMODRST_GPIO2_SET_MSK 0x08000000
2306#define ALT_RSTMGR_PERMODRST_GPIO2_CLR_MSK 0xf7ffffff
2308#define ALT_RSTMGR_PERMODRST_GPIO2_RESET 0x1
2310#define ALT_RSTMGR_PERMODRST_GPIO2_GET(value) (((value) & 0x08000000) >> 27)
2312#define ALT_RSTMGR_PERMODRST_GPIO2_SET(value) (((value) << 27) & 0x08000000)
2323#define ALT_RSTMGR_PERMODRST_DMA_LSB 28
2325#define ALT_RSTMGR_PERMODRST_DMA_MSB 28
2327#define ALT_RSTMGR_PERMODRST_DMA_WIDTH 1
2329#define ALT_RSTMGR_PERMODRST_DMA_SET_MSK 0x10000000
2331#define ALT_RSTMGR_PERMODRST_DMA_CLR_MSK 0xefffffff
2333#define ALT_RSTMGR_PERMODRST_DMA_RESET 0x1
2335#define ALT_RSTMGR_PERMODRST_DMA_GET(value) (((value) & 0x10000000) >> 28)
2337#define ALT_RSTMGR_PERMODRST_DMA_SET(value) (((value) << 28) & 0x10000000)
2348#define ALT_RSTMGR_PERMODRST_SDR_LSB 29
2350#define ALT_RSTMGR_PERMODRST_SDR_MSB 29
2352#define ALT_RSTMGR_PERMODRST_SDR_WIDTH 1
2354#define ALT_RSTMGR_PERMODRST_SDR_SET_MSK 0x20000000
2356#define ALT_RSTMGR_PERMODRST_SDR_CLR_MSK 0xdfffffff
2358#define ALT_RSTMGR_PERMODRST_SDR_RESET 0x1
2360#define ALT_RSTMGR_PERMODRST_SDR_GET(value) (((value) & 0x20000000) >> 29)
2362#define ALT_RSTMGR_PERMODRST_SDR_SET(value) (((value) << 29) & 0x20000000)
2385 uint32_t osc1timer0 : 1;
2386 uint32_t osc1timer1 : 1;
2387 uint32_t sptimer0 : 1;
2388 uint32_t sptimer1 : 1;
2415#define ALT_RSTMGR_PERMODRST_OFST 0x14
2464#define ALT_RSTMGR_PER2MODRST_DMAIF0_LSB 0
2466#define ALT_RSTMGR_PER2MODRST_DMAIF0_MSB 0
2468#define ALT_RSTMGR_PER2MODRST_DMAIF0_WIDTH 1
2470#define ALT_RSTMGR_PER2MODRST_DMAIF0_SET_MSK 0x00000001
2472#define ALT_RSTMGR_PER2MODRST_DMAIF0_CLR_MSK 0xfffffffe
2474#define ALT_RSTMGR_PER2MODRST_DMAIF0_RESET 0x1
2476#define ALT_RSTMGR_PER2MODRST_DMAIF0_GET(value) (((value) & 0x00000001) >> 0)
2478#define ALT_RSTMGR_PER2MODRST_DMAIF0_SET(value) (((value) << 0) & 0x00000001)
2490#define ALT_RSTMGR_PER2MODRST_DMAIF1_LSB 1
2492#define ALT_RSTMGR_PER2MODRST_DMAIF1_MSB 1
2494#define ALT_RSTMGR_PER2MODRST_DMAIF1_WIDTH 1
2496#define ALT_RSTMGR_PER2MODRST_DMAIF1_SET_MSK 0x00000002
2498#define ALT_RSTMGR_PER2MODRST_DMAIF1_CLR_MSK 0xfffffffd
2500#define ALT_RSTMGR_PER2MODRST_DMAIF1_RESET 0x1
2502#define ALT_RSTMGR_PER2MODRST_DMAIF1_GET(value) (((value) & 0x00000002) >> 1)
2504#define ALT_RSTMGR_PER2MODRST_DMAIF1_SET(value) (((value) << 1) & 0x00000002)
2516#define ALT_RSTMGR_PER2MODRST_DMAIF2_LSB 2
2518#define ALT_RSTMGR_PER2MODRST_DMAIF2_MSB 2
2520#define ALT_RSTMGR_PER2MODRST_DMAIF2_WIDTH 1
2522#define ALT_RSTMGR_PER2MODRST_DMAIF2_SET_MSK 0x00000004
2524#define ALT_RSTMGR_PER2MODRST_DMAIF2_CLR_MSK 0xfffffffb
2526#define ALT_RSTMGR_PER2MODRST_DMAIF2_RESET 0x1
2528#define ALT_RSTMGR_PER2MODRST_DMAIF2_GET(value) (((value) & 0x00000004) >> 2)
2530#define ALT_RSTMGR_PER2MODRST_DMAIF2_SET(value) (((value) << 2) & 0x00000004)
2542#define ALT_RSTMGR_PER2MODRST_DMAIF3_LSB 3
2544#define ALT_RSTMGR_PER2MODRST_DMAIF3_MSB 3
2546#define ALT_RSTMGR_PER2MODRST_DMAIF3_WIDTH 1
2548#define ALT_RSTMGR_PER2MODRST_DMAIF3_SET_MSK 0x00000008
2550#define ALT_RSTMGR_PER2MODRST_DMAIF3_CLR_MSK 0xfffffff7
2552#define ALT_RSTMGR_PER2MODRST_DMAIF3_RESET 0x1
2554#define ALT_RSTMGR_PER2MODRST_DMAIF3_GET(value) (((value) & 0x00000008) >> 3)
2556#define ALT_RSTMGR_PER2MODRST_DMAIF3_SET(value) (((value) << 3) & 0x00000008)
2568#define ALT_RSTMGR_PER2MODRST_DMAIF4_LSB 4
2570#define ALT_RSTMGR_PER2MODRST_DMAIF4_MSB 4
2572#define ALT_RSTMGR_PER2MODRST_DMAIF4_WIDTH 1
2574#define ALT_RSTMGR_PER2MODRST_DMAIF4_SET_MSK 0x00000010
2576#define ALT_RSTMGR_PER2MODRST_DMAIF4_CLR_MSK 0xffffffef
2578#define ALT_RSTMGR_PER2MODRST_DMAIF4_RESET 0x1
2580#define ALT_RSTMGR_PER2MODRST_DMAIF4_GET(value) (((value) & 0x00000010) >> 4)
2582#define ALT_RSTMGR_PER2MODRST_DMAIF4_SET(value) (((value) << 4) & 0x00000010)
2594#define ALT_RSTMGR_PER2MODRST_DMAIF5_LSB 5
2596#define ALT_RSTMGR_PER2MODRST_DMAIF5_MSB 5
2598#define ALT_RSTMGR_PER2MODRST_DMAIF5_WIDTH 1
2600#define ALT_RSTMGR_PER2MODRST_DMAIF5_SET_MSK 0x00000020
2602#define ALT_RSTMGR_PER2MODRST_DMAIF5_CLR_MSK 0xffffffdf
2604#define ALT_RSTMGR_PER2MODRST_DMAIF5_RESET 0x1
2606#define ALT_RSTMGR_PER2MODRST_DMAIF5_GET(value) (((value) & 0x00000020) >> 5)
2608#define ALT_RSTMGR_PER2MODRST_DMAIF5_SET(value) (((value) << 5) & 0x00000020)
2620#define ALT_RSTMGR_PER2MODRST_DMAIF6_LSB 6
2622#define ALT_RSTMGR_PER2MODRST_DMAIF6_MSB 6
2624#define ALT_RSTMGR_PER2MODRST_DMAIF6_WIDTH 1
2626#define ALT_RSTMGR_PER2MODRST_DMAIF6_SET_MSK 0x00000040
2628#define ALT_RSTMGR_PER2MODRST_DMAIF6_CLR_MSK 0xffffffbf
2630#define ALT_RSTMGR_PER2MODRST_DMAIF6_RESET 0x1
2632#define ALT_RSTMGR_PER2MODRST_DMAIF6_GET(value) (((value) & 0x00000040) >> 6)
2634#define ALT_RSTMGR_PER2MODRST_DMAIF6_SET(value) (((value) << 6) & 0x00000040)
2646#define ALT_RSTMGR_PER2MODRST_DMAIF7_LSB 7
2648#define ALT_RSTMGR_PER2MODRST_DMAIF7_MSB 7
2650#define ALT_RSTMGR_PER2MODRST_DMAIF7_WIDTH 1
2652#define ALT_RSTMGR_PER2MODRST_DMAIF7_SET_MSK 0x00000080
2654#define ALT_RSTMGR_PER2MODRST_DMAIF7_CLR_MSK 0xffffff7f
2656#define ALT_RSTMGR_PER2MODRST_DMAIF7_RESET 0x1
2658#define ALT_RSTMGR_PER2MODRST_DMAIF7_GET(value) (((value) & 0x00000080) >> 7)
2660#define ALT_RSTMGR_PER2MODRST_DMAIF7_SET(value) (((value) << 7) & 0x00000080)
2675 uint32_t dmaif0 : 1;
2676 uint32_t dmaif1 : 1;
2677 uint32_t dmaif2 : 1;
2678 uint32_t dmaif3 : 1;
2679 uint32_t dmaif4 : 1;
2680 uint32_t dmaif5 : 1;
2681 uint32_t dmaif6 : 1;
2682 uint32_t dmaif7 : 1;
2691#define ALT_RSTMGR_PER2MODRST_OFST 0x18
2734#define ALT_RSTMGR_BRGMODRST_H2F_LSB 0
2736#define ALT_RSTMGR_BRGMODRST_H2F_MSB 0
2738#define ALT_RSTMGR_BRGMODRST_H2F_WIDTH 1
2740#define ALT_RSTMGR_BRGMODRST_H2F_SET_MSK 0x00000001
2742#define ALT_RSTMGR_BRGMODRST_H2F_CLR_MSK 0xfffffffe
2744#define ALT_RSTMGR_BRGMODRST_H2F_RESET 0x1
2746#define ALT_RSTMGR_BRGMODRST_H2F_GET(value) (((value) & 0x00000001) >> 0)
2748#define ALT_RSTMGR_BRGMODRST_H2F_SET(value) (((value) << 0) & 0x00000001)
2759#define ALT_RSTMGR_BRGMODRST_LWH2F_LSB 1
2761#define ALT_RSTMGR_BRGMODRST_LWH2F_MSB 1
2763#define ALT_RSTMGR_BRGMODRST_LWH2F_WIDTH 1
2765#define ALT_RSTMGR_BRGMODRST_LWH2F_SET_MSK 0x00000002
2767#define ALT_RSTMGR_BRGMODRST_LWH2F_CLR_MSK 0xfffffffd
2769#define ALT_RSTMGR_BRGMODRST_LWH2F_RESET 0x1
2771#define ALT_RSTMGR_BRGMODRST_LWH2F_GET(value) (((value) & 0x00000002) >> 1)
2773#define ALT_RSTMGR_BRGMODRST_LWH2F_SET(value) (((value) << 1) & 0x00000002)
2784#define ALT_RSTMGR_BRGMODRST_F2H_LSB 2
2786#define ALT_RSTMGR_BRGMODRST_F2H_MSB 2
2788#define ALT_RSTMGR_BRGMODRST_F2H_WIDTH 1
2790#define ALT_RSTMGR_BRGMODRST_F2H_SET_MSK 0x00000004
2792#define ALT_RSTMGR_BRGMODRST_F2H_CLR_MSK 0xfffffffb
2794#define ALT_RSTMGR_BRGMODRST_F2H_RESET 0x1
2796#define ALT_RSTMGR_BRGMODRST_F2H_GET(value) (((value) & 0x00000004) >> 2)
2798#define ALT_RSTMGR_BRGMODRST_F2H_SET(value) (((value) << 2) & 0x00000004)
2813 uint32_t hps2fpga : 1;
2814 uint32_t lwhps2fpga : 1;
2815 uint32_t fpga2hps : 1;
2824#define ALT_RSTMGR_BRGMODRST_OFST 0x1c
2876#define ALT_RSTMGR_MISCMODRST_ROM_LSB 0
2878#define ALT_RSTMGR_MISCMODRST_ROM_MSB 0
2880#define ALT_RSTMGR_MISCMODRST_ROM_WIDTH 1
2882#define ALT_RSTMGR_MISCMODRST_ROM_SET_MSK 0x00000001
2884#define ALT_RSTMGR_MISCMODRST_ROM_CLR_MSK 0xfffffffe
2886#define ALT_RSTMGR_MISCMODRST_ROM_RESET 0x0
2888#define ALT_RSTMGR_MISCMODRST_ROM_GET(value) (((value) & 0x00000001) >> 0)
2890#define ALT_RSTMGR_MISCMODRST_ROM_SET(value) (((value) << 0) & 0x00000001)
2901#define ALT_RSTMGR_MISCMODRST_OCRAM_LSB 1
2903#define ALT_RSTMGR_MISCMODRST_OCRAM_MSB 1
2905#define ALT_RSTMGR_MISCMODRST_OCRAM_WIDTH 1
2907#define ALT_RSTMGR_MISCMODRST_OCRAM_SET_MSK 0x00000002
2909#define ALT_RSTMGR_MISCMODRST_OCRAM_CLR_MSK 0xfffffffd
2911#define ALT_RSTMGR_MISCMODRST_OCRAM_RESET 0x0
2913#define ALT_RSTMGR_MISCMODRST_OCRAM_GET(value) (((value) & 0x00000002) >> 1)
2915#define ALT_RSTMGR_MISCMODRST_OCRAM_SET(value) (((value) << 1) & 0x00000002)
2927#define ALT_RSTMGR_MISCMODRST_SYSMGR_LSB 2
2929#define ALT_RSTMGR_MISCMODRST_SYSMGR_MSB 2
2931#define ALT_RSTMGR_MISCMODRST_SYSMGR_WIDTH 1
2933#define ALT_RSTMGR_MISCMODRST_SYSMGR_SET_MSK 0x00000004
2935#define ALT_RSTMGR_MISCMODRST_SYSMGR_CLR_MSK 0xfffffffb
2937#define ALT_RSTMGR_MISCMODRST_SYSMGR_RESET 0x0
2939#define ALT_RSTMGR_MISCMODRST_SYSMGR_GET(value) (((value) & 0x00000004) >> 2)
2941#define ALT_RSTMGR_MISCMODRST_SYSMGR_SET(value) (((value) << 2) & 0x00000004)
2953#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_LSB 3
2955#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_MSB 3
2957#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_WIDTH 1
2959#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_SET_MSK 0x00000008
2961#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_CLR_MSK 0xfffffff7
2963#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_RESET 0x0
2965#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_GET(value) (((value) & 0x00000008) >> 3)
2967#define ALT_RSTMGR_MISCMODRST_SYSMGRCOLD_SET(value) (((value) << 3) & 0x00000008)
2978#define ALT_RSTMGR_MISCMODRST_FPGAMGR_LSB 4
2980#define ALT_RSTMGR_MISCMODRST_FPGAMGR_MSB 4
2982#define ALT_RSTMGR_MISCMODRST_FPGAMGR_WIDTH 1
2984#define ALT_RSTMGR_MISCMODRST_FPGAMGR_SET_MSK 0x00000010
2986#define ALT_RSTMGR_MISCMODRST_FPGAMGR_CLR_MSK 0xffffffef
2988#define ALT_RSTMGR_MISCMODRST_FPGAMGR_RESET 0x0
2990#define ALT_RSTMGR_MISCMODRST_FPGAMGR_GET(value) (((value) & 0x00000010) >> 4)
2992#define ALT_RSTMGR_MISCMODRST_FPGAMGR_SET(value) (((value) << 4) & 0x00000010)
3003#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_LSB 5
3005#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_MSB 5
3007#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_WIDTH 1
3009#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_SET_MSK 0x00000020
3011#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_CLR_MSK 0xffffffdf
3013#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_RESET 0x0
3015#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_GET(value) (((value) & 0x00000020) >> 5)
3017#define ALT_RSTMGR_MISCMODRST_ACPIDMAP_SET(value) (((value) << 5) & 0x00000020)
3029#define ALT_RSTMGR_MISCMODRST_S2F_LSB 6
3031#define ALT_RSTMGR_MISCMODRST_S2F_MSB 6
3033#define ALT_RSTMGR_MISCMODRST_S2F_WIDTH 1
3035#define ALT_RSTMGR_MISCMODRST_S2F_SET_MSK 0x00000040
3037#define ALT_RSTMGR_MISCMODRST_S2F_CLR_MSK 0xffffffbf
3039#define ALT_RSTMGR_MISCMODRST_S2F_RESET 0x0
3041#define ALT_RSTMGR_MISCMODRST_S2F_GET(value) (((value) & 0x00000040) >> 6)
3043#define ALT_RSTMGR_MISCMODRST_S2F_SET(value) (((value) << 6) & 0x00000040)
3055#define ALT_RSTMGR_MISCMODRST_S2FCOLD_LSB 7
3057#define ALT_RSTMGR_MISCMODRST_S2FCOLD_MSB 7
3059#define ALT_RSTMGR_MISCMODRST_S2FCOLD_WIDTH 1
3061#define ALT_RSTMGR_MISCMODRST_S2FCOLD_SET_MSK 0x00000080
3063#define ALT_RSTMGR_MISCMODRST_S2FCOLD_CLR_MSK 0xffffff7f
3065#define ALT_RSTMGR_MISCMODRST_S2FCOLD_RESET 0x0
3067#define ALT_RSTMGR_MISCMODRST_S2FCOLD_GET(value) (((value) & 0x00000080) >> 7)
3069#define ALT_RSTMGR_MISCMODRST_S2FCOLD_SET(value) (((value) << 7) & 0x00000080)
3080#define ALT_RSTMGR_MISCMODRST_NRSTPIN_LSB 8
3082#define ALT_RSTMGR_MISCMODRST_NRSTPIN_MSB 8
3084#define ALT_RSTMGR_MISCMODRST_NRSTPIN_WIDTH 1
3086#define ALT_RSTMGR_MISCMODRST_NRSTPIN_SET_MSK 0x00000100
3088#define ALT_RSTMGR_MISCMODRST_NRSTPIN_CLR_MSK 0xfffffeff
3090#define ALT_RSTMGR_MISCMODRST_NRSTPIN_RESET 0x0
3092#define ALT_RSTMGR_MISCMODRST_NRSTPIN_GET(value) (((value) & 0x00000100) >> 8)
3094#define ALT_RSTMGR_MISCMODRST_NRSTPIN_SET(value) (((value) << 8) & 0x00000100)
3105#define ALT_RSTMGR_MISCMODRST_TSCOLD_LSB 9
3107#define ALT_RSTMGR_MISCMODRST_TSCOLD_MSB 9
3109#define ALT_RSTMGR_MISCMODRST_TSCOLD_WIDTH 1
3111#define ALT_RSTMGR_MISCMODRST_TSCOLD_SET_MSK 0x00000200
3113#define ALT_RSTMGR_MISCMODRST_TSCOLD_CLR_MSK 0xfffffdff
3115#define ALT_RSTMGR_MISCMODRST_TSCOLD_RESET 0x0
3117#define ALT_RSTMGR_MISCMODRST_TSCOLD_GET(value) (((value) & 0x00000200) >> 9)
3119#define ALT_RSTMGR_MISCMODRST_TSCOLD_SET(value) (((value) << 9) & 0x00000200)
3130#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_LSB 10
3132#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_MSB 10
3134#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_WIDTH 1
3136#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_SET_MSK 0x00000400
3138#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_CLR_MSK 0xfffffbff
3140#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_RESET 0x0
3142#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_GET(value) (((value) & 0x00000400) >> 10)
3144#define ALT_RSTMGR_MISCMODRST_CLKMGRCOLD_SET(value) (((value) << 10) & 0x00000400)
3155#define ALT_RSTMGR_MISCMODRST_SCANMGR_LSB 11
3157#define ALT_RSTMGR_MISCMODRST_SCANMGR_MSB 11
3159#define ALT_RSTMGR_MISCMODRST_SCANMGR_WIDTH 1
3161#define ALT_RSTMGR_MISCMODRST_SCANMGR_SET_MSK 0x00000800
3163#define ALT_RSTMGR_MISCMODRST_SCANMGR_CLR_MSK 0xfffff7ff
3165#define ALT_RSTMGR_MISCMODRST_SCANMGR_RESET 0x0
3167#define ALT_RSTMGR_MISCMODRST_SCANMGR_GET(value) (((value) & 0x00000800) >> 11)
3169#define ALT_RSTMGR_MISCMODRST_SCANMGR_SET(value) (((value) << 11) & 0x00000800)
3180#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_LSB 12
3182#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_MSB 12
3184#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_WIDTH 1
3186#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_SET_MSK 0x00001000
3188#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_CLR_MSK 0xffffefff
3190#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_RESET 0x0
3192#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_GET(value) (((value) & 0x00001000) >> 12)
3194#define ALT_RSTMGR_MISCMODRST_FRZCTLCOLD_SET(value) (((value) << 12) & 0x00001000)
3205#define ALT_RSTMGR_MISCMODRST_SYSDBG_LSB 13
3207#define ALT_RSTMGR_MISCMODRST_SYSDBG_MSB 13
3209#define ALT_RSTMGR_MISCMODRST_SYSDBG_WIDTH 1
3211#define ALT_RSTMGR_MISCMODRST_SYSDBG_SET_MSK 0x00002000
3213#define ALT_RSTMGR_MISCMODRST_SYSDBG_CLR_MSK 0xffffdfff
3215#define ALT_RSTMGR_MISCMODRST_SYSDBG_RESET 0x0
3217#define ALT_RSTMGR_MISCMODRST_SYSDBG_GET(value) (((value) & 0x00002000) >> 13)
3219#define ALT_RSTMGR_MISCMODRST_SYSDBG_SET(value) (((value) << 13) & 0x00002000)
3230#define ALT_RSTMGR_MISCMODRST_DBG_LSB 14
3232#define ALT_RSTMGR_MISCMODRST_DBG_MSB 14
3234#define ALT_RSTMGR_MISCMODRST_DBG_WIDTH 1
3236#define ALT_RSTMGR_MISCMODRST_DBG_SET_MSK 0x00004000
3238#define ALT_RSTMGR_MISCMODRST_DBG_CLR_MSK 0xffffbfff
3240#define ALT_RSTMGR_MISCMODRST_DBG_RESET 0x0
3242#define ALT_RSTMGR_MISCMODRST_DBG_GET(value) (((value) & 0x00004000) >> 14)
3244#define ALT_RSTMGR_MISCMODRST_DBG_SET(value) (((value) << 14) & 0x00004000)
3256#define ALT_RSTMGR_MISCMODRST_TAPCOLD_LSB 15
3258#define ALT_RSTMGR_MISCMODRST_TAPCOLD_MSB 15
3260#define ALT_RSTMGR_MISCMODRST_TAPCOLD_WIDTH 1
3262#define ALT_RSTMGR_MISCMODRST_TAPCOLD_SET_MSK 0x00008000
3264#define ALT_RSTMGR_MISCMODRST_TAPCOLD_CLR_MSK 0xffff7fff
3266#define ALT_RSTMGR_MISCMODRST_TAPCOLD_RESET 0x0
3268#define ALT_RSTMGR_MISCMODRST_TAPCOLD_GET(value) (((value) & 0x00008000) >> 15)
3270#define ALT_RSTMGR_MISCMODRST_TAPCOLD_SET(value) (((value) << 15) & 0x00008000)
3281#define ALT_RSTMGR_MISCMODRST_SDRCOLD_LSB 16
3283#define ALT_RSTMGR_MISCMODRST_SDRCOLD_MSB 16
3285#define ALT_RSTMGR_MISCMODRST_SDRCOLD_WIDTH 1
3287#define ALT_RSTMGR_MISCMODRST_SDRCOLD_SET_MSK 0x00010000
3289#define ALT_RSTMGR_MISCMODRST_SDRCOLD_CLR_MSK 0xfffeffff
3291#define ALT_RSTMGR_MISCMODRST_SDRCOLD_RESET 0x0
3293#define ALT_RSTMGR_MISCMODRST_SDRCOLD_GET(value) (((value) & 0x00010000) >> 16)
3295#define ALT_RSTMGR_MISCMODRST_SDRCOLD_SET(value) (((value) << 16) & 0x00010000)
3312 uint32_t sysmgr : 1;
3313 uint32_t sysmgrcold : 1;
3314 uint32_t fpgamgr : 1;
3315 uint32_t acpidmap : 1;
3317 uint32_t s2fcold : 1;
3318 uint32_t nrstpin : 1;
3319 uint32_t timestampcold : 1;
3320 uint32_t clkmgrcold : 1;
3321 uint32_t scanmgr : 1;
3322 uint32_t frzctrlcold : 1;
3323 uint32_t sysdbg : 1;
3325 uint32_t tapcold : 1;
3326 uint32_t sdrcold : 1;
3335#define ALT_RSTMGR_MISCMODRST_OFST 0x20
3353 volatile uint32_t _pad_0xc_0xf;
3359 volatile uint32_t _pad_0x24_0x100[55];
3367 volatile uint32_t stat;
3368 volatile uint32_t ctrl;
3369 volatile uint32_t counts;
3370 volatile uint32_t _pad_0xc_0xf;
3371 volatile uint32_t mpumodrst;
3372 volatile uint32_t permodrst;
3373 volatile uint32_t per2modrst;
3374 volatile uint32_t brgmodrst;
3375 volatile uint32_t miscmodrst;
3376 volatile uint32_t _pad_0x24_0x100[55];
Definition: alt_rstmgr.h:2812
Definition: alt_rstmgr.h:1336
Definition: alt_rstmgr.h:1219
Definition: alt_rstmgr.h:3309
Definition: alt_rstmgr.h:1535
Definition: alt_rstmgr.h:2674
Definition: alt_rstmgr.h:2376
Definition: alt_rstmgr.h:605
Definition: alt_rstmgr.h:3366
Definition: alt_rstmgr.h:3349