2 reset controller status register – Rainbow Electronics AT91CAP9S250A User Manual

Page 97

Advertising
background image

97

6264A–CAP–21-May-07

AT91CAP9S500A/AT91CAP9S250A

15.4.2

Reset Controller Status Register

Register Name:

RSTC_SR

Access Type:

Read-only

• URSTS: User Reset Status

0 = No high-to-low edge on NRST happened since the last read of RSTC_SR.

1 = At least one high-to-low transition of NRST has been detected since the last read of RSTC_SR.

• RSTTYP: Reset Type

Reports the cause of the last processor reset. Reading this RSTC_SR does not reset this field.

• NRSTL: NRST Pin Level

Registers the NRST Pin Level at Master Clock (MCK).

• SRCMP: Software Reset Command in Progress

0 = No software command is being performed by the reset controller. The reset controller is ready for a software command.

1 = A software reset command is being performed by the reset controller. The reset controller is busy.

31

30

29

28

27

26

25

24

–

–

–

–

–

–

–

–

23

22

21

20

19

18

17

16

–

–

–

–

–

–

SRCMP

NRSTL

15

14

13

12

11

10

9

8

–

–

–

–

–

RSTTYP

7

6

5

4

3

2

1

0

–

–

–

–

–

–

–

URSTS

RSTTYP

Reset Type

Comments

0

0

0

General Reset

Both VDDCORE and VDDBU rising

0

0

1

Wake Up Reset

VDDCORE rising

0

1

0

Watchdog Reset

Watchdog fault occurred

0

1

1

Software Reset

Processor reset required by the software

1

0

0

User Reset

NRST pin detected low

Advertising