Chapter 5 Resets, Interrupts, and General System Control

 

 

Table 5-8. SPMSC1 Register Field Descriptions

 

 

 

Field

 

Description

 

 

7

Low-Voltage Detect Flag. If LVDE is set, this read-only status bit indicates a low-voltage detect event.

LVDF

 

 

 

 

6

Low-Voltage Detect Acknowledge. This write-only bit is used to acknowledge low voltage detection errors (write

LVDACK

1 to clear LVDF). Reads always return 0.

 

 

5

Low-Voltage Detect Interrupt Enable. This bit enables hardware interrupt requests for LVDF.

LVDIE

0

Hardware interrupt disabled (use polling).

 

1

Request a hardware interrupt when LVDF is set.

 

 

4

Low-Voltage Detect Reset Enable. This write-once bit enables LVDF events to generate a hardware reset

LVDRE

(provided LVDE = 1).

 

0

LVDF does not generate hardware resets.

 

1

Force an MCU reset when LVDF is set.

 

 

3

Low-Voltage Detect Stop Enable. If LVDE is set, this read/write bit determines whether the low-voltage detect

LVDSE

function operates when the MCU is in stop mode.

 

0

Low-voltage detect disabled during stop mode.

 

1

Low-voltage detect enabled during stop mode.

 

 

2

Low-Voltage Detect Enable. This write-once bit enables low-voltage detect logic and qualifies the operation of

LVDE

other bits in this register.

 

0

LVD logic disabled.

 

1

LVD logic enabled.

 

 

1

Reserved, must be cleared.

 

 

0

Bandgap Buffer Enable. This bit enables an internal buffer for the bandgap voltage reference for use by the ADC

BGBE

module on one of its internal channels or as a voltage reference for ACMP module.

 

0

Bandgap buffer disabled.

 

1

Bandgap buffer enabled.

 

 

 

5.7.7System Power Management Status and Control 2 Register (SPMSC2)

This high page register contains status and control bits to configure the low-power run and wait modes as well as configure the stop mode behavior of the MCU. See Section 3.7.2, “Low-Power Wait Mode (LPwait),” and Section 3.8, “Stop Modes,” for more information.

7

6

5

4

3

2

1

0

R

LPR

LPRS

LPWUI

0

PPDF

0

PPDE1

PPDC

 

 

 

 

 

W

 

 

 

PPDACK

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset:

0

0

0

0

0

0

1

0

 

 

 

 

 

 

 

 

 

1PPDE is a write-once bit that can be used to permanently disable the PPDC bit.

Figure 5-8. System Power Management Status and Control 2 Register (SPMSC2)

SPMSC2 is not reset when exiting from stop2.

MCF51QE128 MCU Series Reference Manual, Rev. 3

104

Freescale Semiconductor

Get the latest version from freescale.com

Page 104
Image 104
Freescale Semiconductor MCF51QE128RM manual SPMSC1 Register Field Descriptions, LPR Lprs Lpwui Ppde Ppdc Ppdack