01.04.2014 Views

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

Preliminary C8051F120/1/2/3 C8051F124/5/6/7 - KEMT FEI TUKE

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Preliminary</strong><br />

<strong>C8051F120</strong>/1/2/3<br />

<strong>C8051F124</strong>/5/6/7<br />

12.7.5. Interrupt Register Descriptions<br />

The SFRs used to enable the interrupt sources and set their priority level are described below. Refer to the datasheet<br />

section associated with a particular on-chip peripheral for information regarding valid interrupt conditions for the<br />

peripheral and the behavior of its interrupt-pending flag(s).<br />

Figure 12.21. IE: Interrupt Enable<br />

Bit7: EA: Enable All Interrupts.<br />

This bit globally enables/disables all interrupts. It overrides the individual interrupt mask settings.<br />

0: Disable all interrupt sources.<br />

1: Enable each interrupt according to its individual mask setting.<br />

Bit6: IEGF0: General Purpose Flag 0.<br />

This is a general purpose flag for use under software control.<br />

Bit5: ET2: Enabler Timer 2 Interrupt.<br />

This bit sets the masking of the Timer 2 interrupt.<br />

0: Disable Timer 2 interrupt.<br />

1: Enable Timer 2 interrupt.<br />

Bit4: ES0: Enable UART0 Interrupt.<br />

This bit sets the masking of the UART0 interrupt.<br />

0: Disable UART0 interrupt.<br />

Bit3:<br />

1: Enable UART0 interrupt.<br />

ET1: Enable Timer 1 Interrupt.<br />

This bit sets the masking of the Timer 1 interrupt.<br />

0: Disable Timer 1 interrupt.<br />

1: Enable Timer 1 interrupt.<br />

Bit2: EX1: Enable External Interrupt 1.<br />

This bit sets the masking of External Interrupt 1.<br />

0: Disable External Interrupt 1.<br />

1: Enable External Interrupt 1.<br />

Bit1:<br />

R/W R/W R/W R/W R/W R/W R/W R/W Reset Value<br />

EA IEGF0 ET2 ES0 ET1 EX1 ET0 EX0 00000000<br />

Bit<br />

Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0<br />

Addressable<br />

SFR Address: 0xA8<br />

SFR Page: All Pages<br />

ET0: Enable Timer 0 Interrupt.<br />

This bit sets the masking of the Timer 0 interrupt.<br />

0: Disable Timer 0 interrupts.<br />

1: Enable Timer 0 interrupts.<br />

Bit0: EX0: Enable External Interrupt 0.<br />

This bit sets the masking of External Interrupt 0.<br />

0: Disable External Interrupt 0.<br />

1: Enable External Interrupt 0.<br />

© 2002 Cygnal Integrated Products, Inc. DS008-0.8-AUG02 Page 147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!