This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
2011-02-26 12:08:36 +00:00
|
|
|
/*
|
|
|
|
* PKUnity Reset Controller (RC) Registers
|
|
|
|
*/
|
|
|
|
/*
|
|
|
|
* Software Reset Register
|
|
|
|
*/
|
2011-03-04 10:07:48 +00:00
|
|
|
#define RESETC_SWRR (PKUNITY_RESETC_BASE + 0x0000)
|
2011-02-26 12:08:36 +00:00
|
|
|
/*
|
|
|
|
* Reset Status Register
|
|
|
|
*/
|
2011-03-04 10:07:48 +00:00
|
|
|
#define RESETC_RSSR (PKUNITY_RESETC_BASE + 0x0004)
|
2011-02-26 12:08:36 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Software Reset Bit
|
|
|
|
*/
|
|
|
|
#define RESETC_SWRR_SRB FIELD(1, 1, 0)
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Hardware Reset
|
|
|
|
*/
|
|
|
|
#define RESETC_RSSR_HWR FIELD(1, 1, 0)
|
|
|
|
/*
|
|
|
|
* Software Reset
|
|
|
|
*/
|
|
|
|
#define RESETC_RSSR_SWR FIELD(1, 1, 1)
|
|
|
|
/*
|
|
|
|
* Watchdog Reset
|
|
|
|
*/
|
|
|
|
#define RESETC_RSSR_WDR FIELD(1, 1, 2)
|
|
|
|
/*
|
|
|
|
* Sleep Mode Reset
|
|
|
|
*/
|
|
|
|
#define RESETC_RSSR_SMR FIELD(1, 1, 3)
|
|
|
|
|