
Chapter 3
3.2.3 R5 (Interrupt Control Register)
The INTC (Interrupt Control Register) is used to enable/disable the interrupt
function and interrupt status flag. See Section 3.8,
Timer Control
for more
detailed description.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
ENI
- - -
MIE
TCIE
MIF
TCIF
Bit
Description
Bit 0 (TCIF)
TCC timer overflow interrupt flag. It is set when TCC timer overflow, and
should be cleared by program before returning from interrupt.
TCIF=0: Without TCC timer interrupt request
TCIF=1: With TCC timer interrupt request
Bit 1 (MIF)
MTC (melody timer) interrupt flag. It is set when melody timer overflows,
and should be cleared by program before returning from interrupt.
MIF=0: Without MTC timer interrupt request
MIF=1: With MTC timer interrupt request
Bit 2 (TCIE)
TCC interrupt enable bit
TCIE=0: Disable TCC timer interrupt
TCIE=1: Enable TCC timer interrupt
Bit 3 (MIE)
MTC (melody timer) interrupt enable bit
MIE=0: Disable MTC timer interrupt
MIE=1: Enable MTC timer interrupt
Bit 7 (ENI)
Global interrupt enable bit (includes speech timer interrupts)
ENI=0
:
Disable all the interrupts even if the TCC, MTC, or speech
interrupt is enabled
ENI=1
:
All the interrupts are determined by their control bits, such as
TCIE, MIE, or SENT (speech timer interrupt control bit)
Bits 4, 5, & 6
Unused.
NOTE
1. Interrupt flags (Bits 0 & 1) cannot be set by programming.
2. The reset initial value of Bits 0 ~ 3 is “0.” The reset initial value of Bit 7 is “1”.
3. Bits 4 ~ 6 are not used. Writing data into these bits is invalid and the read value from
these bits is unknown.
EM60000 Series User’s Manual
System Control
•
19
Содержание EM60000 series
Страница 8: ...Contents viii Contents EM60000 Series User s Manual ...
Страница 24: ...Chapter 2 16 Architecture EM60000 Series User s Manual ...
Страница 54: ...Chapter 4 46 Special Function Control EM60000Series User s Manual ...
Страница 80: ...Chapter 5 72 Instruction Set EM60000Series User s Manual ...