Megawin Technology Co., Ltd.
MG87FE/L52
TCON
Name
TCON
Bit7
TF1
Bit6
TR1
Bit5
TF0
Bit4
TR0
Bit3
IE1
Bit2
IT1
Bit1
IE0
Bit0
IT0
Timer1 overflow flag. Set by hardware when Timer/Counter overflows. Cleared by
hardware when the MCU vectors to the interrupt routine, or clearing the bit in
software.
TF1
TR1
TF0
Timer1 run control bit. It could be set or cleared by software.
Timer0 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by
hardware when the processor vectors to the interrupt routine, or clearing the bit in
software.
TR0
IE1
Timer0 run control bits. It could be set or cleared by software.
Interrupt-1 edge flag. Set by hardware when external interrupt edge detected. It will
be cleared when interrupt was processed.
Interrupt-1 type control bit. Set/Cleared by software to specified falling edge & low
level triggered interrupt.
IT1
IE0
IT0
Interrupt-0 edge flag. Set by hardware when external interrupt edge detected. And
cleared when interrupt processed.
Interrupt 0 type control bit. Set/Cleared by software to specified falling edge/low level
triggered interrupt.
16
Preliminary ver 1.3
Date: 2009-JAN-20