beautypg.com

Rainbow Electronics AT89LP216 User Manual

Page 30

background image

30

3621A–MICRO–6/06

AT89LP216 [Preliminary]

.

Table 14-1.

TCON

– Timer/Counter Control Register

TCON = 88H

Reset Value = 0000 0000B

Bit Addressable

TF1

TR1

TF0

TR0

IE1

IT1

IE0

IT0

Bit

7

6

5

4

3

2

1

0

Symbol

Function

TF1

Timer 1 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when the processor vectors
to interrupt routine.

TR1

Timer 1 run control bit. Set/cleared by software to turn Timer/Counter on/off.

TF0

Timer 0 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when the processor vectors
to interrupt routine.

TR0

Timer 0 run control bit. Set/cleared by software to turn Timer/Counter on/off.

IE1

Interrupt 1 edge flag. Set by hardware when external interrupt edge detected. Cleared when interrupt processed.

IT1

Interrupt 1 type control bit. Set/cleared by software to specify falling edge/low level triggered external interrupts.

IE0

Interrupt 0 edge flag. Set by hardware when external interrupt edge detected. Cleared when interrupt processed.

IT0

Interrupt 0 type control bit. Set/cleared by software to specify falling edge/low level triggered external interrupts.