Texas Instruments MSP430x1xx User Manual

Page 120

Advertising
background image

Basic Clock Module Control Registers

7-20

7.5.3

Special-Function Register Bits

The Basic Clock Module affects two bits in the special-function registers
OFIFG and OFIE. The oscillator fault-interrupt enable bit (OFIE) is located in
bit 1 of the interrupt-enable register IE1. The oscillator fault-interrupt flag bit
(OFIFG) is located in bit 1 of the interrupt-flag register IFG1.

IE1

7

6

5

4

3

2

1

0

00h

OFIE

rw–0

IFG1

7

6

5

4

3

2

1

0

02h

OFIFG

rw–1

The oscillator fault signal XT_OscFault sets the OFIFG as long as the oscillator
fault condition is active. The detection and effect of the oscillator fault condition
is described in section 7.4.1. The oscillator fault interrupt requests a nonmask-
able interrupt if the OFIE bit is set. The oscillator interrupt-enable bit is reset
automatically if a non-maskable interrupt is accepted. The initial state of the
OFIE bit is reset and no oscillator fault requests an interrupt even if a fault
condition occurs.

Advertising