regs-resetc.h 552 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * PKUnity Reset Controller (RC) Registers
  3. */
  4. /*
  5. * Software Reset Register
  6. */
  7. #define RESETC_SWRR (PKUNITY_RESETC_BASE + 0x0000)
  8. /*
  9. * Reset Status Register
  10. */
  11. #define RESETC_RSSR (PKUNITY_RESETC_BASE + 0x0004)
  12. /*
  13. * Software Reset Bit
  14. */
  15. #define RESETC_SWRR_SRB FIELD(1, 1, 0)
  16. /*
  17. * Hardware Reset
  18. */
  19. #define RESETC_RSSR_HWR FIELD(1, 1, 0)
  20. /*
  21. * Software Reset
  22. */
  23. #define RESETC_RSSR_SWR FIELD(1, 1, 1)
  24. /*
  25. * Watchdog Reset
  26. */
  27. #define RESETC_RSSR_WDR FIELD(1, 1, 2)
  28. /*
  29. * Sleep Mode Reset
  30. */
  31. #define RESETC_RSSR_SMR FIELD(1, 1, 3)