Reset Status Register (Rsr) - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

Memory Map and Registers
Bit(s)
Name
4
LVDF
3
LVDIE
2
LVDRE
1
0
LVDE

28.4.2 Reset Status Register (RSR)

The RSR contains a status bit for every reset source. When reset is entered, the cause of the
reset condition is latched along with a value of 0 for the other reset sources that were not
pending at the time of the reset condition. These values are then reflected in RSR. One or
more status bits may be set at the same time. The cause of any subsequent reset is also
recorded in the register, overwriting status from the previous reset condition.
RSR can be read at any time. Writing to RSR has no effect.
Field
Reset
R/W
Address
28-4
Table 28-3. RCR Field Descriptions (continued)
LVD flag. Indicates the low-voltage detect status if LVDE is set. Write a 1 to clear the LVDF bit.
1 Low voltage has been detected
0 Low voltage has not been detected
NOTE: The setting of this flag causes an LVD interrupt if LVDE and LVDIE bits are set and
LVDRE is cleared when the supply voltage V
this interrupt is shared with INT0 of the EPORT module. Interrupt arbitration in the interrupt
service routine is necessary if both of these interrupts are enabled. Also, LVDF is not cleared
at reset, however it will always initialize to a zero since the part will not come out of reset while
in a low-power state (LVDE/LVDRE bits are enabled out of reset).
LVD interrupt enable. Controls the LVD interrupt if LVDE is set. This bit has no effect if the
LVDE bit is a logic 0.
1 LVD interrupt enabled
0 LVD interrupt disabled
LVD reset enable. Controls the LVD reset if LVDE is set. This bit has no effect if the LVDE bit
is a logic 0. LVD reset has priority over LVD interrupt, if both are enabled.
1 LVD reset enabled
0 LVD reset disabled
Reserved, should be cleared.
Controls whether the LVD is enabled.
1 LVD is enabled
0 LVD is disabled
7
6
5
LVD
SOFT
IPSBAR + 0x11_0001
Figure 28-3. Reset Status Register (RSR)
MCF5282 User's Manual
Description
drops below V
DD
4
3
2
WDR
POR
EXT
Reset Dependent
R
(minimum). The vector for
DD
1
0
LOC
LOL
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents