Motorola MC68VZ328 User Manual

Page 168

Advertising
background image

9-18

MC68VZ328 User’s Manual

Programming Model

INT2
Bit 10

External INT2 Interrupt—This bit, when set, indicates that a level 4
interrupt has occurred. It is usually for a keyboard interface. When it
is programmed as edge-triggered, it can only be cleared by writing a
1 to the port D register. See Section 10.4.5, “Port D Registers,” on
page 10-16
for details.

0 = No INT2 interrupt is

pending.

1 = An INT2 interrupt is

pending.

INT1
Bit 9

External INT1 Interrupt—This bit, when set, indicates that a level 4
interrupt has occurred. It is usually for a keyboard interface. When it
is programmed as edge-triggered, it can only be cleared by writing a
1 to the port D register. See Section 10.4.5, “Port D Registers,” on
page 10-16
for details.

0 = No INT1 interrupt is

pending.

1 = An INT1 interrupt is

pending.

INT0
Bit 8

External INT0 Interrupt—This bit, when set, indicates that a level 4
interrupt has occurred. It is usually for a keyboard interface. When it
is programmed as edge-triggered, it can only be cleared by writing a
1 to the port D register. See Section 10.4.5, “Port D Registers,” on
page 10-16
for details.

0 = No INT0 interrupt is

pending.

1 = An INT0 interrupt is

pending.

PWM1
Bit 7

Pulse-Width Modulator (PWM 1) Interrupt—This bit, when set,
indicates that there is a level 6 interrupt event from PWM unit 1
pending.

0 = No PWM 1interrupt.
1 = A PWM 1 interrupt is

pending.

KB
Bit 6

Keyboard Interrupt Request—This bit, when set, indicates that
there is a level 4 interrupt event from a keyboard pending.

0 = No keyboard interrupt is

pending.

1 = A keyboard interrupt is

pending.

TMR2
Bit 5

Timer 2 Interrupt Pending—This bit indicates that a timer 2 event
has occurred. This is a level 4 interrupt.

0 = No timer 2 event

occurred.

1 = A timer 2 event has

occurred.

RTC
Bit 4

Real-Time Clock Interrupt Request—This bit, when set, indicates
that there is a level 4 interrupt event from the real-time clock that is
pending.

0 = No real-time clock

interrupt is pending.

1 = A real-time clock interrupt

is pending.

WDT
Bit 3

Watchdog Timer Interrupt Request—This bit indicates that a
watchdog timer interrupt is pending. This is a level 4 interrupt.

0 = No watchdog timer

interrupt is pending.

1 = A watchdog timer

interrupt is pending.

UART1
Bit 2

UART 1 Interrupt Request—When this bit is set, it indicates that the
UART 1 module needs service. This is a level 4 interrupt.

0 = No UART 1 service

request is pending.

1 = UART 1 service is

needed.

TMR1
Bit 1

Timer 1 Interrupt Pending—This bit indicates that a timer 1 event
has occurred. This is a level 6 interrupt.

0 = No timer 1 event

occurred.

1 = A timer 1 event has

occurred.

SPI2
Bit 0

SPI Unit 2 Interrupt Pending—When set, this bit indicates an inter-
rupt event from SPI unit 2.

0 = No SPI 2 interrupt is

pending.

1 = An SPI 2 interrupt is

pending.

Table 9-7. Interrupt Pending Register Description (Continued)

Name

Description

Settings

Advertising