Texas Instruments MSP430x1xx User Manual

Page 430

Advertising
background image

Flash Memory, Interrupt and Security Key Violation

C-18

EMEX

012Ch, bit5,

Emergency exit. The emergency exit should only be used when a flash
memory write or erase operation is out-of-control.

0:

No function.

0:

Stops the active operation immediately and shuts down all internal
parts of the flash memory controller. Current consumption
immediately drops back to the active mode. All bits in control
register FCTL1 are reset. Since the EMEX bit is automatically reset
by hardware, the software always reads EMEX as 0.

C.4 Flash Memory, Interrupt and Security Key Violation

One NMI vector is used for three non-maskable interrupt (NMI) events, RST/
NMI, oscillator fault (OFIFG), and flash-access violation (ACCVIFG). The soft-
ware can determine the source of the interrupt request by testing interrupt
flags NMIIFG, OFIFG, and ACCVIFG. They remain set until reset by software.

Advertising